aboutsummaryrefslogtreecommitdiff
path: root/hw/cpu
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-01-29 11:46:05 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-01-29 11:46:05 +0000
commit597d6bb3e8a93c4c0670df93f07c321ae84d2930 (patch)
tree9805fce96bf95bc0eab98c975b2a18f939890152 /hw/cpu
parentb617ca9223353624000017e2fa499d6d3296b293 (diff)
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>
Diffstat (limited to 'hw/cpu')
0 files changed, 0 insertions, 0 deletions