[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/6] aspeed/smc: Use max number of CE instead of 'num_cs'
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 1/6] aspeed/smc: Use max number of CE instead of 'num_cs' |
Date: |
Mon, 7 Mar 2022 11:19:36 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
On 7/3/22 08:18, Cédric Le Goater wrote:
The Aspeed SMC model uses the 'num_cs' field to allocate resources
fitting the number of devices of the machine. This is a small
optimization without real need in the controller. Simplify modelling
and use the max_peripherals field instead.
"(which by the way is not very descriptive, but we are going to
rename it to 'cs_num_max' in a pair of commits)."
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
hw/ssi/aspeed_smc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH 6/6] aspeed/smc: Fix error log, (continued)
- [PATCH 6/6] aspeed/smc: Fix error log, Cédric Le Goater, 2022/03/07
- [PATCH 5/6] aspeed/smc: Let the SSI core layer define the bus name, Cédric Le Goater, 2022/03/07
- [PATCH 4/6] aspeed/smc: Rename 'max_peripherals' to 'max_cs', Cédric Le Goater, 2022/03/07
- [PATCH 1/6] aspeed/smc: Use max number of CE instead of 'num_cs', Cédric Le Goater, 2022/03/07
- [PATCH 2/6] aspeed: Rework aspeed_board_init_flashes() interface, Cédric Le Goater, 2022/03/07