hw/ssi: Make flash size a property in NPCM7XX FIU
authorHao Wu <wuhaotsh@google.com>
Wed, 19 Feb 2025 18:45:54 +0000 (10:45 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2025 14:20:29 +0000 (14:20 +0000)
commite9be8467b42f7e2af70694422f4b4d8afe82bf4e
tree8b968e869ac09ec41ba5c81ff86e74f129748230
parent269b7effd906d6b22071971b7f5b4cb344403b86
hw/ssi: Make flash size a property in NPCM7XX FIU

This allows different FIUs to have different flash sizes, useful
in NPCM8XX which has multiple different sized FIU modules.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@linaro.org>
Message-id: 20250219184609.1839281-4-wuhaotsh@google.com
[PMM: flash_size must be a uint64_t to build on 32-bit hosts]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/npcm7xx.c
hw/ssi/npcm7xx_fiu.c
include/hw/ssi/npcm7xx_fiu.h