diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:17 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:17 +0100 |
commit | e3931ecab32d993fa89802b3a8af39f3ea957b3d (patch) | |
tree | 95eaa1255498751f74cab273a4b867b08b50f753 /hw/ppc/ppc405.h | |
parent | 13d63de59bf31119f3d47e638a64b27da86e1a5f (diff) | |
download | qemu-e3931ecab32d993fa89802b3a8af39f3ea957b3d.zip qemu-e3931ecab32d993fa89802b3a8af39f3ea957b3d.tar.gz qemu-e3931ecab32d993fa89802b3a8af39f3ea957b3d.tar.bz2 |
ppc/ppc405: Introduce ppc405_set_default_bootinfo()
This routine is a small helper to cleanup the code. The update of the
flash fields were removed because there are not of any use when booting
from a Linux kernel image. It should be functionally equivalent.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20211206103712.1866296-11-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/ppc/ppc405.h')
-rw-r--r-- | hw/ppc/ppc405.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/ppc405.h b/hw/ppc/ppc405.h index ea48c36..6fb8b41 100644 --- a/hw/ppc/ppc405.h +++ b/hw/ppc/ppc405.h @@ -63,7 +63,7 @@ struct ppc4xx_bd_info_t { }; /* PowerPC 405 core */ -ram_addr_t ppc405_set_bootinfo(CPUPPCState *env, ppc4xx_bd_info_t *bd); +ram_addr_t ppc405_set_bootinfo(CPUPPCState *env, ram_addr_t ram_size); void ppc4xx_plb_init(CPUPPCState *env); void ppc405_ebc_init(CPUPPCState *env); |