rv1126-uboot/doc/device-tree-bindings
Philipp Tomsich d02d11f8ae rockchip: rk3399: spl: make SPL boot-order configurable via /chosen
The RK3399 does not have any boot selection pins and the BootROM probes
the boot interfaces using the following boot-order:
    1. SPI
    2. eMMC (sdhci in DTS)
    3. SD card (sdmmc in DTS)
    4. USB loader
For ease of deployment, the SPL stage should mirror the boot order of
the ROM and use the same probing order (assuming that valid images can
be detected by SPL) unless instructed otherwise.  The boot-order can
then be configured via the 'u-boot,spl-boot-order' property in the
chosen-node of the DTS.

While this approach is easily extensible to other boards, it is only
implemented for the RK3399 for now, as the large SRAM on the RK3399
makes this easy to fit the needed infrastructure into SPL and our
production setup already runs with DM, OF_CONTROL and BLK in SPL.

The new boot-order property is expected to be used in conjunction with
FIT images (and all legacy image formats disabled via Kconfig).

A boot-sequence with probing and fallthroughs from SPI via eMMC to SD
card (i.e. &spiflash, &sdhci, &sdmmc) has been validated on the RK3399-Q7.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
2017-04-04 20:01:57 -06:00
..
adc
ata
clock Merge git://git.denx.de/u-boot-rockchip 2017-03-17 14:15:17 -04:00
cpu
exynos
firmware
gpio
gpu
i2c
input
leds
mailbox
misc
mmc
mtd
nand
net drivers/net/phy: add fixed-phy / fixed-link support 2017-03-26 09:58:26 -05:00
pci mvebu: pcie: Add support for GPIO reset for PCIe device 2017-03-23 08:45:25 +01:00
pinctrl PINCTRL: stm32f7: add pin control driver 2017-03-17 14:15:14 -04:00
pmic
power
pwm
regulator
remoteproc
reset
serial
spi ARM: DTS: stm32: add stm32f746-disco device tree files 2017-01-28 14:04:42 -05:00
spmi
thermal
timer drivers: timer: Introduce ARC timer driver 2017-03-24 14:20:55 +03:00
usb mvebu: usb: xhci: Add VBUS regulator supply to the host driver 2017-03-23 08:45:25 +01:00
video
README
chosen.txt rockchip: rk3399: spl: make SPL boot-order configurable via /chosen 2017-04-04 20:01:57 -06:00
config.txt part_efi: document device-tree binding for part_efi configuration 2017-03-20 18:04:40 -04:00
root.txt

README

Device Tree Bindings Staging Area
=================================

This directory contains device tree bindings for U-Boot.

These follow along with Linux kernel bindings, with a few additions. By
adding the files here, U-Boot patches can clearly show thees additions.
This makes it easier for device tree people to review these additions in
patches sent to the U-Boot mailing list.

The intent IS to commit these files to U-Boot. Hopefully at some point
the files will be stored in another repo (shared with Linux) which is
brought in as needed. Changes here are intended to mirror changes in the
Linux Documentation/devicetree/bindings/ directory.

sjg@chromium.org
17-Jan-12