hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v12 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Move OTP layout definitions to aspeed_otp.h
- Add helpers for reading OTP configuration and strap settings
- Derive ABR and secure boot states using the new OTP helpers
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/nvram/aspeed_otp, hw/misc/aspeed_sbc: Consolidate OTP layout definitionshw/ include/ | +29 | 0 replies | |
| 2/3 | hw/misc/aspeed_sbc: Derive ABR state from OTP config strapshw/ hw/ include/ +1 more | +106 | 0 replies | |
| 3/3 | hw/misc/aspeed_sbc: Derive secure boot state from OTP confighw/ include/ | +13 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Cédric Le Goater |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting
The ABR and secure boot states are currently controlled by the "emmc-abr" and "signing-settings" machine properties.
On real hardware, these states are determined by the OTP configuration and reflected in the SBC status registers. This series updates the model to derive the ABR and secure boot states from OTP instead, and removes the corresponding machine properties.
The series also consolidates the OTP layout definitions and adds helpers for reading OTP configuration and strap settings.
Any feedback or suggestions are appreciated!
Kane
---
ChangeLog
---------
v2:
- Move OTP layout definitions to aspeed_otp.h
- Add helpers for reading OTP configuration and strap settings
- Derive ABR and secure boot states using the new OTP helpers
v1:
- Initial version
---
Kane-Chen-AS (3):
hw/nvram/aspeed_otp, hw/misc/aspeed_sbc: Consolidate OTP layout
definitions
hw/misc/aspeed_sbc: Derive ABR state from OTP config straps hw/misc/aspeed_sbc: Derive secure boot state from OTP config
include/hw/misc/aspeed_sbc.h | 3 -- include/hw/nvram/aspeed_otp.h | 32 ++++++++++++ hw/misc/aspeed_sbc.c | 97 +++++++++++++++++------------------ hw/nvram/aspeed_otp.c | 63 +++++++++++++++++++++++ 4 files changed, 143 insertions(+), 52 deletions(-)
Signature · 1 line
2.43.0