]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
board/BuR/kwb: Support modify bootcmd through reset-controller
authorHannes Petermaier <oe5hpm@oevsv.at>
Tue, 3 Feb 2015 12:22:43 +0000 (13:22 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:20:11 +0000 (14:20 +0200)
commit629a84de3ec9fbaf167c6114004128dfb365e035
treea58132e67c96c1917537ac44874ff4e6fed09727
parent220675cdb34c5fc863fe6709eeb2f7f677961432
board/BuR/kwb: Support modify bootcmd through reset-controller

For some cases it is necessary to modify temporaly the bootcommand.
This can be done by writing into the Scratchregister a specific value:

* 0xCC - modify bootcmd "run netboot"
* 0xCD - modify bootcmd "run netscript"
* 0xCE - modify bootcmd "run mmcboot"

the environment in flash is NOT overwritten.

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
board/BuR/kwb/board.c