rk3188 : add board path for /sys/module/board/parameters/
authorCody Xie <xkd@rock-chips.com>
Fri, 8 Mar 2013 00:55:01 +0000 (08:55 +0800)
committerCody Xie <xkd@rock-chips.com>
Fri, 8 Mar 2013 00:55:01 +0000 (08:55 +0800)
arch/arm/mach-rk30/board-rk3168-tb.c
arch/arm/mach-rk3188/Makefile

index 89d42fd5559402e5ad70b5d885d06d0390c122f7..de07a939e2a10a2aa74f11de10999c8bae9a6571 100755 (executable)
 #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;
index 585db4d3307a5b6f6dcb978c3fa97a04524f165d..626fbed4baa74480280ab3019d56fba37c692e31 100644 (file)
@@ -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