diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-03-08 09:18:11 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-03-08 09:18:11 +0100 |
commit | 9bd4ac61c7e7e5cc84d1d6fd1f70cc88b0ac95f7 (patch) | |
tree | 12b3bebdd7a29c5b5e01efcb60bc102ce2a7403c /include | |
parent | dcacfa945103d179e71bb1c853f2a13aca5ca4b0 (diff) | |
download | qemu-9bd4ac61c7e7e5cc84d1d6fd1f70cc88b0ac95f7.zip qemu-9bd4ac61c7e7e5cc84d1d6fd1f70cc88b0ac95f7.tar.gz qemu-9bd4ac61c7e7e5cc84d1d6fd1f70cc88b0ac95f7.tar.bz2 |
aspeed: Rework aspeed_board_init_flashes() interface
Currently, the allocation of the flash devices uses the number of
slave selects configured in the SoC realize routine. It is simpler to
use directly the number of FMC devices defined in the machine class
and 1 for spi devices (which is what the SoC does in the back of the
machine).
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220307071856.1410731-3-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions