summaryrefslogtreecommitdiffstats
path: root/include/configs
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 /include/configs
parentdf8ec55d52c74a9c73df549da846f5e6c5acb5ab (diff)
downloadtalos-obmc-uboot-2e7eb12e5c81dedaff12b0cea2341dc681d8c726.tar.gz
talos-obmc-uboot-2e7eb12e5c81dedaff12b0cea2341dc681d8c726.zip
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 'include/configs')
-rw-r--r--include/configs/malta.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 04dca71036..1c3c83c25e 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -67,10 +67,10 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_NS16550_SERIAL
+#define CONFIG_SYS_NS16550_PORT_MAPPED
#define CONFIG_SYS_NS16550_REG_SIZE 1
#define CONFIG_SYS_NS16550_CLK (115200 * 16)
-#define CONFIG_SYS_NS16550_COM1 0xb80003f8
-#define CONFIG_SYS_NS16550_COM2 0xbb0003f8
+#define CONFIG_SYS_NS16550_COM1 0x3f8
#define CONFIG_CONS_INDEX 1
/*
OpenPOWER on IntegriCloud