summaryrefslogtreecommitdiffstats
path: root/include/configs/stv0991.h
diff options
context:
space:
mode:
authorVikas Manocha <vikas.manocha@st.com>2014-12-01 12:27:54 -0800
committerTom Rini <trini@ti.com>2014-12-09 15:16:20 -0500
commit39e4795a797663d08cd2216975430b2819e3173c (patch)
tree98c7adc8c7a3a64c3432434d628a0287752587b1 /include/configs/stv0991.h
parent498b7c2ecc06cc96094f8ad8fb7d8cb46d79295b (diff)
downloadtalos-obmc-uboot-39e4795a797663d08cd2216975430b2819e3173c.tar.gz
talos-obmc-uboot-39e4795a797663d08cd2216975430b2819e3173c.zip
dm: stv0991: Move serial to driver model
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'include/configs/stv0991.h')
-rw-r--r--include/configs/stv0991.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index 80652a8f2f..fd9bd638c6 100644
--- a/include/configs/stv0991.h
+++ b/include/configs/stv0991.h
@@ -28,14 +28,21 @@
(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
#define CONFIG_SYS_MAXARGS 16
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 16 * 1024)
+#define CONFIG_SYS_MALLOC_F_LEN 0x2000
+#define CONFIG_DM
/* serial port (PL011) configuration */
-#define CONFIG_SYS_SERIAL0 0x80406000
-#define CONFIG_PL011_SERIAL
-#define CONFIG_CONS_INDEX 0
#define CONFIG_BAUDRATE 115200
-#define CONFIG_PL01x_PORTS {(void *)CONFIG_SYS_SERIAL0}
-#define CONFIG_PL011_CLOCK (2700 * 1000)
+#ifdef CONFIG_DM
+#define CONFIG_DM_SERIAL
+#define CONFIG_PL01X_SERIAL
+#else
+#define CONFIG_SYS_SERIAL0 0x80406000
+#define CONFIG_CONS_INDEX 0
+#define CONFIG_PL011_SERIAL
+#define CONFIG_PL01x_PORTS {(void *)CONFIG_SYS_SERIAL0}
+#define CONFIG_PL011_CLOCK (2700 * 1000)
+#endif
/* user interface */
#define CONFIG_SYS_PROMPT "STV0991> "
OpenPOWER on IntegriCloud