@@ -45,4 +45,4 @@ define include-board-configs
)
endef
-$(call include-board-configs, wifi/qcom graphics/drm)
+$(call include-board-configs, wifi/qcom-flo graphics/drm)
@@ -5,4 +5,4 @@ CONFIG_KERNEL_PATH="zImage.dtb"
CONFIG_BOARD_KERNEL_CMDLINE="console=ttyHSL0,115200,n8 user_debug=31 console=ttyMSM0,115200,n8 androidboot.selinux=permissive"
CONFIG_BOARD_KERNEL_BASE=0x80200000
CONFIG_RAMDISK_OFFSET=0x02000000
-CONFIG_QCOM_WIFI=y
+CONFIG_QCOM_FLO_WIFI=y
@@ -4,8 +4,8 @@ menuconfig WIFI
if WIFI
-config QCOM_WIFI
- bool "Qualcomm WCNSS wifi support"
+config QCOM_FLO_WIFI
+ bool "Qualcomm WCNSS wifi support for Nexus7 devices"
config TI_WILINK_WIFI
bool "TI WILINK wifi support"
@@ -18,6 +18,6 @@ PRODUCT_PROPERTY_OVERRIDES := \
subdirs-true :=
-subdirs-$(CONFIG_QCOM_WIFI) += qcom
+subdirs-$(CONFIG_QCOM_FLO_WIFI) += qcom-flo
subdirs-$(CONFIG_TI_WILINK_WIFI) += ti_wilink
$(call inherit-product-dirs, $(subdirs-true))
similarity index 100%
rename from wifi/qcom/Android.mk
rename to wifi/qcom-flo/Android.mk
new file mode 100644
@@ -0,0 +1,2 @@
+BOARD_SEPOLICY_DIRS += $(if $(CONFIG_QCOM_FLO_WIFI), \
+ $(LOCAL_PATH)/sepolicy)
similarity index 100%
rename from wifi/qcom/NOTICE
rename to wifi/qcom-flo/NOTICE
similarity index 100%
rename from wifi/qcom/WCNSS_cfg.dat
rename to wifi/qcom-flo/WCNSS_cfg.dat
similarity index 100%
rename from wifi/qcom/WCNSS_qcom_cfg.ini
rename to wifi/qcom-flo/WCNSS_qcom_cfg.ini
similarity index 100%
rename from wifi/qcom/WCNSS_qcom_wlan_nv_deb.bin
rename to wifi/qcom-flo/WCNSS_qcom_wlan_nv_deb.bin
similarity index 100%
rename from wifi/qcom/WCNSS_qcom_wlan_nv_flo.bin
rename to wifi/qcom-flo/WCNSS_qcom_wlan_nv_flo.bin
similarity index 100%
rename from wifi/qcom/conn_init.c
rename to wifi/qcom-flo/conn_init.c
similarity index 100%
rename from wifi/qcom/device.mk
rename to wifi/qcom-flo/device.mk
similarity index 100%
rename from wifi/qcom/qcom-wifi.rc
rename to wifi/qcom-flo/qcom-wifi.rc
similarity index 100%
rename from wifi/qcom/sepolicy/conn_init.te
rename to wifi/qcom-flo/sepolicy/conn_init.te
similarity index 100%
rename from wifi/qcom/sepolicy/file_contexts
rename to wifi/qcom-flo/sepolicy/file_contexts
similarity index 100%
rename from wifi/qcom/start_qcom_wifi.sh
rename to wifi/qcom-flo/start_qcom_wifi.sh
similarity index 100%
rename from wifi/qcom/wfc_util_common.c
rename to wifi/qcom-flo/wfc_util_common.c
similarity index 100%
rename from wifi/qcom/wfc_util_common.h
rename to wifi/qcom-flo/wfc_util_common.h
similarity index 100%
rename from wifi/qcom/wfc_util_fctrl.c
rename to wifi/qcom-flo/wfc_util_fctrl.c
similarity index 100%
rename from wifi/qcom/wfc_util_fctrl.h
rename to wifi/qcom-flo/wfc_util_fctrl.h
similarity index 100%
rename from wifi/qcom/wfc_util_log.h
rename to wifi/qcom-flo/wfc_util_log.h
similarity index 100%
rename from wifi/qcom/wfc_util_main.c
rename to wifi/qcom-flo/wfc_util_main.c
similarity index 100%
rename from wifi/qcom/wfc_util_qcom.c
rename to wifi/qcom-flo/wfc_util_qcom.c
similarity index 100%
rename from wifi/qcom/wfc_util_qcom.h
rename to wifi/qcom-flo/wfc_util_qcom.h
deleted file mode 100644
@@ -1,2 +0,0 @@
-BOARD_SEPOLICY_DIRS += $(if $(CONFIG_QCOM_WIFI), \
- $(LOCAL_PATH)/sepolicy)
So the wifi logic under wifi/qcom ends up being much more flo(nexus7) specific then I thought it would be. So put it under a more specific qcom-flo directory and change the config options respectively Cc: Rob Herring <rob.herring@linaro.org> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: Vishal Bhoj <vishal.bhoj@linaro.org> Cc: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> --- BoardConfig.mk | 2 +- configs/flo_defconfig | 2 +- wifi/Kconfig | 4 ++-- wifi/device.mk | 2 +- wifi/{qcom => qcom-flo}/Android.mk | 0 wifi/qcom-flo/BoardConfig.mk | 2 ++ wifi/{qcom => qcom-flo}/NOTICE | 0 wifi/{qcom => qcom-flo}/WCNSS_cfg.dat | Bin wifi/{qcom => qcom-flo}/WCNSS_qcom_cfg.ini | 0 wifi/{qcom => qcom-flo}/WCNSS_qcom_wlan_nv_deb.bin | Bin wifi/{qcom => qcom-flo}/WCNSS_qcom_wlan_nv_flo.bin | Bin wifi/{qcom => qcom-flo}/conn_init.c | 0 wifi/{qcom => qcom-flo}/device.mk | 0 wifi/{qcom => qcom-flo}/qcom-wifi.rc | 0 wifi/{qcom => qcom-flo}/sepolicy/conn_init.te | 0 wifi/{qcom => qcom-flo}/sepolicy/file_contexts | 0 wifi/{qcom => qcom-flo}/start_qcom_wifi.sh | 0 wifi/{qcom => qcom-flo}/wfc_util_common.c | 0 wifi/{qcom => qcom-flo}/wfc_util_common.h | 0 wifi/{qcom => qcom-flo}/wfc_util_fctrl.c | 0 wifi/{qcom => qcom-flo}/wfc_util_fctrl.h | 0 wifi/{qcom => qcom-flo}/wfc_util_log.h | 0 wifi/{qcom => qcom-flo}/wfc_util_main.c | 0 wifi/{qcom => qcom-flo}/wfc_util_qcom.c | 0 wifi/{qcom => qcom-flo}/wfc_util_qcom.h | 0 wifi/qcom/BoardConfig.mk | 2 -- 26 files changed, 7 insertions(+), 7 deletions(-) rename wifi/{qcom => qcom-flo}/Android.mk (100%) create mode 100644 wifi/qcom-flo/BoardConfig.mk rename wifi/{qcom => qcom-flo}/NOTICE (100%) rename wifi/{qcom => qcom-flo}/WCNSS_cfg.dat (100%) rename wifi/{qcom => qcom-flo}/WCNSS_qcom_cfg.ini (100%) rename wifi/{qcom => qcom-flo}/WCNSS_qcom_wlan_nv_deb.bin (100%) rename wifi/{qcom => qcom-flo}/WCNSS_qcom_wlan_nv_flo.bin (100%) rename wifi/{qcom => qcom-flo}/conn_init.c (100%) rename wifi/{qcom => qcom-flo}/device.mk (100%) rename wifi/{qcom => qcom-flo}/qcom-wifi.rc (100%) rename wifi/{qcom => qcom-flo}/sepolicy/conn_init.te (100%) rename wifi/{qcom => qcom-flo}/sepolicy/file_contexts (100%) rename wifi/{qcom => qcom-flo}/start_qcom_wifi.sh (100%) rename wifi/{qcom => qcom-flo}/wfc_util_common.c (100%) rename wifi/{qcom => qcom-flo}/wfc_util_common.h (100%) rename wifi/{qcom => qcom-flo}/wfc_util_fctrl.c (100%) rename wifi/{qcom => qcom-flo}/wfc_util_fctrl.h (100%) rename wifi/{qcom => qcom-flo}/wfc_util_log.h (100%) rename wifi/{qcom => qcom-flo}/wfc_util_main.c (100%) rename wifi/{qcom => qcom-flo}/wfc_util_qcom.c (100%) rename wifi/{qcom => qcom-flo}/wfc_util_qcom.h (100%) delete mode 100644 wifi/qcom/BoardConfig.mk -- 2.7.4