diff options
| author | Anshul Dalal <[email protected]> | 2025-12-04 16:41:55 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-16 11:36:48 -0600 |
| commit | 6c8dee07c346fcca8f851e18ea554c81f3483d09 (patch) | |
| tree | 90fe58ce32408a9e2bd25e1590f471fcae9ede36 /scripts | |
| parent | eb52d3fe8a591d6daf6d01570ed19ae88b1e934d (diff) | |
ti: k3: abstract common fdt api for reserved mem fixups
The usage of fdt_fixup_reserved is repeated for ATF and OP-TEE for
multiple platforms, this patch creates a single fdt API for fixing up
the reserved-memory node with added error handling.
All k3 platforms already share a common tispl template which ensures
binaries are loaded as per the respective CONFIG_*_LOAD_ADDR. And the
provided new_size for the fixup is overridden by the size from fdt node
anyways. This allows for safe abstraction of the reserved memory fixups
for all current platforms.
fdt_fixup_reserved now abstracts the ATF and OP-TEE fixups by calling
the renamed static fdt_fixup_reserved_memory function with the required
parameters.
Signed-off-by: Anshul Dalal <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
