summaryrefslogtreecommitdiff
path: root/include/configs/uniphier.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-24 22:23:36 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-01 00:17:01 +0900
commit61a4f5bd61349b6ab2a4fed926aa203624f9494d (patch)
tree9051d9c0b7124cb034b8e16c0f9a0fa57587b3dc /include/configs/uniphier.h
parent86c3345afbd48810b75cdf216e588cb66f9f578e (diff)
ARM: uniphier: add sramupdate command
This command would be useful to update U-Boot images in SRAM. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs/uniphier.h')
-rw-r--r--include/configs/uniphier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index da80c00c458..059b034f9c4 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -229,6 +229,10 @@
"netdev=eth0\0" \
"verify=n\0" \
"nor_base=0x42000000\0" \
+ "sramupdate=setexpr tmp_addr $nor_base + 0x50000 &&" \
+ "tftpboot $tmp_addr u-boot-spl.bin &&" \
+ "setexpr tmp_addr $nor_base + 0x60000 &&" \
+ "tftpboot $tmp_addr u-boot.bin\0" \
"emmcupdate=mmcsetn &&" \
"mmc partconf $mmc_first_dev 0 1 1 &&" \
"mmc erase 0 800 &&" \