summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-23 10:28:59 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-26 15:09:07 +0200
commit4566d2e7cd32c1c2bdcc85a09c580e9f00f6b1dd (patch)
tree247c426de59c937336592fdf6ce19426fd987cd4 /src
parent6bedc274266b8b326860c2ab35ce8cb9ec7ccbb0 (diff)
downloadcoreboot-4566d2e7cd32c1c2bdcc85a09c580e9f00f6b1dd.tar.xz
uart8250io: Fix build with DEBUG_SMI
Change-Id: I5110af348d22c0abc940f0922854fdd7e0c7e2e9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5574 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/uart/uart8250io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c
index e1fb39b940..b2f234b283 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;