hw/arm/omap_sx1: map CS3 at the correct base
omap_sx1 wires the "sx1.cs3" region to OMAP_CS2_BASE instead of OMAP_CS3_BASE. That places both CS2 and CS3 at the same address and leaves the real CS3 window unmapped. Point the CS3 region at OMAP_CS3_BASE so the static chip-select layout matches the OMAP address definitions. Signed-off-by: GuoHan Zhao <zhaoguohan@kylinos.cn> Fixes: ba1580299d0 ("omap_sx1: convert to memory API") Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260403014441.38725-1-zhaoguohan@kylinos.cn> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
GuoHan Zhao committed
Apr 3, 2026 at 09:44 UTC
9b3faf0d497b2be53782e26de1ae099af1d01c78
1 file changed
+1
-1
hw/arm/omap_sx1.c
+1
-1
@@ -146,7 +146,7 @@ static void sx1_init(MachineState *machine, const int version)
146
memory_region_init_io(&cs[3], NULL, &static_ops, &cs3val,
147
"sx1.cs3", OMAP_CS3_SIZE);
148
memory_region_add_subregion(address_space,
149
- OMAP_CS2_BASE, &cs[3]);
149
+ OMAP_CS3_BASE, &cs[3]);
150
151
fl_idx = 0;
152
if ((dinfo = drive_get(IF_PFLASH, 0, fl_idx)) != NULL) {