summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang sanshan <sanshan.zhang@nxp.com>2018-09-21 16:49:46 +0800
committerYe Li <ye.li@nxp.com>2018-09-29 00:35:14 -0700
commita0778ac9b2bbea342062dac95ab86e52de463d70 (patch)
treed56f837e00129fc1c26a3c9041efb281f5338b30
parentbde4bc6cd9858aa14c6d31b9d94f0d8add8dfd96 (diff)
MA-12847 [Android] skip checking the resource on android auto
camera sometime can't been open once run M4 image. ISI-CH0 probe funtion is not called when meet issue. The root cause is: M4 image set assign resource SC_R_ISI_CH0 into m4 partition when open camera in m4 side. Uboot will call update_fdt_with_owned_resources to check the pd in current dts node. it will call sc_rm_is_resource_owned to check the pd whether in other partition, If yes, it will delete the dts node. uboot delete isi_0 node whose pd is SC_R_ISI_CH0. Change-Id: I4e2afbed2c55caad0a9f804fa8d85511c3bfea38 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com> (cherry picked from commit 23487f8f3ea5406fe37a15f4191ca9ed5350829d)
-rw-r--r--arch/arm/mach-imx/imx8/cpu.c2
-rw-r--r--include/configs/imx8qm_mek_android_auto.h1
-rw-r--r--scripts/config_whitelist.txt1
3 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c
index c0bcfb2028..6f4692e43a 100644
--- a/arch/arm/mach-imx/imx8/cpu.c
+++ b/arch/arm/mach-imx/imx8/cpu.c
@@ -1311,7 +1311,9 @@ int ft_system_setup(void *blob, bd_t *bd)
fdt_strerror(off));
#endif
+#ifndef CONFIG_SKIP_RESOURCE_CHECING
update_fdt_with_owned_resources(blob);
+#endif
update_fdt_edma_nodes(blob);
#ifdef CONFIG_IMX_SMMU
diff --git a/include/configs/imx8qm_mek_android_auto.h b/include/configs/imx8qm_mek_android_auto.h
index 119b58249b..ebdc1bcc5a 100644
--- a/include/configs/imx8qm_mek_android_auto.h
+++ b/include/configs/imx8qm_mek_android_auto.h
@@ -17,6 +17,7 @@
#define NS_ARCH_ARM64 1
#endif
+#define CONFIG_SKIP_RESOURCE_CHECING
/* USB OTG controller configs */
#ifdef CONFIG_USB_EHCI_HCD
#ifndef CONFIG_MXC_USB_PORTSC
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 86fe74a0b8..ec9ec35392 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -1878,6 +1878,7 @@ CONFIG_SIMU
CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION
CONFIG_SKIP_LOWLEVEL_INIT
CONFIG_SKIP_LOWLEVEL_INIT_ONLY
+CONFIG_SKIP_RESOURCE_CHECING
CONFIG_SKIP_TRUNOFF_WATCHDOG
CONFIG_SLIC
CONFIG_SLTTMR