summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-08-01 16:26:15 +0300
committerTom Rini <trini@konsulko.com>2018-08-01 16:26:15 +0300
commit61523dde17d1539b8ea361e25909acfdfc465155 (patch)
tree03e544bf27cadc6d62f91e2c29c80ddfc3dff660 /include/configs
parent20a619c61775d99aaed07cf69ce449de054358a4 (diff)
parent8f590063ba635264303b1713c421df331743fd46 (diff)
downloadu-boot-61523dde17d1539b8ea361e25909acfdfc465155.tar.xz
Merge tag 'arc-updates-for-2018.09-rc2' of git://git.denx.de/u-boot-arc
That's a set of prety minor changes and fixes for ARC. Among them: * Improvement in CREG GPIO driver used on ARC dev boards that allow us to re-use the driver for SPI's chip select * Enable SPI-flsh on AXS10x boards which allows to update U-Boot binary that gets loaded by boot-ROM * Fix accommodating always utilized unaligned access by GCC for ARC starting from 8.1.0
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/axs10x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h
index f044158265..f78e1573b6 100644
--- a/include/configs/axs10x.h
+++ b/include/configs/axs10x.h
@@ -65,6 +65,13 @@
* Environment settings
*/
#define CONFIG_ENV_SIZE SZ_16K
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "upgrade=if mmc rescan && " \
+ "fatload mmc 0:1 ${loadaddr} u-boot-update.img && " \
+ "iminfo ${loadaddr} && source ${loadaddr}; then; else echo " \
+ "\"Fail to upgrade.\n" \
+ "Do you have u-boot-update.img and u-boot.head on first (FAT) SD card partition?\"" \
+ "; fi\0"
/*
* Environment configuration