Commit 1cf288f0066827e4f02a4bccffa67e08cf88e71a

Authored by Ji Luo
1 parent cf3fba9b82

MA-13050-5 [Android] support evs on mek-8qxp board

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.

add CONFIG_SKIP_RESOURCE_CHECKING to skip checking resource when load
dtb.

Change-Id: Iaf9a5eda07074c45c15c43f23cb6ad6b5a77de47
Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>

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

arch/arm/mach-imx/imx8/fdt.c
... ... @@ -586,7 +586,9 @@
586 586 fdt_strerror(off));
587 587 #endif
588 588  
  589 +#ifndef CONFIG_SKIP_RESOURCE_CHECKING
589 590 update_fdt_with_owned_resources(blob);
  591 +#endif
590 592  
591 593 update_fdt_edma_nodes(blob);
592 594 if (is_imx8qm()) {
scripts/config_whitelist.txt
... ... @@ -1592,6 +1592,7 @@
1592 1592 CONFIG_SKIP_LOCAL_MAC_RANDOMIZATION
1593 1593 CONFIG_SKIP_LOWLEVEL_INIT
1594 1594 CONFIG_SKIP_LOWLEVEL_INIT_ONLY
  1595 +CONFIG_SKIP_RESOURCE_CHECKING
1595 1596 CONFIG_SKIP_TRUNOFF_WATCHDOG
1596 1597 CONFIG_SLIC
1597 1598 CONFIG_SLTTMR