From e69b4a80657789a03647567d055a4882a4ebe298 Mon Sep 17 00:00:00 2001 From: Cody Xie Date: Fri, 8 Mar 2013 08:55:01 +0800 Subject: [PATCH] rk3188 : add board path for /sys/module/board/parameters/ --- arch/arm/mach-rk30/board-rk3168-tb.c | 12 ++++++++++++ arch/arm/mach-rk3188/Makefile | 9 +++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index 89d42fd55594..de07a939e2a1 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -83,6 +83,18 @@ #if defined(CONFIG_TOUCHSCREEN_GT8XX) #define TOUCH_RESET_PIN RK30_PIN0_PB6 #define TOUCH_PWR_PIN RK30_PIN0_PC5 // need to fly line by hardware engineer + +/* Android Parameter */ +static int ap_mdm = 0; +module_param(ap_mdm, int, 0644); +static int ap_has_alsa = 0; +module_param(ap_has_alsa, int, 0644); +static int ap_data_only = 2; +module_param(ap_data_only, int, 0644); +static int ap_has_earphone = 0; +module_param(ap_has_earphone, int, 0644); + + static int goodix_init_platform_hw(void) { int ret; diff --git a/arch/arm/mach-rk3188/Makefile b/arch/arm/mach-rk3188/Makefile index 585db4d3307a..626fbed4baa7 100644 --- a/arch/arm/mach-rk3188/Makefile +++ b/arch/arm/mach-rk3188/Makefile @@ -17,9 +17,10 @@ obj-$(CONFIG_HOTPLUG_CPU) += ../mach-rk30/hotplug.o obj-$(CONFIG_CPU_IDLE) += ../mach-rk30/cpuidle.o obj-$(CONFIG_CPU_FREQ) += cpufreq.o obj-$(CONFIG_DVFS) += dvfs.o +obj-y += board.o -obj-$(CONFIG_MACH_RK3188_FPGA) += board-rk3188-fpga.o -obj-$(CONFIG_MACH_RK3188_TB) += ../mach-rk30/board-rk3168-tb.o -obj-$(CONFIG_MACH_RK3188_LR097) += ../mach-rk30/board-rk3168-LR097.o -obj-$(CONFIG_MACH_RK3188_DS1006H) += board-rk3188-ds1006h.o +board-$(CONFIG_MACH_RK3188_FPGA) += board-rk3188-fpga.o +board-$(CONFIG_MACH_RK3188_TB) += ../mach-rk30/board-rk3168-tb.o +board-$(CONFIG_MACH_RK3188_LR097) += ../mach-rk30/board-rk3168-LR097.o +board-$(CONFIG_MACH_RK3188_DS1006H) += board-rk3188-ds1006h.o -- 2.34.1