diff options
| author | Tom Rini <[email protected]> | 2024-10-16 21:45:21 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-16 21:45:21 -0600 |
| commit | 9e1cd2f2cb86865bbc002ed961a095c7a8bcc989 (patch) | |
| tree | 276fd4061b5e58a4bfc692c2ac6412efc4c891fa /board | |
| parent | 98a36deb9ab7aaea70b0b0db47718100e08cf3e8 (diff) | |
| parent | 6852a2c82e695c418c744b0fcb4298bc0e759842 (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-usb
Diffstat (limited to 'board')
| -rw-r--r-- | board/radxa/rock5b-rk3588/Makefile | 6 | ||||
| -rw-r--r-- | board/radxa/rock5b-rk3588/rock5b-rk3588.c | 16 |
2 files changed, 22 insertions, 0 deletions
diff --git a/board/radxa/rock5b-rk3588/Makefile b/board/radxa/rock5b-rk3588/Makefile new file mode 100644 index 00000000000..95d813596da --- /dev/null +++ b/board/radxa/rock5b-rk3588/Makefile @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (c) 2022 Collabora Ltd. +# + +obj-y += rock5b-rk3588.o diff --git a/board/radxa/rock5b-rk3588/rock5b-rk3588.c b/board/radxa/rock5b-rk3588/rock5b-rk3588.c new file mode 100644 index 00000000000..fc2f69db224 --- /dev/null +++ b/board/radxa/rock5b-rk3588/rock5b-rk3588.c @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2023-2024 Collabora Ltd. + */ + +#include <fdtdec.h> +#include <fdt_support.h> + +#ifdef CONFIG_OF_BOARD_SETUP +int ft_board_setup(void *blob, struct bd_info *bd) +{ + if (IS_ENABLED(CONFIG_TYPEC_FUSB302)) + fdt_status_okay_by_compatible(blob, "fcs,fusb302"); + return 0; +} +#endif |
