summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSinan Akman <[email protected]>2023-04-07 18:03:44 -0400
committerTom Rini <[email protected]>2023-04-25 15:31:28 -0400
commit23fd87c489276050b229b469c0cba4cb0e9d7a59 (patch)
treec5fbbdb71291fd490889ae8305db0a13857ca3a0 /include
parente97c89cc15b90c72dcf6a7a943fb52743a1f70fa (diff)
mpc8379erdb: Convert to using DM_SERIAL
Convert to DM_SERIAL for mpc8379erdb. Signed-off-by: Sinan Akman <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC837XERDB.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 70b1c399241..3967cc28363 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -140,7 +140,9 @@
/*
* Serial Port
*/
+#if !CONFIG_IS_ENABLED(DM_SERIAL) && !CONFIG_IS_ENABLED(DM_CLK)
#define CFG_SYS_NS16550_CLK get_bus_freq(0)
+#endif
#define CFG_SYS_BAUDRATE_TABLE \
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}