summaryrefslogtreecommitdiff
path: root/include/configs/xilinx-ppc.h
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2016-01-26 11:24:19 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 15:57:11 +0100
commit80cce2629bf5c49e44900d7e4396233b2d012921 (patch)
tree4ca3d87e2ee91d1308f4d6e8b99de68fcfadbbca /include/configs/xilinx-ppc.h
parent5af08556707f024edded56c3edae99430f3cfceb (diff)
downloadu-boot-imx-80cce2629bf5c49e44900d7e4396233b2d012921.zip
u-boot-imx-80cce2629bf5c49e44900d7e4396233b2d012921.tar.gz
u-boot-imx-80cce2629bf5c49e44900d7e4396233b2d012921.tar.bz2
ppc: xilinx-ppc4xx: Port to DM serial
xilinx_uartlite has been ported to DM, this patch makes the xilinx-ppc405-generic and the xilinx-ppc440-generic boards use the new DM driver. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx-ppc.h')
-rw-r--r--include/configs/xilinx-ppc.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index c5579e1..d01d88b 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -101,23 +101,10 @@
#define CONFIG_SYS_NO_FLASH
#endif
-/* serial communication */
-#ifdef XPAR_UARTLITE_0_BASEADDR
-#define CONFIG_XILINX_UARTLITE
-#define XILINX_UARTLITE_BASEADDR XPAR_UARTLITE_0_BASEADDR
-#define CONFIG_BAUDRATE XPAR_UARTLITE_0_BAUDRATE
-#define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE }
-#else
-#ifdef XPAR_UARTNS550_0_BASEADDR
-#define CONFIG_SYS_NS16550
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE 4
-#define CONFIG_CONS_INDEX 1
-#define CONFIG_SYS_NS16550_COM1 XPAR_UARTNS550_0_BASEADDR
-#define CONFIG_SYS_NS16550_CLK XPAR_UARTNS550_0_CLOCK_FREQ_HZ
+#define CONFIG_OF_LIBFDT 1
#define CONFIG_BAUDRATE 115200
-#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 115200 }
-#endif
-#endif
+/* The following table includes the supported baudrates */
+# define CONFIG_SYS_BAUDRATE_TABLE \
+ {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
#endif /* __CONFIG_H */