From 044e4b574548e1b416acf6b17d56093096985e90 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 4 May 2016 17:26:53 -0700 Subject: soc/samsung: Don't compile in unused uart divider tables Change-Id: I58b2c3c52444d9a755d05529992507086a423f1a Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/14620 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- src/soc/samsung/exynos5250/uart.c | 3 ++- src/soc/samsung/exynos5420/uart.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/soc') 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) { -- cgit v1.2.3