Simon Glass | 201417d | 2022-04-24 23:31:07 -0600 | [diff] [blame] | 1 | U-Boot boot device (bootdev) |
| 2 | ============================ |
| 3 | |
| 4 | A bootdev provides a way to obtain a bootflow file from a device. It is a |
| 5 | child of the media device (UCLASS_MMC, UCLASS_SPI_FLASH, etc.) |
| 6 | |
| 7 | The bootdev driver is provided by the media devices. The bindings for each |
| 8 | are described in this file (to come). |
Simon Glass | e7b2ce1 | 2022-04-24 23:31:26 -0600 | [diff] [blame] | 9 | |
| 10 | Required properties: |
| 11 | |
| 12 | compatible: |
| 13 | "u-boot,bootdev-eth" - Ethernet bootdev |
| 14 | "u-boot,bootdev-mmc" - MMC bootdev |
| 15 | "u-boot,bootdev-usb" - USB bootdev |
| 16 | |
| 17 | |
| 18 | Example: |
| 19 | |
| 20 | mmc1 { |
| 21 | compatible = "sandbox,mmc"; |
| 22 | |
| 23 | mmc-bootdev { |
| 24 | compatible = "u-boot,bootdev-eth"; |
| 25 | }; |
| 26 | }; |