summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-05-04 17:26:53 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-05-11 21:21:41 +0200
commit044e4b574548e1b416acf6b17d56093096985e90 (patch)
tree17e6ad2737a7439f30fd18d67e9e0bdbec3f9f7e
parent3716f3957b4a0acff889cc3ddcbedf502a17a870 (diff)
downloadcoreboot-044e4b574548e1b416acf6b17d56093096985e90.tar.xz
soc/samsung: Don't compile in unused uart divider tables
Change-Id: I58b2c3c52444d9a755d05529992507086a423f1a Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14620 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r--src/soc/samsung/exynos5250/uart.c3
-rw-r--r--src/soc/samsung/exynos5420/uart.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/samsung/exynos5250/uart.c b/src/soc/samsung/exynos5250/uart.c
index 41ef4ae628..07f1e34cce 100644
--- a/src/soc/samsung/exynos5250/uart.c
+++ b/src/soc/samsung/exynos5250/uart.c
@@ -26,7 +26,7 @@
#define RX_FIFO_FULL_MASK (1 << 8)
#define TX_FIFO_FULL_MASK (1 << 24)
-
+#if 0
/*
* The coefficient, used to calculate the baudrate on S5P UARTs is
* calculated as
@@ -52,6 +52,7 @@ static const int udivslot[] = {
0xdfdf,
0xffdf,
};
+#endif
static void serial_setbrg_dev(struct s5p_uart *uart)
{
diff --git a/src/soc/samsung/exynos5420/uart.c b/src/soc/samsung/exynos5420/uart.c
index 359050abb2..00ed43298e 100644
--- a/src/soc/samsung/exynos5420/uart.c
+++ b/src/soc/samsung/exynos5420/uart.c
@@ -26,7 +26,7 @@
#define RX_FIFO_FULL_MASK (1 << 8)
#define TX_FIFO_FULL_MASK (1 << 24)
-
+#if 0
/*
* The coefficient, used to calculate the baudrate on S5P UARTs is
* calculated as
@@ -52,6 +52,7 @@ static const int udivslot[] = {
0xdfdf,
0xffdf,
};
+#endif
static void serial_setbrg_dev(struct s5p_uart *uart)
{