diff options
author | Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> | 2022-08-25 09:54:03 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-15 21:22:08 +0300 |
commit | 0daeadbbd2513a9f79dae113aa47e1a71e5d9153 (patch) | |
tree | dd85ee62a6f255f3494df55e837e3e8e29744c5a /configs/brppt1_mmc_defconfig | |
parent | febd82c45e8ca1841659e9c13cb0acd38463bc46 (diff) | |
download | u-boot-0daeadbbd2513a9f79dae113aa47e1a71e5d9153.tar.xz |
include: configs: brppt1: Fix commit 0ea4fc4dcf90
Commit 0ea4fc4dcf90 ("board/BuR: invalidate ${dtbaddr} before cfgscr")
destroys the boot targets b_t30lgcy#0 and b_t30lgcy#1. The reason behind
this is, that b_t30lgcy#0 and b_t30lgcy#1 both load the for booting
needed device trees from mmc and the cfgscr script patches those. Because
of this, cfgscr is not allowed to destroy the previously loaded device
tree otherwise cfgscr will fail.
This patch moves the device trees invalidation on warm restart to the
PREBOOT cmd to fix that issue.
Fixes: 0ea4fc4dcf90 ("board/BuR: invalidate ${dtbaddr} before cfgscr")
Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'configs/brppt1_mmc_defconfig')
-rw-r--r-- | configs/brppt1_mmc_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/brppt1_mmc_defconfig b/configs/brppt1_mmc_defconfig index 716650aac9..6da6d58bfd 100644 --- a/configs/brppt1_mmc_defconfig +++ b/configs/brppt1_mmc_defconfig @@ -26,7 +26,7 @@ CONFIG_BOOTDELAY=0 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run b_default" CONFIG_USE_PREBOOT=y -CONFIG_PREBOOT="run cfgscr; run brdefaultip" +CONFIG_PREBOOT="mw ${dtbaddr} 0; run cfgscr; run brdefaultip" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SYS_CONSOLE_INFO_QUIET=y |