Re: [PATCH 2/6] aspeed: Rework aspeed_board_init_flashes() interface

2022-03-07 Thread Alistair Francis
On Mon, Mar 7, 2022 at 5:24 PM Cédric Le Goater wrote: > > 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

Re: [PATCH 2/6] aspeed: Rework aspeed_board_init_flashes() interface

2022-03-07 Thread Philippe Mathieu-Daudé
On 7/3/22 08:18, Cédric Le Goater wrote: 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

[PATCH 2/6] aspeed: Rework aspeed_board_init_flashes() interface

2022-03-06 Thread Cédric Le Goater
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). Signed-off-by: