mbox series

[0/5] hw: Cleanups around PFLASH use

Message ID 20230109120154.2868-1-philmd@linaro.org
Headers show
Series hw: Cleanups around PFLASH use | expand

Message

Philippe Mathieu-Daudé Jan. 9, 2023, 12:01 p.m. UTC
Trivial cleanups before PFLASH refactor:

- Remove unreachable error path calling pflash_cfi01_register()
- Add FLASH_SECTOR_SIZE definitions
- Use more IEC binary prefix definition

Philippe Mathieu-Daudé (5):
  hw/ppc/sam460ex: Remove unreachable code calling
    pflash_cfi01_register()
  hw/microblaze/petalogix: Add FLASH_SECTOR_SIZE definitions
  hw/mips/malta: Add the FLASH_SECTOR_SIZE definition
  hw/sh4/r2d: Use the IEC binary prefix definitions
  hw/sh4/r2d: Add the FLASH_SECTOR_SIZE definition

 hw/microblaze/petalogix_ml605_mmu.c      |  3 ++-
 hw/microblaze/petalogix_s3adsp1800_mmu.c |  3 ++-
 hw/mips/malta.c                          |  5 +++--
 hw/ppc/sam460ex.c                        | 12 ++++--------
 hw/sh4/r2d.c                             | 13 +++++++------
 5 files changed, 18 insertions(+), 18 deletions(-)