aspeed: Introduce a 'boot-emmc' machine option
authorCédric Le Goater <clg@kaod.org>
Wed, 17 Jul 2024 06:30:22 +0000 (08:30 +0200)
committerCédric Le Goater <clg@redhat.com>
Sun, 21 Jul 2024 05:46:38 +0000 (07:46 +0200)
commit056b779eaf10ab84e8ca9d02662a975f4de3d3b1
tree255965ccae866dbcf079e96906e7bab1389ba034
parent621845a9e38215977432cff8c946b78f6820c6b5
aspeed: Introduce a 'boot-emmc' machine option

The default behavior of some Aspeed machines is to boot from the eMMC
device, like the rainier-bmc. Others like ast2600-evb could also boot
from eMMC if the HW strapping boot-from-eMMC bit was set. Add a
property to set or unset this bit. This is useful to test boot images.

For now, only activate this property on the ast2600-evb and rainier-bmc
machines for which eMMC images are available or can be built.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
docs/system/arm/aspeed.rst
hw/arm/aspeed.c