Re: [PATCH 1/2] hw/arm/aspeed: allow missing spi_model

2022-03-04 Thread Cédric Le Goater
On 3/5/22 01:06, Patrick Williams wrote: Generally all BMCs will use the fmc_model to hold their own flash and most will have a spi_model to hold the managed system's flash, but not all systems do. Add a simple NULL check to allow a system to set the spi_model as NULL to indicate it should not b

[PATCH 1/2] hw/arm/aspeed: allow missing spi_model

2022-03-04 Thread Patrick Williams
Generally all BMCs will use the fmc_model to hold their own flash and most will have a spi_model to hold the managed system's flash, but not all systems do. Add a simple NULL check to allow a system to set the spi_model as NULL to indicate it should not be instantiated. Signed-off-by: Patrick Wil