diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-24 23:31:07 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-25 10:00:04 -0400 |
commit | 201417d700a2ab09f247c1be9952176970c0f6bd (patch) | |
tree | 1a9b39324cd46a4ae63c40a31fb9903c768acdd9 /include/dm/uclass-id.h | |
parent | ef5e3891f57e6fc863fabbc94b1d7da79d1940bb (diff) | |
download | u-boot-201417d700a2ab09f247c1be9952176970c0f6bd.tar.gz u-boot-201417d700a2ab09f247c1be9952176970c0f6bd.tar.bz2 u-boot-201417d700a2ab09f247c1be9952176970c0f6bd.zip |
bootstd: Add the bootdev uclass
A 'bootdev' is a device which can be used to boot an operating system.
It is a child of the media device (e.g. MMC) which handles reading files
from that device, such as a bootflow file.
Add a uclass for bootdev and the various helpers needed to make it
work. Also add a binding file, empty for now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
-rw-r--r-- | include/dm/uclass-id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index cece0626a1..97ba4c02c4 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-id.h @@ -38,6 +38,7 @@ enum uclass_id { UCLASS_AXI, /* AXI bus */ UCLASS_BLK, /* Block device */ UCLASS_BOOTCOUNT, /* Bootcount backing store */ + UCLASS_BOOTDEV, /* Boot device for locating an OS to boot */ UCLASS_BOOTSTD, /* Standard boot driver */ UCLASS_BUTTON, /* Button */ UCLASS_CACHE, /* Cache controller */ |