mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/arm/bcm2836: Introduce the BCM2835 SoC
Reviewed-by: Luc Michel <luc.michel@greensocs.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201024170127.3592182-7-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
f5600924ad
commit
df6cf08dea
3 changed files with 37 additions and 0 deletions
|
@ -70,6 +70,7 @@ FIELD(REV_CODE, MEMORY_SIZE, 20, 3);
|
|||
FIELD(REV_CODE, STYLE, 23, 1);
|
||||
|
||||
typedef enum RaspiProcessorId {
|
||||
PROCESSOR_ID_BCM2835 = 0,
|
||||
PROCESSOR_ID_BCM2836 = 1,
|
||||
PROCESSOR_ID_BCM2837 = 2,
|
||||
} RaspiProcessorId;
|
||||
|
@ -78,6 +79,7 @@ static const struct {
|
|||
const char *type;
|
||||
int cores_count;
|
||||
} soc_property[] = {
|
||||
[PROCESSOR_ID_BCM2835] = {TYPE_BCM2835, 1},
|
||||
[PROCESSOR_ID_BCM2836] = {TYPE_BCM2836, BCM283X_NCPUS},
|
||||
[PROCESSOR_ID_BCM2837] = {TYPE_BCM2837, BCM283X_NCPUS},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue