summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-06-15 09:38:16 -0400
committerTom Rini <trini@konsulko.com>2018-06-15 09:38:16 -0400
commitf58e779513be36e30ce46838fb467e12ac6a5539 (patch)
treeca36153d6e37ffb49b451f27d52c036a51a3c9d0 /include/configs
parentd94e89c7650f496ce1e9303093c1e2d268d91b1b (diff)
parent3b4410dde3b82c8a743fa88280b9b0cdd21b1bf3 (diff)
Merge tag 'arc-updates-for-2018.07-rc2' of git://git.denx.de/u-boot-arc
Here we just add a tool for HSDK flashable images preparation together with extensive documentation for HSDK board. This will help real-life users to update U-Boot on the board.
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/hsdk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/hsdk.h b/include/configs/hsdk.h
index 3684f4d6d6..5da053002e 100644
--- a/include/configs/hsdk.h
+++ b/include/configs/hsdk.h
@@ -62,6 +62,12 @@
#define CONFIG_ENV_SIZE SZ_16K
#define CONFIG_EXTRA_ENV_SETTINGS \
+ "upgrade=if mmc rescan && " \
+ "fatload mmc 0:1 ${loadaddr} u-boot-update.scr && " \
+ "iminfo ${loadaddr} && source ${loadaddr}; then; else echo " \
+ "\"Fail to upgrade.\n" \
+ "Do you have u-boot-update.scr and u-boot.head on first (FAT) SD card partition?\"" \
+ "; fi\0" \
"core_dccm_0=0x10\0" \
"core_dccm_1=0x6\0" \
"core_dccm_2=0x10\0" \