summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-24 21:36:34 -0700
committerSimon Glass <sjg@chromium.org>2014-12-11 13:18:41 -0700
commit115066666c251c2a481eeff7b700da14eba91d10 (patch)
treeab6e56d442459b3f44f7ecc03c72a306bd2ab3c9 /include/configs
parent59c73d7555a88bbe7b42a7153181fe4252e83c24 (diff)
downloadu-boot-imx-115066666c251c2a481eeff7b700da14eba91d10.zip
u-boot-imx-115066666c251c2a481eeff7b700da14eba91d10.tar.gz
u-boot-imx-115066666c251c2a481eeff7b700da14eba91d10.tar.bz2
dm: rpi: Move serial to driver model
Adjust the configuration to use the driver model version of the pl01x serial driver. Add the required platform data. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/rpi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index 4d5426e..c94f411 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -34,6 +34,7 @@
#define CONFIG_DM
#define CONFIG_CMD_DM
#define CONFIG_DM_GPIO
+#define CONFIG_DM_SERIAL
/* Memory layout */
#define CONFIG_NR_DRAM_BANKS 1
@@ -51,6 +52,7 @@
CONFIG_SYS_SDRAM_SIZE - \
GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_MALLOC_LEN SZ_4M
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
#define CONFIG_SYS_MEMTEST_START 0x00100000
#define CONFIG_SYS_MEMTEST_END 0x00200000
#define CONFIG_LOADADDR 0x00200000
@@ -92,9 +94,7 @@
#endif
/* Console UART */
-#define CONFIG_PL011_SERIAL
-#define CONFIG_PL011_CLOCK 3000000
-#define CONFIG_PL01x_PORTS { (void *)0x20201000 }
+#define CONFIG_PL01X_SERIAL
#define CONFIG_CONS_INDEX 0
#define CONFIG_BAUDRATE 115200