summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-04-14 10:01:35 +0200
committerTom Rini <trini@konsulko.com>2015-04-23 08:52:26 -0400
commitd280ea00ef303b5116b14cc5f8861278831116a1 (patch)
treeec685b3d4ff64924b2d4c6c910f8e8c44d4e0129 /board/armltd
parente0e3aa50b5eb481865f2b407bd0ae25dd4578d55 (diff)
downloadu-boot-imx-d280ea00ef303b5116b14cc5f8861278831116a1.zip
u-boot-imx-d280ea00ef303b5116b14cc5f8861278831116a1.tar.gz
u-boot-imx-d280ea00ef303b5116b14cc5f8861278831116a1.tar.bz2
vexpress64: use DM for all vexpress64 boards
Commit d8bafe1310487ba0e0785997726b4792072178d3 "ARMv8: enable DM in vexpress64 board" only enabled DM for the simulated vexpress64 board (FVP) with the hardcoded clock value for the simulated board, causing a console regression on the Juno board which was using a different clock setting. Fix this by enabling DM for all vexpress64 boards, defining the clock frequency per-board, deleting the static array of PL01x ports from the config file and relying solely on the port defined in the boardfile using platform data. Cc: David Feng <fenghua@phytium.com.cn> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/vexpress64/vexpress64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c
index 13dd667..7cb4e00 100644
--- a/board/armltd/vexpress64/vexpress64.c
+++ b/board/armltd/vexpress64/vexpress64.c
@@ -19,7 +19,7 @@ DECLARE_GLOBAL_DATA_PTR;
static const struct pl01x_serial_platdata serial_platdata = {
.base = V2M_UART0,
.type = TYPE_PL011,
- .clock = 2400 * 1000,
+ .clock = CONFIG_PL011_CLOCK,
};
U_BOOT_DEVICE(vexpress_serials) = {