summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5250/uart.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-04 20:42:12 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-05 23:37:36 +0100
commit15a66a10b53c257b549f6c9efe6355e39556a8c5 (patch)
tree347a9b5be2eb64a259f2cbbb12a746371ed80fe9 /src/cpu/samsung/exynos5250/uart.c
parent4c2aafe586d5214409b4de0affb5f743477d2f1c (diff)
downloadcoreboot-15a66a10b53c257b549f6c9efe6355e39556a8c5.tar.xz
snow: use bootblock build class for UART code
This gets rid of a bunch of copy + pasted code from Exynos UART files. Change-Id: I9fbb6d79a40a338c9fdecd495544ff207909fd37 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2286 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/samsung/exynos5250/uart.c')
-rw-r--r--src/cpu/samsung/exynos5250/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5250/uart.c b/src/cpu/samsung/exynos5250/uart.c
index b219f48632..f3ee0815f0 100644
--- a/src/cpu/samsung/exynos5250/uart.c
+++ b/src/cpu/samsung/exynos5250/uart.c
@@ -188,7 +188,7 @@ static void exynos5_uart_tx_byte(unsigned char data)
writeb(data, &uart->utxh);
}
-#ifndef __PRE_RAM__
+#if !defined(__PRE_RAM__) && !defined(__BOOT_BLOCK__)
static const struct console_driver exynos5_uart_console __console = {
.init = exynos5_init_dev,
.tx_byte = exynos5_uart_tx_byte,