aboutsummaryrefslogtreecommitdiff
path: root/board/logicpd
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-06-08 09:22:30 -0500
committerTom Rini <trini@konsulko.com>2018-06-13 07:49:14 -0400
commite3b1aaa4e0340b986513a9a54a57cb0244cbabd2 (patch)
tree6f1353ebc1df8dff5fef1511d2c808bc7e0abfec /board/logicpd
parenteae8291913e5561695e62a7b7b82e97157313ac3 (diff)
downloadu-boot-e3b1aaa4e0340b986513a9a54a57cb0244cbabd2.zip
u-boot-e3b1aaa4e0340b986513a9a54a57cb0244cbabd2.tar.gz
u-boot-e3b1aaa4e0340b986513a9a54a57cb0244cbabd2.tar.bz2
ARM: am3517_evm: Enable SPL_OF_CONTROL and SPL_OF_PLATDATA
The SPL doesn't have much room, so in order to support OF_CONTROL in SPL, we need the extra functionality of SPL_OF_PLATDATA. Adding these features allows us to remove a small part of code without losing the serial port during SPL. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board/logicpd')
-rw-r--r--board/logicpd/am3517evm/am3517evm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c
index bcd3588..da8be22 100644
--- a/board/logicpd/am3517evm/am3517evm.c
+++ b/board/logicpd/am3517evm/am3517evm.c
@@ -37,20 +37,6 @@ DECLARE_GLOBAL_DATA_PTR;
#define CPGMACSS_SW_RST (1 << 1)
#define PHY_GPIO 30
-/* This is only needed until SPL gets OF support */
-#ifdef CONFIG_SPL_BUILD
-static const struct ns16550_platdata am3517_serial = {
- .base = OMAP34XX_UART3,
- .reg_shift = 2,
- .clock = V_NS16550_CLK,
- .fcr = UART_FCR_DEFVAL,
-};
-
-U_BOOT_DEVICE(am3517_uart) = {
- "ns16550_serial",
- &am3517_serial
-};
-#endif
/*
* Routine: board_init