summaryrefslogtreecommitdiff
path: root/board/imgtec
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-05-17 07:43:27 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-26 01:34:13 +0200
commit2e7eb12e5c81dedaff12b0cea2341dc681d8c726 (patch)
treeb9b83a1f687516b58254cc3bff3b59c6b90e3c5f /board/imgtec
parentdf8ec55d52c74a9c73df549da846f5e6c5acb5ab (diff)
downloadu-boot-imx-2e7eb12e5c81dedaff12b0cea2341dc681d8c726.zip
u-boot-imx-2e7eb12e5c81dedaff12b0cea2341dc681d8c726.tar.gz
u-boot-imx-2e7eb12e5c81dedaff12b0cea2341dc681d8c726.tar.bz2
malta: Tidy up UART address selection
The address of the UART differs based upon the system controller because it's actually within the I/O port region, which is in a different location for each system controller. Rather than handling this as 2 UARTs with the correct one selected at runtime, use I/O port accessors for the UART such that access to it gets translated into the I/O port region automatically. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'board/imgtec')
-rw-r--r--board/imgtec/malta/malta.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c
index 3a9e780..4955043 100644
--- a/board/imgtec/malta/malta.c
+++ b/board/imgtec/malta/malta.c
@@ -12,7 +12,6 @@
#include <pci_gt64120.h>
#include <pci_msc01.h>
#include <rtc.h>
-#include <serial.h>
#include <asm/addrspace.h>
#include <asm/io.h>
@@ -161,18 +160,6 @@ int misc_init_r(void)
return 0;
}
-struct serial_device *default_serial_console(void)
-{
- switch (malta_sys_con()) {
- case SYSCON_GT64120:
- return &eserial1_device;
-
- default:
- case SYSCON_MSC01:
- return &eserial2_device;
- }
-}
-
void pci_init_board(void)
{
pci_dev_t bdf;