ns16550: unify serial_ppc
[oweals/u-boot.git] / arch / powerpc / include / asm / config.h
index 65496d0d90a9a5c9a34e660257fca8bf6200ccae..bb23756d79aea72b5fe59ac63952a2dbbe37675c 100644 (file)
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO
 
+#if defined(CONFIG_DM_SERIAL)
+/*
+ * TODO: Convert this to a clock driver exists that can give us the UART
+ * clock here.
+ */
+#define CONFIG_SYS_NS16550_CLK         get_serial_clock()
+#endif
+
 #endif /* _ASM_CONFIG_H_ */