aspeed: Tune eMMC device properties to reflect HW strapping
authorCédric Le Goater <clg@kaod.org>
Wed, 17 Jul 2024 06:30:19 +0000 (08:30 +0200)
committerCédric Le Goater <clg@redhat.com>
Sun, 21 Jul 2024 05:46:38 +0000 (07:46 +0200)
commite554e45b447880e37538d300ac6e12111788ac4f
treef4c2982b4acdcf298daeb65635dd113e068f3971
parenteea55625df839813c66c5e2e8f41d9131d591f6c
aspeed: Tune eMMC device properties to reflect HW strapping

When the boot-from-eMMC HW strapping bit is set, use the 'boot-config'
property to set the boot config register to boot from the first boot
area partition of the eMMC device. Also set the boot partition size
of the device.

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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/aspeed.c