hw/arm/mainstone: Use the IEC binary prefix definitions
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Jan 2023 11:53:10 +0000 (12:53 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 17:03:14 +0000 (17:03 +0000)
commitc0e3a4bf7710a90e94477d945da3559bf4a5b490
tree73466a49675d1c9a3fe49bec47b6243e48fc7853
parent38cb336fe9d47507da5177c3d349532d0af6885e
hw/arm/mainstone: Use the IEC binary prefix definitions

IEC binary prefixes ease code review: the unit is explicit.

Add the FLASH_SECTOR_SIZE definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109115316.2235-8-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mainstone.c