]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: ds414: Add sample u-boot update command
authorPhil Sutter <phil@nwl.cc>
Fri, 5 Mar 2021 20:05:45 +0000 (21:05 +0100)
committerStefan Roese <sr@denx.de>
Thu, 8 Apr 2021 06:50:47 +0000 (08:50 +0200)
commit4ffef971d772695244c968f168423e8f2b39cdb1
tree1d5fb8a2c2bb6e59128328316d657669a6bfdee4
parent138c8f8d75a6f3f6a6565dea7e52287f4330b3cb
arm: mvebu: ds414: Add sample u-boot update command

Call 'run update_uboot' to fetch u-boot-spl.kwb via TFTP and write it
into the correct SPI flash location. The latter's size is defined in
DS414's DTB file, so hard-coding it should be acceptable here.

Take care to not append garbage from RAM to the written image and to
stay within assigned flash boundaries even if an oversized image was
fetched.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/configs/ds414.h