Simon Glass | f391101 | 2024-07-17 09:30:58 +0100 | [diff] [blame^] | 1 | .. SPDX-License-Identifier: GPL-2.0+: |
| 2 | |
| 3 | Sandbox Bootmeth |
| 4 | ================ |
| 5 | |
| 6 | The sandbox bootmeth is only used for testing. It does not provide any facility |
| 7 | for booting an OS. While sandbox can do all the processing before the actual |
| 8 | boot, it is not connected in this bootmeth. |
| 9 | |
| 10 | When invoked on a bootdev, this bootmeth pretends to find a bootflow and creates |
| 11 | the associated structure. |
| 12 | |
| 13 | When the bootflow is booted, the bootmeth returns `-ENOTSUPP` indicating that it |
| 14 | is not supported. |
| 15 | |
| 16 | The compatible string "u-boot,sandbox-bootmeth" is used for the driver. It is present |
| 17 | if `CONFIG_BOOTMETH_SANDBOX` is enabled. |