Andrew Davis | e819fab | 2024-02-14 10:30:08 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | /* |
| 3 | * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | #include <asm/hardware.h> |
Andrew Davis | e819fab | 2024-02-14 10:30:08 -0600 | [diff] [blame] | 7 | #include <fdt_support.h> |
| 8 | |
Andrew Davis | 336b079 | 2024-05-10 15:21:24 -0500 | [diff] [blame] | 9 | #include "../common_fdt.h" |
| 10 | |
Andrew Davis | e819fab | 2024-02-14 10:30:08 -0600 | [diff] [blame] | 11 | int ft_system_setup(void *blob, struct bd_info *bd) |
| 12 | { |
| 13 | fdt_fixup_reserved(blob, "tfa", CONFIG_K3_ATF_LOAD_ADDR, 0x80000); |
| 14 | fdt_fixup_reserved(blob, "optee", CONFIG_K3_OPTEE_LOAD_ADDR, 0x1800000); |
| 15 | |
| 16 | return 0; |
| 17 | } |