aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart/oxpcie_early.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart/oxpcie_early.c')
-rw-r--r--src/drivers/uart/oxpcie_early.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c
index 42f7966e03..2a01cb60b7 100644
--- a/src/drivers/uart/oxpcie_early.c
+++ b/src/drivers/uart/oxpcie_early.c
@@ -79,12 +79,12 @@ uintptr_t uart_platform_base(int idx)
return 0;
}
-#ifndef __PRE_RAM__
void oxford_remap(u32 new_base)
{
+#if ENV_RAMSTAGE
uart0_base = new_base + 0x1000;
-}
#endif
+}
unsigned int uart_platform_refclk(void)
{