hw/arm/aspeed: Automatically zero-extend flash images
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | hw/arm/aspeed: Automatically zero-extend flash imageshw/ | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] hw/arm/aspeed: Automatically zero-extend flash images
I've been using this patch for a long time so that I don't have to use dd to zero-extend stuff all the time. It's just doing what people are doing already, right? I hope it's not controversial.
One note: I couldn't figure out how to make it work without changing the permissions on the block device to allow truncation. If somebody knows how to avoid the blk_get_perm, blk_set_perm calls here, let me know!
Thanks,
Peter
Peter Delevoryas (1):
hw/arm/aspeed: Automatically zero-extend flash images
hw/arm/aspeed.c | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-)
Signature · 1 line
2.38.1