]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/ppc460ex_gt.h
Merge git://git.denx.de/u-boot-sunxi
[u-boot] / arch / powerpc / include / asm / ppc460ex_gt.h
index 31750a4555edf11fa9d8f4e9c321fe41b46e8325..ea019aafdb03fdc00576f95d1e134cb5dfe80af5 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC460EX_GT_H_
 /* Memory mapped registers */
 #define CONFIG_SYS_PERIPHERAL_BASE     0xef600000 /* Internal Peripherals */
 
+#ifndef CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550_COM1        (CONFIG_SYS_PERIPHERAL_BASE + 0x0300)
 #define CONFIG_SYS_NS16550_COM2        (CONFIG_SYS_PERIPHERAL_BASE + 0x0400)
 #define CONFIG_SYS_NS16550_COM3        (CONFIG_SYS_PERIPHERAL_BASE + 0x0500)
 #define CONFIG_SYS_NS16550_COM4        (CONFIG_SYS_PERIPHERAL_BASE + 0x0600)
+#endif
 
 #define GPIO0_BASE             (CONFIG_SYS_PERIPHERAL_BASE + 0x0b00)
 #define GPIO1_BASE             (CONFIG_SYS_PERIPHERAL_BASE + 0x0c00)