[coreboot-gerrit] Patch set updated for coreboot: b00558d uart8250io: Fix build with DEBUG_SMI

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Sat Apr 26 07:53:18 CEST 2014


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5574

-gerrit

commit b00558dff5bc02ba1db4448a594698ecbabd5a0d
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Apr 23 10:28:59 2014 +0300

    uart8250io: Fix build with DEBUG_SMI
    
    Change-Id: I5110af348d22c0abc940f0922854fdd7e0c7e2e9
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/drivers/uart/uart8250io.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c
index e1fb39b..b2f234b 100644
--- a/src/drivers/uart/uart8250io.c
+++ b/src/drivers/uart/uart8250io.c
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <rules.h>
 #include <arch/io.h>
 #include <console/uart.h>
 #include <trace.h>
@@ -134,7 +135,7 @@ void uart_tx_flush(void)
 	uart8250_tx_flush(bases[0]);
 }
 
-#ifndef __PRE_RAM__
+#if ENV_RAMSTAGE
 void uart_fill_lb(void *data)
 {
 	struct lb_serial serial;



More information about the coreboot-gerrit mailing list