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>
This commit is contained in:
parent
3716f3957b
commit
044e4b5745
|
@ -26,7 +26,7 @@
|
||||||
#define RX_FIFO_FULL_MASK (1 << 8)
|
#define RX_FIFO_FULL_MASK (1 << 8)
|
||||||
#define TX_FIFO_FULL_MASK (1 << 24)
|
#define TX_FIFO_FULL_MASK (1 << 24)
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* The coefficient, used to calculate the baudrate on S5P UARTs is
|
* The coefficient, used to calculate the baudrate on S5P UARTs is
|
||||||
* calculated as
|
* calculated as
|
||||||
|
@ -52,6 +52,7 @@ static const int udivslot[] = {
|
||||||
0xdfdf,
|
0xdfdf,
|
||||||
0xffdf,
|
0xffdf,
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static void serial_setbrg_dev(struct s5p_uart *uart)
|
static void serial_setbrg_dev(struct s5p_uart *uart)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#define RX_FIFO_FULL_MASK (1 << 8)
|
#define RX_FIFO_FULL_MASK (1 << 8)
|
||||||
#define TX_FIFO_FULL_MASK (1 << 24)
|
#define TX_FIFO_FULL_MASK (1 << 24)
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* The coefficient, used to calculate the baudrate on S5P UARTs is
|
* The coefficient, used to calculate the baudrate on S5P UARTs is
|
||||||
* calculated as
|
* calculated as
|
||||||
|
@ -52,6 +52,7 @@ static const int udivslot[] = {
|
||||||
0xdfdf,
|
0xdfdf,
|
||||||
0xffdf,
|
0xffdf,
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static void serial_setbrg_dev(struct s5p_uart *uart)
|
static void serial_setbrg_dev(struct s5p_uart *uart)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue