the following patch was just integrated into master:
commit 497df496adb6e0d3d3a7d357af4ebb0cd8bcbf70
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sun Dec 29 18:27:56 2013 -0500
console/uart8250*: Remove inclusion of mc146818rtc.h
The RTC functionality provided by the include is specific to x86, but
is not used in these files.
Change-Id: I82d0dfdb6e8b67bc81291a7a5d63ced91e095772
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
See http://review.coreboot.org/4586 for details.
-gerrit
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4586
-gerrit
commit 497df496adb6e0d3d3a7d357af4ebb0cd8bcbf70
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sun Dec 29 18:27:56 2013 -0500
console/uart8250*: Remove inclusion of mc146818rtc.h
The RTC functionality provided by the include is specific to x86, but
is not used in these files.
Change-Id: I82d0dfdb6e8b67bc81291a7a5d63ced91e095772
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/console/uart8250_console.c | 1 -
src/console/uart8250mem_console.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/console/uart8250_console.c b/src/console/uart8250_console.c
index 330ed68..196412c 100644
--- a/src/console/uart8250_console.c
+++ b/src/console/uart8250_console.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <uart8250.h>
-#include <pc80/mc146818rtc.h>
static void ttyS0_init(void)
{
diff --git a/src/console/uart8250mem_console.c b/src/console/uart8250mem_console.c
index ed77237..3833e47 100644
--- a/src/console/uart8250mem_console.c
+++ b/src/console/uart8250mem_console.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <uart8250.h>
-#include <pc80/mc146818rtc.h>
static u32 uart_bar = 0;
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4585
-gerrit
commit b8eefbecafad0d1f0a5efcc1d1b81d5716c90d73
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sun Dec 29 18:13:58 2013 -0500
uart8250.h: Do not guard entire include file by config options
Do not guard the file by CONFIG_CONSOLE_SERIAL8250 or
CONFIG_CONSOLE_SERIAL8250MEM. The config-specific options are already
properly guarded, and there is no need to guard the register and bit
definitions.
Change-Id: I7528b18cdc62bc5c22486f037e14002838a2176e
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/include/uart8250.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/include/uart8250.h b/src/include/uart8250.h
index bec3637..a3868c5 100644
--- a/src/include/uart8250.h
+++ b/src/include/uart8250.h
@@ -20,8 +20,6 @@
#ifndef UART8250_H
#define UART8250_H
-#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
-
/* Data */
#define UART_RBR 0x00
#define UART_TBR 0x00
@@ -141,6 +139,4 @@ void oxford_init(void);
#endif
#endif
-#endif /* CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM */
-
#endif /* UART8250_H */