diff options
| author | Roger Quadros <[email protected]> | 2022-10-20 16:30:46 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-10-26 15:21:11 -0400 |
| commit | 2c120375e949807ce8e3b077d6537e2d8d69a87c (patch) | |
| tree | ddc0bf5aa3151a16dd7b2d1cb45af9a318b59eca /drivers/memory/memory-uclass.c | |
| parent | 27e6ebc5ea71c824234e862e55485de841ae29ac (diff) | |
dm: memory: Introduce new uclass
Introduce UCLASS_MEMORY for future Memory Controller
device drivers.
Signed-off-by: Roger Quadros <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/memory/memory-uclass.c')
| -rw-r--r-- | drivers/memory/memory-uclass.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/memory/memory-uclass.c b/drivers/memory/memory-uclass.c new file mode 100644 index 00000000000..d6d37fe7774 --- /dev/null +++ b/drivers/memory/memory-uclass.c @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * (C) Copyright 2022 + * Texas Instruments Incorporated, <www.ti.com> + */ + +#include <dm.h> + +UCLASS_DRIVER(memory) = { + .name = "memory", + .id = UCLASS_MEMORY, + .post_bind = dm_scan_fdt_dev, +}; |
