Cédric Le Goater 597d6bb3e8 aspeed/smc: define registers for all possible CS
The model should expose one control register per possible CS. When
testing the validity of the register number in the read operation,
replace 's->num_cs' by 'ctrl->max_slaves' which represents the maximum
number of flash devices a controller can handle.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-id: 20190124140519.13838-3-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-29 11:46:05 +00:00
..
2019-01-24 13:10:19 +01:00
2019-01-17 21:10:57 -05:00
2019-01-07 15:23:45 +00:00
2018-10-24 06:44:59 -03:00
2019-01-21 17:53:28 +00:00
2019-01-14 19:31:04 -05:00
2016-01-29 15:07:25 +00:00
2019-01-11 15:46:55 +01:00