hw/mips/fuloong2e: Set CPU frequency to 533 MHz
commit3ca7639ff0077ef1869c88523360c017defecaad
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 12 Oct 2020 09:57:57 +0000 (12 11:57 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 17 Oct 2020 11:59:40 +0000 (17 13:59 +0200)
tree7cc144df41811f9e1a420dfdac5c701b90bdc88b
parentdccf092d67e05c76fe47ed92cab0aa59e77c6e08
hw/mips/fuloong2e: Set CPU frequency to 533 MHz

The CPU frequency is normally provided by the firmware in the
"cpuclock" environment variable. The 2E board can handles up
to 660MHz, but be conservative and take the same value used
by the Linux kernel: 533 MHz.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20201012095804.3335117-15-f4bug@amsat.org>
hw/mips/fuloong2e.c