On Wed, Aug 26, 2026 at 04:12:03AM +0530, AK Sharma wrote:

> Add two weak hooks around the bootm image decompression:
> image_get_decomp_buf() lets a platform redirect the decompression
> destination (e.g. to an uncached window), and image_decomp_flush() lets
> it flush the caches over the decompressed image. Both default to no-ops,
> so existing platforms are unaffected. The EN75xx uses them to keep the
> kernel coherent on its cache-coherent CM.
> 
> Signed-off-by: AK Sharma <[email protected]>
> ---
>  boot/image.c    | 34 +++++++++++++++++++++++++++-------
>  include/image.h |  5 +++++
>  2 files changed, 32 insertions(+), 7 deletions(-)

This seems like something that should be possible with the normal
environment-based restrictions documented in doc/usage/environment.rst
around bootm_size and similar.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to