summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-19 21:48:07 +0800
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:04 -0500
commitf27445cbdc3cdfef0d1e98b05f6ef0cc09c7d967 (patch)
treeeb3c5008043f1f6374f7bb66d5b9f9c2a946dbc6 /arch
parent81cd63a991f87c1ddbf7850beae0a4c543b45c7e (diff)
downloadblackbird-obmc-uboot-f27445cbdc3cdfef0d1e98b05f6ef0cc09c7d967.tar.gz
blackbird-obmc-uboot-f27445cbdc3cdfef0d1e98b05f6ef0cc09c7d967.zip
ns16550: unify serial_ppc
Unify serial_ppc, and use the generic binding. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Add TODO comment] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h
index 65496d0d90..bb23756d79 100644
--- a/arch/powerpc/include/asm/config.h
+++ b/arch/powerpc/include/asm/config.h
@@ -104,4 +104,12 @@
/* 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_ */
OpenPOWER on IntegriCloud