[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/1] hw/arm/aspeed: Automatically zero-extend flash images
From: |
Peter Delevoryas |
Subject: |
[PATCH 0/1] hw/arm/aspeed: Automatically zero-extend flash images |
Date: |
Mon, 14 Nov 2022 11:08:22 -0800 |
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(-)
--
2.38.1
- [PATCH 0/1] hw/arm/aspeed: Automatically zero-extend flash images,
Peter Delevoryas <=