summaryrefslogtreecommitdiff
path: root/include/configs/ls1012a_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-19 17:22:23 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-19 17:22:23 (GMT)
commit0675f992dbf4a785a05a1baf149c2bce6aa5fe90 (patch)
treeb8868ec70ff6b2b20f8f0fb87df9438906020a08 /include/configs/ls1012a_common.h
parent755b06d1c0f3b16318c7580bec066efbb9ec6ccf (diff)
parent5e4a6db8f428cb1f8ced74bc77241144ac0c5b1a (diff)
downloadu-boot-0675f992dbf4a785a05a1baf149c2bce6aa5fe90.tar.xz
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'include/configs/ls1012a_common.h')
-rw-r--r--include/configs/ls1012a_common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 20f0c61..910835e 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -19,9 +19,7 @@
#define CONFIG_SYS_TEXT_BASE 0x40100000
-#define CONFIG_SYS_FSL_CLK
-#define CONFIG_SYS_CLK_FREQ 100000000
-#define CONFIG_DDR_CLK_FREQ 125000000
+#define CONFIG_SYS_CLK_FREQ 125000000
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_BOARD_EARLY_INIT_F 1
@@ -82,7 +80,7 @@
#define CONFIG_CONS_INDEX 1
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE 1
-#define CONFIG_SYS_NS16550_CLK (get_bus_freq(0)/2)
+#define CONFIG_SYS_NS16550_CLK (get_serial_clock())
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }