diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-02-01 14:55:42 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-02-01 14:55:42 +0000 |
| commit | 4b635cf7a95e5012113570a87e134962a0271a27 (patch) | |
| tree | 89952d71aacae52c0cbc695eb3222b5c48bc004c /include/hw/arm/armsse.h | |
| parent | f0cab7fe88e1751209d6f3d8b9bac04b09b2e7ea (diff) | |
| download | focaccia-qemu-4b635cf7a95e5012113570a87e134962a0271a27.tar.gz focaccia-qemu-4b635cf7a95e5012113570a87e134962a0271a27.zip | |
hw/arm/armsse: Make SRAM bank size configurable
For the IoTKit the SRAM bank size is always 32K (15 bits); for the SSE-200 this is a configurable parameter, which defaults to 32K but can be changed when it is built into a particular SoC. For instance the Musca-B1 board sets it to 128K (17 bits). Make the bank size a QOM property. We follow the SSE-200 hardware in naming the parameter SRAM_ADDR_WIDTH, which specifies the number of address bits of a single SRAM bank. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190121185118.18550-11-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm/armsse.h')
| -rw-r--r-- | include/hw/arm/armsse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/armsse.h b/include/hw/arm/armsse.h index 99714aa63c..e4a0501331 100644 --- a/include/hw/arm/armsse.h +++ b/include/hw/arm/armsse.h @@ -146,6 +146,7 @@ typedef struct ARMSSE { MemoryRegion *board_memory; uint32_t exp_numirq; uint32_t mainclk_frq; + uint32_t sram_addr_width; } ARMSSE; typedef struct ARMSSEInfo ARMSSEInfo; |