summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:39:04 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:27 -0600
commit6c51df6859fa666d494980f4aa2f19c932898ec1 (patch)
treec54afb95d07ef7d60d73d89a3ef13421bd6aec72 /include/dm
parent10f5f5a90ed02b00db4e75ff537d37b66d84e119 (diff)
downloadu-boot-imx-6c51df6859fa666d494980f4aa2f19c932898ec1.zip
u-boot-imx-6c51df6859fa666d494980f4aa2f19c932898ec1.tar.gz
u-boot-imx-6c51df6859fa666d494980f4aa2f19c932898ec1.tar.bz2
dm: Add support for RAM drivers
Add support for a driver which sets up DRAM and can return information about the amount of RAM available. This is a first step towards moving RAM init to driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
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 cba7c0a..93a3857 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -28,6 +28,7 @@ enum uclass_id {
UCLASS_CPU, /* CPU, typically part of an SoC */
UCLASS_CROS_EC, /* Chrome OS EC */
UCLASS_DISPLAY_PORT, /* Display port video */
+ UCLASS_RAM, /* RAM controller */
UCLASS_ETH, /* Ethernet device */
UCLASS_GPIO, /* Bank of general-purpose I/O pins */
UCLASS_I2C, /* I2C bus */