[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/15] ppc/ppc405: Remove flash support
From: |
Cédric Le Goater |
Subject: |
[PATCH 08/15] ppc/ppc405: Remove flash support |
Date: |
Mon, 6 Dec 2021 11:37:05 +0100 |
It is currently impossible to find a "ppc405_rom.bin" firmware file or
a full flash image for the PPC405EP evalution board. Even if it should
be technically possible to recreate such an image, it's unlikely that
anyone will do it since the board is obsolete and support in QEMU has
been broken for about 10 years.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
hw/ppc/ppc405_boards.c | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/hw/ppc/ppc405_boards.c b/hw/ppc/ppc405_boards.c
index 60dc81fa4880..a385e8f15070 100644
--- a/hw/ppc/ppc405_boards.c
+++ b/hw/ppc/ppc405_boards.c
@@ -161,7 +161,6 @@ static void ref405ep_init(MachineState *machine)
long kernel_size, initrd_size;
int linux_boot;
int len;
- DriveInfo *dinfo;
MemoryRegion *sysmem = get_system_memory();
DeviceState *uicdev;
@@ -189,19 +188,8 @@ static void ref405ep_init(MachineState *machine)
memory_region_init_ram(sram, NULL, "ef405ep.sram", PPC405EP_SRAM_SIZE,
&error_fatal);
memory_region_add_subregion(sysmem, PPC405EP_SRAM_BASE, sram);
+
/* allocate and load BIOS */
-#ifdef USE_FLASH_BIOS
- dinfo = drive_get(IF_PFLASH, 0, 0);
- if (dinfo) {
- bios_size = 8 * MiB;
- pflash_cfi02_register((uint32_t)(-bios_size),
- "ef405ep.bios", bios_size,
- blk_by_legacy_dinfo(dinfo),
- 64 * KiB, 1,
- 2, 0x0001, 0x22DA, 0x0000, 0x0000, 0x555, 0x2AA,
- 1);
- } else
-#endif
{
bios = g_new(MemoryRegion, 1);
memory_region_init_rom(bios, NULL, "ef405ep.bios", BIOS_SIZE,
--
2.31.1
- Re: [PATCH 07/15] ppc/ppc405: Add some address space definitions, (continued)
- [PATCH 03/15] ppc: Add trace-events for DCR accesses, Cédric Le Goater, 2021/12/06
- [PATCH 09/15] ppc/ppc405: Rework FW load, Cédric Le Goater, 2021/12/06
- [PATCH 11/15] ppc/ppc405: Fix boot from kernel, Cédric Le Goater, 2021/12/06
- [PATCH 14/15] ppc/ppc405: Add update of bi_procfreq field, Cédric Le Goater, 2021/12/06
- [PATCH 08/15] ppc/ppc405: Remove flash support,
Cédric Le Goater <=
- [PATCH 05/15] ppc/ppc405: Drop flag parameter in ppc405_set_bootinfo(), Cédric Le Goater, 2021/12/06
- [PATCH 12/15] ppc/ppc405: Change default PLL values at reset, Cédric Le Goater, 2021/12/06
- [PATCH 10/15] ppc/ppc405: Introduce ppc405_set_default_bootinfo(), Cédric Le Goater, 2021/12/06
- [PATCH 15/15] ppc/ppc405: Update U-Boot board information for hotfoot, Cédric Le Goater, 2021/12/06
Re: [PATCH 00/15] ppc/ppc405: decade cleanup, Cédric Le Goater, 2021/12/15