diff options
author | Samuel Holland <samuel@sholland.org> | 2021-10-12 19:21:27 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2022-01-30 01:25:00 +0000 |
commit | 50d5c6428fc280c095b0edd1a612b3661b5db77d (patch) | |
tree | b8bba8542981838394c37ab3a04113614fbc4503 /common/cmd_mfsl.c | |
parent | e97943b732d0e0588cfab3a8cb53459ca14dc81d (diff) | |
download | u-boot-50d5c6428fc280c095b0edd1a612b3661b5db77d.zip u-boot-50d5c6428fc280c095b0edd1a612b3661b5db77d.tar.gz u-boot-50d5c6428fc280c095b0edd1a612b3661b5db77d.tar.bz2 |
mkimage: sunxi_egon: Allow overriding the padding size
Due to a bug in the H3 SoC, where the CPU 0 hotplug flag cannot be
written, resuming CPU 0 requires using the "Super Standby" code path in
the BROM instead of the hotplug path. This path requires jumping to an
eGON image in SRAM.
This resume image, whose single purpose is to jump back to the secure
monitor, only needs to contain a single instruction. Padding the image
to 8 KiB would be wasteful of SRAM. Hook up the -B (block size) option
so users can set the block/padding size.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'common/cmd_mfsl.c')
0 files changed, 0 insertions, 0 deletions