summaryrefslogtreecommitdiff
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-04 16:27:26 -0600
committerSimon Glass <sjg@chromium.org>2014-09-10 13:00:00 -0600
commit57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8 (patch)
tree33a0908febf5da246e703633fcb51622c64db7e3 /include/dm/uclass-id.h
parent1f359e3611c55d9cfae88dafce04db1833033bd0 (diff)
downloadu-boot-imx-57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8.zip
u-boot-imx-57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8.tar.gz
u-boot-imx-57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8.tar.bz2
dm: Add a uclass for serial devices
Serial devices support simple byte input/output and a few operations to find out whether data is available. Add a basic uclass for serial devices to be used by drivers that are converted to driver model. 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 dd95fca..7f0e37b 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -21,6 +21,7 @@ enum uclass_id {
/* U-Boot uclasses start here */
UCLASS_GPIO, /* Bank of general-purpose I/O pins */
+ UCLASS_SERIAL, /* Serial UART */
UCLASS_COUNT,
UCLASS_INVALID = -1,