[coreboot-gerrit] New patch to review for coreboot: soc/samsung: Don't compile in unused uart divider tables
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Thu May 5 03:04:34 CEST 2016
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14620
-gerrit
commit 299eb1d440e4a78ac2ae735f9e0d5116df72e1f8
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Wed May 4 17:26:53 2016 -0700
soc/samsung: Don't compile in unused uart divider tables
Change-Id: I58b2c3c52444d9a755d05529992507086a423f1a
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
src/soc/samsung/exynos5250/uart.c | 3 ++-
src/soc/samsung/exynos5420/uart.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/soc/samsung/exynos5250/uart.c b/src/soc/samsung/exynos5250/uart.c
index 41ef4ae..07f1e34 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 359050a..00ed432 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)
{
More information about the coreboot-gerrit
mailing list