]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
hw/arm/cubieboard: restrict allowed RAM size to 512MiB and 1GiB
authorNiek Linnenbank <nieklinnenbank@gmail.com>
Thu, 5 Mar 2020 16:09:19 +0000 (16:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Mar 2020 16:09:19 +0000 (16:09 +0000)
commite207245fc20aab00faf4d9c4c63fcc170e7a3ba7
tree415a48f345421ae1db5d009a904bfc801e89b4f4
parent17c7576263339f20d77964083704f3da4e4b8c91
hw/arm/cubieboard: restrict allowed RAM size to 512MiB and 1GiB

The Cubieboard contains either 512MiB or 1GiB of onboard RAM [1].
Prevent changing RAM to a different size which could break user programs.

 [1] http://linux-sunxi.org/Cubieboard

Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20200227220149.6845-4-nieklinnenbank@gmail.com
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/cubieboard.c