u-boot/doc/device-tree-bindings/bootdev.txt
Simon Glass e7b2ce191e bootstd: doc: Add documentation
Add documentation for this feature, including the commands and full
devicetree bindings.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-04-25 10:00:04 -04:00

26 lines
578 B
Text

U-Boot boot device (bootdev)
============================
A bootdev provides a way to obtain a bootflow file from a device. It is a
child of the media device (UCLASS_MMC, UCLASS_SPI_FLASH, etc.)
The bootdev driver is provided by the media devices. The bindings for each
are described in this file (to come).
Required properties:
compatible:
"u-boot,bootdev-eth" - Ethernet bootdev
"u-boot,bootdev-mmc" - MMC bootdev
"u-boot,bootdev-usb" - USB bootdev
Example:
mmc1 {
compatible = "sandbox,mmc";
mmc-bootdev {
compatible = "u-boot,bootdev-eth";
};
};