diff options
author | Jajambo Liao <jajambol@nvidia.com> | 2014-06-18 13:44:02 +0800 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-06-26 23:39:25 -0700 |
commit | 191b49cdb6b45c50972a0e6a0c350b0ba2a11702 (patch) | |
tree | 242dd2e3ee6d6d3230b821498a2c96f66c6dc2e8 | |
parent | aa7c1f74189b543112fb05ca3371f3219cb559f0 (diff) |
arm: tegra: config: build invensens as .so
change invensens build method from dynamic library to
static library
- modify CONFIG_INV_MPU, CONFIG_INV_AKM8975, CONFIG_INV_BMP180
to be "=y", build those module as static library
- remove "insmod inv-mpu.ko", "insmod inv-ak8975.ko"
"insmod inv-bmp180.ko" command from init script
- set init priority of akm89xx/bmp180 as late_initcall
That will make sure system always loaded akm89xx/bmp180 after
inv-mpu module when those modules was builded as static library.
Bug 1468040
Change-Id: I0cf43f73b8654cadead45ed60c5f141e9197e111
Signed-off-by: Jajambo Liao <jajambol@nvidia.com>
Reviewed-on: http://git-master/r/424534
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
-rw-r--r-- | arch/arm/configs/tegra12_android_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/configs/tegra12_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/configs/tegra_ardbeg_mods_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/configs/tegra_p2360_gnu_linux_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/configs/tegra_vcm30t124_android_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/configs/tegra_vcm30t124_gnu_linux_defconfig | 6 | ||||
-rw-r--r-- | arch/arm64/configs/tegra13_android_defconfig | 6 | ||||
-rw-r--r-- | arch/arm64/configs/tegra13_defconfig | 6 | ||||
-rw-r--r-- | arch/arm64/configs/tegra_t132ref_mods_defconfig | 6 | ||||
-rw-r--r-- | chromeos/config/armel/chromeos-tegra114.flavour.config | 4 |
10 files changed, 29 insertions, 29 deletions
diff --git a/arch/arm/configs/tegra12_android_defconfig b/arch/arm/configs/tegra12_android_defconfig index 672ee1f24e66..62751d71c734 100644 --- a/arch/arm/configs/tegra12_android_defconfig +++ b/arch/arm/configs/tegra12_android_defconfig @@ -263,9 +263,9 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_VT is not set # CONFIG_LEGACY_PTYS is not set diff --git a/arch/arm/configs/tegra12_defconfig b/arch/arm/configs/tegra12_defconfig index 3f62e11ca620..c8168215e114 100644 --- a/arch/arm/configs/tegra12_defconfig +++ b/arch/arm/configs/tegra12_defconfig @@ -232,9 +232,9 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVKMEM is not set diff --git a/arch/arm/configs/tegra_ardbeg_mods_defconfig b/arch/arm/configs/tegra_ardbeg_mods_defconfig index 2bd35adee658..a9cb5e9d5cb1 100644 --- a/arch/arm/configs/tegra_ardbeg_mods_defconfig +++ b/arch/arm/configs/tegra_ardbeg_mods_defconfig @@ -206,9 +206,9 @@ CONFIG_TOUCHSCREEN_SYN_RMI4_SPI=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_VT is not set # CONFIG_LEGACY_PTYS is not set diff --git a/arch/arm/configs/tegra_p2360_gnu_linux_defconfig b/arch/arm/configs/tegra_p2360_gnu_linux_defconfig index f5beca76c391..e2f1ae76752b 100644 --- a/arch/arm/configs/tegra_p2360_gnu_linux_defconfig +++ b/arch/arm/configs/tegra_p2360_gnu_linux_defconfig @@ -259,9 +259,9 @@ CONFIG_TOUCHSCREEN_SYN_RMI4_SPI=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVKMEM is not set diff --git a/arch/arm/configs/tegra_vcm30t124_android_defconfig b/arch/arm/configs/tegra_vcm30t124_android_defconfig index e88ff8c1dfa3..078dc39ad704 100644 --- a/arch/arm/configs/tegra_vcm30t124_android_defconfig +++ b/arch/arm/configs/tegra_vcm30t124_android_defconfig @@ -257,9 +257,9 @@ CONFIG_TOUCHSCREEN_SYN_RMI4_SPI=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_VT is not set # CONFIG_LEGACY_PTYS is not set diff --git a/arch/arm/configs/tegra_vcm30t124_gnu_linux_defconfig b/arch/arm/configs/tegra_vcm30t124_gnu_linux_defconfig index 9ce584bcad03..72a0abff1dac 100644 --- a/arch/arm/configs/tegra_vcm30t124_gnu_linux_defconfig +++ b/arch/arm/configs/tegra_vcm30t124_gnu_linux_defconfig @@ -259,9 +259,9 @@ CONFIG_TOUCHSCREEN_SYN_RMI4_SPI=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y CONFIG_SERIO_LIBPS2=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVKMEM is not set diff --git a/arch/arm64/configs/tegra13_android_defconfig b/arch/arm64/configs/tegra13_android_defconfig index 7a439e0f2052..63baa12586f3 100644 --- a/arch/arm64/configs/tegra13_android_defconfig +++ b/arch/arm64/configs/tegra13_android_defconfig @@ -250,9 +250,9 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y # CONFIG_SERIO_I8042 is not set # CONFIG_VT is not set # CONFIG_LEGACY_PTYS is not set diff --git a/arch/arm64/configs/tegra13_defconfig b/arch/arm64/configs/tegra13_defconfig index 27f08bc29cc8..76105421d47e 100644 --- a/arch/arm64/configs/tegra13_defconfig +++ b/arch/arm64/configs/tegra13_defconfig @@ -233,9 +233,9 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y # CONFIG_SERIO_I8042 is not set # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVKMEM is not set diff --git a/arch/arm64/configs/tegra_t132ref_mods_defconfig b/arch/arm64/configs/tegra_t132ref_mods_defconfig index e933423fe6f2..dd92cd19309d 100644 --- a/arch/arm64/configs/tegra_t132ref_mods_defconfig +++ b/arch/arm64/configs/tegra_t132ref_mods_defconfig @@ -109,9 +109,9 @@ CONFIG_INPUT_MISC=y CONFIG_INPUT_KEYCHORD=y CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m -CONFIG_INV_BMP180=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y +CONFIG_INV_BMP180=y # CONFIG_SERIO_I8042 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_VT is not set diff --git a/chromeos/config/armel/chromeos-tegra114.flavour.config b/chromeos/config/armel/chromeos-tegra114.flavour.config index ce53f09d86d6..a5f28b16e896 100644 --- a/chromeos/config/armel/chromeos-tegra114.flavour.config +++ b/chromeos/config/armel/chromeos-tegra114.flavour.config @@ -393,8 +393,8 @@ CONFIG_INPUT_KEYRESET=y # CONFIG_INPUT_PWM_BEEPER is not set CONFIG_INPUT_UINPUT=y # CONFIG_INTEL_MID_PTI is not set -CONFIG_INV_AK8975=m -CONFIG_INV_MPU=m +CONFIG_INV_AK8975=y +CONFIG_INV_MPU=y CONFIG_IOMMU_API=y # CONFIG_IOSCHED_CFQ is not set # CONFIG_IOSCHED_DEADLINE is not set |