On 11/10/25 9:34 PM, Marco Felsch wrote:
> Add support to pass a BL32 provided FDT_OVL from pbl to barebox.
> 
> Signed-off-by: Marco Felsch <[email protected]>

Reviewed-by: Ahmad Fatoum <[email protected]>

> ---
>  include/pbl/handoff-data.h | 1 +
>  pbl/handoff-data.c         | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/include/pbl/handoff-data.h b/include/pbl/handoff-data.h
> index 
> 7552ed5fc35f351f71822d309095980eaa764f63..88b1e9c80331a279564c338e758bd4928861ed56
>  100644
> --- a/include/pbl/handoff-data.h
> +++ b/include/pbl/handoff-data.h
> @@ -13,6 +13,7 @@ struct handoff_data {
>  #define HANDOFF_DATA_EXTERNAL_DT     HANDOFF_DATA_BAREBOX(2)
>  #define HANDOFF_DATA_ARM_MACHINE     HANDOFF_DATA_BAREBOX(3)
>  #define HANDOFF_DATA_EFI             HANDOFF_DATA_BAREBOX(4)
> +#define HANDOFF_DATA_BL32_DT_OVL     HANDOFF_DATA_BAREBOX(5)
>  
>  #define HANDOFF_DATA_BOARD(n)                (0x951726fb + (n))
>  
> diff --git a/pbl/handoff-data.c b/pbl/handoff-data.c
> index 
> 42e53f986bf14408f25cdf4434a5c284f8361401..2e1287cd69232d09b13384db3f1813737d67656e
>  100644
> --- a/pbl/handoff-data.c
> +++ b/pbl/handoff-data.c
> @@ -189,6 +189,8 @@ static const char *handoff_data_entry_name(struct 
> handoff_data_entry *hde)
>               return "handoff FDT (external)";
>       case HANDOFF_DATA_ARM_MACHINE:
>               return "ARM machine number";
> +     case HANDOFF_DATA_BL32_DT_OVL:
> +             return "handoff BL32 FDT overlay";
>       default:
>               sprintf(name, "handoff %08x", hde->cookie);
>               return name;
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |


Reply via email to