From fc9a192d3433eba1e8b191b0f2b1795cc9123fad Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Sat, 4 Jan 2025 22:19:01 +0100 Subject: [PATCH] mb/emulation/spike-riscv/uart.c: Update UART address Spike Simulator commit 191634d2854d implemented a ns16550 serial device which puts the base address at 0x10000000. Tested: Start Spike Simulator and see that coreboot prints onto the UART. Signed-off-by: Maximilian Brune Change-Id: I0e3db9d8b141c733bf609f906018096e3594ce83 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85852 Reviewed-by: Nicholas Chin Tested-by: build bot (Jenkins) --- src/mainboard/emulation/spike-riscv/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/emulation/spike-riscv/uart.c b/src/mainboard/emulation/spike-riscv/uart.c index 4ea2466878..e93594c560 100644 --- a/src/mainboard/emulation/spike-riscv/uart.c +++ b/src/mainboard/emulation/spike-riscv/uart.c @@ -5,5 +5,5 @@ uintptr_t uart_platform_base(unsigned int idx) { - return (uintptr_t)0x02100000; + return (uintptr_t)0x10000000; }