ccmp1: boot script: set temp variable to skip fit re-loading
The U-Boot bootscript loads the fitImage into RAM memory to run this bootscript. This bootscript ends up calling 'dboot' command to run the FIT default configuration. To avoid 'dboot' re-loading again the fitImage into RAM memory, set this temporary variable that will be immediately reset by 'dboot'. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
8f40cddfc6
commit
dbdd989018
|
|
@ -74,6 +74,10 @@ fi
|
|||
if test "${boot_device}" = "mmc"; then
|
||||
dboot linux mmc
|
||||
else
|
||||
if test "${dboot_kernel_var}" = "fitimage"; then
|
||||
# Set temp var to avoid re-loading fitimage
|
||||
setenv temp-fitimg-loaded yes
|
||||
fi
|
||||
dboot linux nand ${mtdbootpart}
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,10 @@ fi
|
|||
if test "${boot_device}" = "mmc"; then
|
||||
dboot linux mmc
|
||||
else
|
||||
if test "${dboot_kernel_var}" = "fitimage"; then
|
||||
# Set temp var to avoid re-loading fitimage
|
||||
setenv temp-fitimg-loaded yes
|
||||
fi
|
||||
dboot linux nand ${mtdbootpart}
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue