From: luowei Date: Fri, 28 Sep 2012 06:39:01 +0000 (+0800) Subject: rk30_phonepad:improve phonepad Kconfig X-Git-Tag: firefly_0821_release~8523 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cff95822ad31fb1a18f5cec3dafe12921ffc7be1;p=firefly-linux-kernel-4.4.55.git rk30_phonepad:improve phonepad Kconfig --- diff --git a/arch/arm/configs/rk30_phonepad_c8003_defconfig b/arch/arm/configs/rk30_phonepad_c8003_defconfig index cfe08bd91f29..ad663aedf934 100755 --- a/arch/arm/configs/rk30_phonepad_c8003_defconfig +++ b/arch/arm/configs/rk30_phonepad_c8003_defconfig @@ -27,6 +27,7 @@ CONFIG_RK_CLOCK_PROC=y CONFIG_CLK_SWITCH_TO_32K=y CONFIG_RK30_I2C_INSRAM=y CONFIG_MACH_RK30_PHONE_PAD=y +CONFIG_MACH_RK30_PHONE_PAD_C8003=y # CONFIG_SWP_EMULATE is not set CONFIG_FIQ_DEBUGGER=y CONFIG_FIQ_DEBUGGER_NO_SLEEP=y diff --git a/arch/arm/configs/rk30_phonepad_defconfig b/arch/arm/configs/rk30_phonepad_defconfig index 0fe308286578..e2675343aa3e 100755 --- a/arch/arm/configs/rk30_phonepad_defconfig +++ b/arch/arm/configs/rk30_phonepad_defconfig @@ -28,6 +28,7 @@ CONFIG_CLK_SWITCH_TO_32K=y CONFIG_RK30_I2C_INSRAM=y CONFIG_WIFI_COMBO_MODULE_CONTROL_FUNC=y CONFIG_MACH_RK30_PHONE_PAD=y +CONFIG_MACH_RK30_PHONE_PAD_DS763=y # CONFIG_SWP_EMULATE is not set CONFIG_FIQ_DEBUGGER=y CONFIG_FIQ_DEBUGGER_NO_SLEEP=y diff --git a/arch/arm/mach-rk30/Kconfig b/arch/arm/mach-rk30/Kconfig index 9ce0820221bc..c066c7a4ec6c 100755 --- a/arch/arm/mach-rk30/Kconfig +++ b/arch/arm/mach-rk30/Kconfig @@ -24,10 +24,7 @@ config MACH_RK3066_SDK config MACH_RK30_DS1001B bool "RK30 DS1001B board" - -config MACH_RK30_PHONE_PAD - bool "RK30 smart phone pad board" - + config MACH_RK30_PHONE bool "RK30 smart phone board" @@ -37,8 +34,25 @@ config MACH_RK30_PHONE_LOQUAT config MACH_RK30_PHONE_A22 bool "RK30 smart phone a22 board" +config MACH_RK30_PHONE_PAD + bool "RK30 phone pad board" + endchoice +if MACH_RK30_PHONE_PAD +choice + prompt "RK30 phone pad board type" + default MACH_RK30_PHONE_PAD_DS763 + + config MACH_RK30_PHONE_PAD_DS763 + bool "ds763" + + config MACH_RK30_PHONE_PAD_C8003 + bool "c8003" + +endchoice +endif + endif if ARCH_RK3066B