From d8bafe1310487ba0e0785997726b4792072178d3 Mon Sep 17 00:00:00 2001 From: David Feng Date: Sat, 31 Jan 2015 11:55:29 +0800 Subject: ARMv8: enable DM in vexpress64 board Signed-off-by: David Feng --- board/armltd/vexpress64/vexpress64.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'board/armltd/vexpress64') diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c index de6286435d..071d88c07d 100644 --- a/board/armltd/vexpress64/vexpress64.c +++ b/board/armltd/vexpress64/vexpress64.c @@ -12,9 +12,22 @@ #include #include #include +#include +#include DECLARE_GLOBAL_DATA_PTR; +static const struct pl01x_serial_platdata serial_platdata = { + .base = V2M_UART0, + .type = TYPE_PL011, + .clock = 2400 * 1000, +}; + +U_BOOT_DEVICE(vexpress_serials) = { + .name = "serial_pl01x", + .platdata = &serial_platdata, +}; + int board_init(void) { return 0; -- cgit v1.2.1