diff options
-rw-r--r-- | include/configs/verdin-imx8mp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/verdin-imx8mp.h b/include/configs/verdin-imx8mp.h index 1d544e0b92..cbadc7487f 100644 --- a/include/configs/verdin-imx8mp.h +++ b/include/configs/verdin-imx8mp.h @@ -100,7 +100,12 @@ "boot_scripts=" BOOT_SCRIPT "\0" \ "boot_script_dhcp=" BOOT_SCRIPT "\0" \ "boot_file=Image\0" \ - "setup=setenv setupargs console=${console},${baudrate} console=tty1 consoleblank=0 earlycon\0" + "setup=setenv setupargs console=${console},${baudrate} console=tty1 consoleblank=0 earlycon\0" \ + "update_uboot=askenv confirm Did you load imx-boot (y/N)?; " \ + "if test \"$confirm\" = \"y\"; then " \ + "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \ + "${blkcnt} / 0x200; mmc dev 2 1; mmc write ${loadaddr} 0x0 " \ + "${blkcnt}; fi\0" #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 |