On 7/17/24 08:30, Cédric Le Goater wrote:
> Hello,
>
> This series enables boot from eMMC on the rainier-bmc machine, which
> is the default behavior and also on the AST2600 EVB using a machine
> option to change the default.
>
> First 6 patches adjust the machine setup and HW strapping to boot from
> eMMC, the last 2 are for the AST2600 EVB and are optional.
>
> Thanks,
>
> C.
>
> Changes since v1:
>
> - Rebased on upstream, now that the eMMC device model is available
> - Rephrased commit logs
> - Fixed SCU prefix of bit definitions
> - Tuned 'boot-config' and 'boot-partition-size' eMMC properties
>
> Cédric Le Goater (8):
> aspeed: Change type of eMMC device
> aspeed: Load eMMC first boot area as a boot rom
> aspeed/scu: Add boot-from-eMMC HW strapping bit for AST2600 SoC
> aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handler
> aspeed: Tune eMMC device properties to reflect HW strapping
> aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine
> aspeed: Introduce a 'hw_strap1' machine attribute
> aspeed: Introduce a 'boot-emmc' machine option
>
> docs/system/arm/aspeed.rst | 2 ++
> include/hw/arm/aspeed_soc.h | 1 +
> include/hw/misc/aspeed_scu.h | 4 +++
> hw/arm/aspeed.c | 62 +++++++++++++++++++++++++++++++-----
> hw/arm/aspeed_ast2600.c | 8 +++++
> hw/arm/aspeed_soc_common.c | 7 ++++
> 6 files changed, 76 insertions(+), 8 deletions(-)
>
Applied to aspeed-next.
Thanks,
C.