From: xbw Date: Tue, 11 Dec 2012 09:27:52 +0000 (+0800) Subject: RK2928SDK use rk903-wifi X-Git-Tag: firefly_0821_release~8114 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=687fe396a33124dfc419d9ad704dfcfaa989658b;p=firefly-linux-kernel-4.4.55.git RK2928SDK use rk903-wifi delete the compile error when use RK903-wifi, due to define the pin-iomux-name error. --- diff --git a/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c b/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c index 10d5c7658e01..73f6a6c41085 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c +++ b/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c @@ -372,19 +372,20 @@ #define RK30SDK_WIFI_GPIO_RESET_N RK2928_PIN3_PC2 #define RK30SDK_WIFI_GPIO_RESET_ENABLE_VALUE GPIO_HIGH - #define RK30SDK_WIFI_GPIO_RESET_PIN_NAME GPIO3C2_SDMMC1DATA1_NAME - #define RK30SDK_WIFI_GPIO_RESET_IOMUX_FGPIO GPIO3C_GPIO3C2 + //You need not define the pin-iomux-name due to the pin only used gpio. + //#define RK30SDK_WIFI_GPIO_RESET_PIN_NAME GPIO3C2_SDMMC1DATA1_NAME + //#define RK30SDK_WIFI_GPIO_RESET_IOMUX_FGPIO GPIO3C_GPIO3C2 #elif defined(CONFIG_RDA5990) - #define RK30SDK_WIFI_GPIO_POWER_N RK2928_PIN0_PD6 + #define RK30SDK_WIFI_GPIO_POWER_N INVALID_GPIO//RK2928_PIN0_PD6 #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_HIGH - #define RK30SDK_WIFI_GPIO_POWER_PIN_NAME GPIO0D6_MMC1_PWREN_NAME - #define RK30SDK_WIFI_GPIO_POWER_IOMUX_FGPIO GPIO0D_GPIO0D6 + //#define RK30SDK_WIFI_GPIO_POWER_PIN_NAME GPIO0B6_MMC1_PWREN_NAME + //#define RK30SDK_WIFI_GPIO_POWER_IOMUX_FGPIO GPIO0B_GPIO0B6 - #define RK30SDK_WIFI_GPIO_RESET_N RK2928_PIN3_PC2 + #define RK30SDK_WIFI_GPIO_RESET_N INVALID_GPIO//RK2928_PIN3_PC2 #define RK30SDK_WIFI_GPIO_RESET_ENABLE_VALUE GPIO_HIGH - #define RK30SDK_WIFI_GPIO_RESET_PIN_NAME GPIO3C2_SDMMC1DATA1_NAME - #define RK30SDK_WIFI_GPIO_RESET_IOMUX_FGPIO GPIO3C_GPIO3C2 + //#define RK30SDK_WIFI_GPIO_RESET_PIN_NAME GPIO3C2_SDMMC1DATA1_NAME + //#define RK30SDK_WIFI_GPIO_RESET_IOMUX_FGPIO GPIO3C_GPIO3C2 #elif defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU)