summaryrefslogtreecommitdiffstats
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-29 21:19:25 -0700
committerSimon Glass <sjg@chromium.org>2020-01-07 16:02:39 -0700
commitdc12ebbbdb765153805d2b17d18edf5fe0813d5a (patch)
tree8f0872ad4ec567e7b5cda4422762289ea904e5ba /include/dm/uclass-id.h
parentcce61fc428700a782f2f76b0f32b6112eeb99dfb (diff)
downloadu-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.tar.gz
u-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.tar.xz
u-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.zip
dm: test: Add a test driver for devres
Add a driver which does devres allocations so that we can write tests for devres. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
-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 c1bab17ad1..c9f49df3f2 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -19,6 +19,7 @@ enum uclass_id {
UCLASS_TEST_BUS,
UCLASS_TEST_PROBE,
UCLASS_TEST_DUMMY,
+ UCLASS_TEST_DEVRES,
UCLASS_SPI_EMUL, /* sandbox SPI device emulator */
UCLASS_I2C_EMUL, /* sandbox I2C device emulator */
UCLASS_I2C_EMUL_PARENT, /* parent for I2C device emulators */