]> git.baikalelectronics.ru Git - uboot.git/commit
board: freescale: p1_p2_rdb_pc: Add env commands norlowerboot, norupperboot, sd2boot...
authorPali Rohár <pali@kernel.org>
Mon, 25 Apr 2022 14:50:43 +0000 (16:50 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 7 Sep 2022 03:45:48 +0000 (11:45 +0800)
commit16b758d15c0eb373b50e7fd0d66c712d9ca54067
tree3a42f531232f2b459f86369786895b711a0eaed3
parent6259c533dd444a320e00cb11672425403ab0af5b
board: freescale: p1_p2_rdb_pc: Add env commands norlowerboot, norupperboot, sd2boot and defboot

All *boot env commands overrides default boot source location via i2c.
After board reset without power off, BootROM then starts booting U-Boot
from this specified location instead of the default one.

Add new env command defboot which reverts boot location to the default
value, which in most cases is configurable by HW DIP switches.

And add new env commands norlowerboot, norupperboot, sd2boot to boot from
other locations. norlowerboot would instruct BootROM to boot from lower NOR
bank, norupperboot from upper NOR bank and sd2boot from SD card with
alternative configuration.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
include/configs/p1_p2_bootsrc.h
include/configs/p1_p2_rdb_pc.h