Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2010-2013 |
| 4 | * NVIDIA Corporation <www.nvidia.com> |
| 5 | * |
| 6 | * (C) Copyright 2021 |
| 7 | * Svyatoslav Ryhel <clamor95@gmail.com> |
| 8 | */ |
| 9 | |
| 10 | /* T30 Transformers derive from Cardhu board */ |
| 11 | |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 12 | #include <fdt_support.h> |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 13 | |
| 14 | #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) |
| 15 | int ft_board_setup(void *blob, struct bd_info *bd) |
| 16 | { |
| 17 | /* Remove TrustZone nodes */ |
| 18 | fdt_del_node_and_alias(blob, "/firmware"); |
| 19 | fdt_del_node_and_alias(blob, "/reserved-memory/trustzone@bfe00000"); |
| 20 | |
| 21 | return 0; |
| 22 | } |
| 23 | #endif |