Sebastian Reichel | 67a349d | 2024-10-15 17:26:45 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright (c) 2023-2024 Collabora Ltd. | ||||
4 | */ | ||||
5 | |||||
6 | #include <fdtdec.h> | ||||
7 | #include <fdt_support.h> | ||||
8 | |||||
9 | #ifdef CONFIG_OF_BOARD_SETUP | ||||
10 | int ft_board_setup(void *blob, struct bd_info *bd) | ||||
11 | { | ||||
12 | if (IS_ENABLED(CONFIG_TYPEC_FUSB302)) | ||||
13 | fdt_status_okay_by_compatible(blob, "fcs,fusb302"); | ||||
14 | return 0; | ||||
15 | } | ||||
16 | #endif |