summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-04 16:27:27 -0600
committerSimon Glass <sjg@chromium.org>2014-09-10 13:00:00 -0600
commit890fcefe2e20b30a3d98f667c2dcfb382b1de2e6 (patch)
tree3ef3ac05f99f1576c937c0da22180af9c788f552 /include
parent57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8 (diff)
downloadblackbird-obmc-uboot-890fcefe2e20b30a3d98f667c2dcfb382b1de2e6.tar.gz
blackbird-obmc-uboot-890fcefe2e20b30a3d98f667c2dcfb382b1de2e6.zip
sandbox: Convert serial driver to use driver model
Adjust the sandbox serial driver to use the new driver model uclass. The driver works much as before, but within the new framework. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index bf2d25c871..f5fa4b3ddc 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -31,6 +31,9 @@
#define CONFIG_DM_DEMO_SHAPE
#define CONFIG_DM_GPIO
#define CONFIG_DM_TEST
+#define CONFIG_DM_SERIAL
+
+#define CONFIG_SYS_STDIO_DEREGISTER
/* Number of bits in a C 'long' on this architecture */
#define CONFIG_SANDBOX_BITS_PER_LONG 64
OpenPOWER on IntegriCloud