summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
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/configs/sandbox.h
parent57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8 (diff)
downloadu-boot-imx-890fcefe2e20b30a3d98f667c2dcfb382b1de2e6.zip
u-boot-imx-890fcefe2e20b30a3d98f667c2dcfb382b1de2e6.tar.gz
u-boot-imx-890fcefe2e20b30a3d98f667c2dcfb382b1de2e6.tar.bz2
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/configs/sandbox.h')
-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 bf2d25c..f5fa4b3 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