[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/8] aspeed: Add boot from eMMC support (AST2600)
From: |
Cédric Le Goater |
Subject: |
[PATCH v2 0/8] aspeed: Add boot from eMMC support (AST2600) |
Date: |
Wed, 17 Jul 2024 08:30:14 +0200 |
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(-)
--
2.45.2
- [PATCH v2 0/8] aspeed: Add boot from eMMC support (AST2600),
Cédric Le Goater <=
- [PATCH v2 1/8] aspeed: Change type of eMMC device, Cédric Le Goater, 2024/07/17
- [PATCH v2 2/8] aspeed: Load eMMC first boot area as a boot rom, Cédric Le Goater, 2024/07/17
- [PATCH v2 4/8] aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handler, Cédric Le Goater, 2024/07/17
- [PATCH v2 3/8] aspeed/scu: Add boot-from-eMMC HW strapping bit for AST2600 SoC, Cédric Le Goater, 2024/07/17
- [PATCH v2 5/8] aspeed: Tune eMMC device properties to reflect HW strapping, Cédric Le Goater, 2024/07/17
- [PATCH v2 6/8] aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine, Cédric Le Goater, 2024/07/17
- [PATCH v2 8/8] aspeed: Introduce a 'boot-emmc' machine option, Cédric Le Goater, 2024/07/17
- [PATCH v2 7/8] aspeed: Introduce a 'hw_strap1' machine attribute, Cédric Le Goater, 2024/07/17