zedboard: uboot: load env earlier
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Fri, 13 Nov 2015 12:49:14 +0000 (13:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 16 Nov 2015 20:53:48 +0000 (21:53 +0100)
commitd761f0f408b8433d9abe77b21172396edeccee60
tree38dfc4f013e7903cef85aeb29b8858aa6e1c9e14
parent648956a137949e0388536688fff3ae4f7bb298a8
zedboard: uboot: load env earlier

By default, with the original patch bootcmd runs sdboot before loading uEnv.txt.
Consequently, if the user change modeboot, the user's defined content is updated
too late.
By loading uEnv.txt before 'run $modeboot' the correct boot mode is used instead
of default mode.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Acked-By: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/avnet/zedboard/uboot/0001-zynq-Create-zedboard-specific-U-Boot-environment.patch