diff options
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/dh_imx6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 410ac89076..72843c942c 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -75,6 +75,10 @@ "ramdisk_addr_r=0x18000000\0" \ "scriptaddr=0x14000000\0" \ "fdtfile=imx6q-dhcom-pdk2.dtb\0"\ + "update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \ + "load mmc 0:1 ${loadaddr} /boot/u-boot-with-spl.imx && "\ + "sf probe && sf erase 0x0 0xa0000 && " \ + "sf write ${loadaddr} 0x400 ${filesize}\0" \ BOOTENV #define BOOT_TARGET_DEVICES(func) \ |