qemu-patch-raspberry4/hw/mips
Paul Burton 02bccc7796 mips_malta: generate SPD EEPROM data at runtime
The SPD EEPROM specifies the amount of memory present in the system and
thus its correct contents can only be known at runtime. Calculating
parts of the data on init allows the data to accurately reflect the
amount of target memory present and allow YAMON to boot with an
arbitrary amount of SDRAM.

Where possible the SPD data will favor indicating 2 banks of SDRAM
rather than 1. For example the default 128MB of target memory will be
represented as 2x64MB banks rather than 1x128MB bank. This allows
versions of MIPS BIOS code (such as YAMON 2.22 and older) to boot
despite a bug preventing them from handling a single bank of SDRAM with
the Galileo GT64120 system controller emulated by QEMU.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-07-28 19:59:22 +02:00
..
addr.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
cputimer.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
gt64xxx_pci.c mips_malta: do not use isa_mmio 2013-07-25 08:12:27 -05:00
Makefile.objs hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
mips_fulong2e.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_int.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mips_jazz.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_malta.c mips_malta: generate SPD EEPROM data at runtime 2013-07-28 19:59:22 +02:00
mips_mipssim.c mips: degrade BIOS error to warning 2013-07-25 08:12:27 -05:00
mips_r4k.c mips_r4k: do not use isa_mmio 2013-07-25 08:12:27 -05:00