aspeed: Load eMMC first boot area as a boot rom
authorCédric Le Goater <clg@kaod.org>
Wed, 17 Jul 2024 06:30:16 +0000 (08:30 +0200)
committerCédric Le Goater <clg@redhat.com>
Sun, 21 Jul 2024 05:46:38 +0000 (07:46 +0200)
commit255aed8134190966d0bd090c97391f6512c2fbc6
tree5a7708adbe6168cb5a898e46a6c9ea50591a2d96
parentdddfc771e034887560c30fd2720b7798c04f5642
aspeed: Load eMMC first boot area as a boot rom

The first boot area partition (64K) of the eMMC device should contain
an initial boot loader (u-boot SPL). Load it as a ROM only if an eMMC
device is available to boot from but no flash device is.

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