]> git.sur5r.net Git - u-boot/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)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:13:20 +0000 (20:13 -0500)
commit8db622cdd44ae5173a145a35c331cccfdbfeda5d
treef89317345f202af82314d0d8cddca80dc38dd63b
parenta9642925a126b6a0be1e205c8da60883114a0f3d
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