summaryrefslogtreecommitdiff
path: root/src/cpu/samsung
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-15 19:32:01 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-19 19:01:52 +0100
commit82682d50ec8d0850020a57db1911f91748811a2e (patch)
tree47ba69214f1f350dd62a14585e62e69b26bae3e1 /src/cpu/samsung
parentfdcef1ace9ee75f7db50fabcf200f9e699bfbba0 (diff)
downloadcoreboot-82682d50ec8d0850020a57db1911f91748811a2e.tar.xz
exynos5250: add uartmem_getbaseaddr() in uart driver
Change-Id: I76545ad3fca3cc0997050253be77ea83b5d74cb2 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2423 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/cpu/samsung')
-rw-r--r--src/cpu/samsung/exynos5250/uart.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5250/uart.c b/src/cpu/samsung/exynos5250/uart.c
index 3e80017a2c..c17a417cee 100644
--- a/src/cpu/samsung/exynos5250/uart.c
+++ b/src/cpu/samsung/exynos5250/uart.c
@@ -201,6 +201,11 @@ static const struct console_driver exynos5_uart_console __console = {
.rx_byte = exynos5_uart_rx_byte,
// .tst_byte = exynos5_uart_tst_byte,
};
+
+uint32_t uartmem_getbaseaddr(void)
+{
+ return base_port;
+}
#else
void uart_init(void)
{