MLK-12706-2 net: bcmdhd: set the bcmdhd driver default build in
Bcmdhd wifi driver default build as module, now default build in this wifi driver. To support this build in feature, this patch add flag ENABLE_INSMOD_NO_FW_LOAD, and use extern function sdio_reset_comm() as instead. Signed-off-by: Haibo Chen <haibo.chen@nxp.com>wifi-calibration
parent
d60d208e53
commit
b361e5df9d
|
@ -20,6 +20,8 @@ DHDCFLAGS += -DWL_CFG80211
|
|||
# Print out kernel panic point of file and line info when assertion happened
|
||||
DHDCFLAGS += -DBCMASSERT_LOG
|
||||
|
||||
DHDCFLAGS += -DENABLE_INSMOD_NO_FW_LOAD
|
||||
|
||||
# keepalive
|
||||
DHDCFLAGS += -DCUSTOM_KEEP_ALIVE_SETTING=28000
|
||||
|
||||
|
@ -94,7 +96,7 @@ DHDCFLAGS += -DWL_IFACE_COMB_NUM_CHANNELS
|
|||
# m: module type driver
|
||||
# y: built-in type driver
|
||||
##########################
|
||||
DRIVER_TYPE ?= m
|
||||
DRIVER_TYPE ?= y
|
||||
|
||||
#########################
|
||||
# Chip dependent feature
|
||||
|
|
|
@ -59,12 +59,7 @@ static void IRQHandler(struct sdio_func *func);
|
|||
static void IRQHandlerF2(struct sdio_func *func);
|
||||
#endif /* !defined(OOB_INTR_ONLY) */
|
||||
static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, uint32 regaddr);
|
||||
|
||||
/* workaround to simply return 0 as suggested by Broadcom */
|
||||
static int sdio_reset_comm(struct mmc_card *card)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
extern int sdio_reset_comm(struct mmc_card *card);
|
||||
|
||||
#define DEFAULT_SDIO_F2_BLKSIZE 512
|
||||
#ifndef CUSTOM_SDIO_F2_BLKSIZE
|
||||
|
|
Loading…
Reference in New Issue