summaryrefslogtreecommitdiff
path: root/board/bmw/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bmw/serial.c')
-rw-r--r--board/bmw/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bmw/serial.c b/board/bmw/serial.c
index 712a95b19e..0c97f1288f 100644
--- a/board/bmw/serial.c
+++ b/board/bmw/serial.c
@@ -28,10 +28,10 @@ DECLARE_GLOBAL_DATA_PTR;
#if CONFIG_CONS_INDEX == 1
static struct NS16550 *console =
- (struct NS16550 *) (CFG_EUMB_ADDR + 0x4500);
+ (struct NS16550 *) (CONFIG_SYS_EUMB_ADDR + 0x4500);
#elif CONFIG_CONS_INDEX == 2
static struct NS16550 *console =
- (struct NS16550 *) (CFG_EUMB_ADDR + 0x4500);
+ (struct NS16550 *) (CONFIG_SYS_EUMB_ADDR + 0x4500);
#else
#error no valid console defined
#endif