Commit 23487f8f3ea5406fe37a15f4191ca9ed5350829d

Authored by zhang sanshan
1 parent bde4bc6cd9

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>

Showing 3 changed files with 4 additions and 0 deletions Side-by-side Diff

arch/arm/mach-imx/imx8/cpu.c
... ... @@ -1311,7 +1311,9 @@
1311 1311 fdt_strerror(off));
1312 1312 #endif
1313 1313  
  1314 +#ifndef CONFIG_SKIP_RESOURCE_CHECING
1314 1315 update_fdt_with_owned_resources(blob);
  1316 +#endif
1315 1317  
1316 1318 update_fdt_edma_nodes(blob);
1317 1319 #ifdef CONFIG_IMX_SMMU
include/configs/imx8qm_mek_android_auto.h
... ... @@ -17,6 +17,7 @@
17 17 #define NS_ARCH_ARM64 1
18 18 #endif
19 19  
  20 +#define CONFIG_SKIP_RESOURCE_CHECING
20 21 /* USB OTG controller configs */
21 22 #ifdef CONFIG_USB_EHCI_HCD
22 23 #ifndef CONFIG_MXC_USB_PORTSC
scripts/config_whitelist.txt
... ... @@ -1878,6 +1878,7 @@
1878 1878 CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION
1879 1879 CONFIG_SKIP_LOWLEVEL_INIT
1880 1880 CONFIG_SKIP_LOWLEVEL_INIT_ONLY
  1881 +CONFIG_SKIP_RESOURCE_CHECING
1881 1882 CONFIG_SKIP_TRUNOFF_WATCHDOG
1882 1883 CONFIG_SLIC
1883 1884 CONFIG_SLTTMR