aboutsummaryrefslogtreecommitdiff
path: root/include/configs/axs10x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/axs10x.h')
-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 f044158..f78e157 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