[PATCH v2 10/15] handoff-data: Add TEE_DT_OVL entry
Ahmad Fatoum
a.fatoum at pengutronix.de
Fri Feb 6 03:56:07 PST 2026
Hi,
On 2/4/26 9:01 PM, Marco Felsch wrote:
> Add support to pass a TEE provided FDT overlay from pbl to barebox.
>
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
Given that we only support a single handoff entry per cookie, this is
the best we can currently do:
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
Cheers,
Ahmad
> ---
> 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..399d769f386f30d0fb18a525ccc09cf3f3e8d402 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_TEE_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..9a24b82ef64a355b38bf436c03bece05cb1b77c5 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_TEE_DT_OVL:
> + return "handoff TEE FDTO";
> 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 |
More information about the barebox
mailing list