From cff95822ad31fb1a18f5cec3dafe12921ffc7be1 Mon Sep 17 00:00:00 2001 From: luowei Date: Fri, 28 Sep 2012 14:39:01 +0800 Subject: [PATCH] rk30_phonepad:improve phonepad Kconfig --- .../arm/configs/rk30_phonepad_c8003_defconfig | 1 + arch/arm/configs/rk30_phonepad_defconfig | 1 + arch/arm/mach-rk30/Kconfig | 22 +++++++++++++++---- 3 files changed, 20 insertions(+), 4 deletions(-) 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 -- 2.34.1