mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/misc/bcm2835_property: Handle CORE_CLK_ID firmware property
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20230612223456.33824-5-philmd@linaro.org Message-Id: <20230531155258.8361-1-sergey.kambalin@auriga.com> [PMD: Split from bigger patch: 3/4] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> [PMM: added a comment about RPI_FIRMWARE_CORE_CLK_RATE really being SoC-specific] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5dc496363a
commit
074259c0f2
2 changed files with 8 additions and 0 deletions
|
@ -173,6 +173,11 @@
|
|||
/* Clock rates */
|
||||
#define RPI_FIRMWARE_EMMC_CLK_RATE 50000000
|
||||
#define RPI_FIRMWARE_UART_CLK_RATE 3000000
|
||||
/*
|
||||
* TODO: this is really SoC-specific; we might want to
|
||||
* set it per-SoC if it turns out any guests care.
|
||||
*/
|
||||
#define RPI_FIRMWARE_CORE_CLK_RATE 350000000
|
||||
#define RPI_FIRMWARE_DEFAULT_CLK_RATE 700000000
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue