summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>2021-07-30 04:08:03 +0300
committerTom Rini <trini@konsulko.com>2021-09-02 02:25:37 +0300
commit4deaff791cd44e95e545ad8cd74dea25b4993499 (patch)
treec36e6417839ca6abe121dba19467d0e3bc874fdf /include/dm
parent74bda4fe3d6d153a6b66b5f1e412c32b718bcfbc (diff)
downloadu-boot-4deaff791cd44e95e545ad8cd74dea25b4993499.tar.xz
dm: hash: Add new UCLASS_HASH support
Add UCLASS_HASH for hash driver development. Thus the hash drivers (SW or HW-accelerated) can be developed in the DM-based fashion. Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index e7edd409f3..3768432b68 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -54,6 +54,7 @@ enum uclass_id {
UCLASS_FIRMWARE, /* Firmware */
UCLASS_FS_FIRMWARE_LOADER, /* Generic loader */
UCLASS_GPIO, /* Bank of general-purpose I/O pins */
+ UCLASS_HASH, /* Hash device */
UCLASS_HWSPINLOCK, /* Hardware semaphores */
UCLASS_I2C, /* I2C bus */
UCLASS_I2C_EEPROM, /* I2C EEPROM device */