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 /arch/arm64 | |
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>
Diffstat (limited to 'arch/arm64')
-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 |
3 files changed, 9 insertions, 9 deletions
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 |