summaryrefslogtreecommitdiff
path: root/include/configs/integrator-common.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-07-27 11:22:48 +0200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:49 -0400
commit3f394e70f0cc31a5d63d3650fd4f48e450ea16cd (patch)
tree9e3d3eb6b93c58f1fef94c7446002789e7a4e8ba /include/configs/integrator-common.h
parente0266f4942f22d3111a5365f3b2c33ecd55730eb (diff)
integrator: switch to DM serial port
This switches the Integrator boards over to using the device model for its serial ports. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/configs/integrator-common.h')
-rw-r--r--include/configs/integrator-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/integrator-common.h b/include/configs/integrator-common.h
index 1d307ca1e6a..a22efd699c1 100644
--- a/include/configs/integrator-common.h
+++ b/include/configs/integrator-common.h
@@ -20,6 +20,11 @@
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size*/
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024) /* Size of malloc() pool */
+/* Serial port PL010/PL011 through the device model */
+#define CONFIG_PL01X_SERIAL
+#define CONFIG_BAUDRATE 38400
+#define CONFIG_CONS_INDEX 0
+
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_OF_LIBFDT /* enable passing a Device Tree */