diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-19 07:56:59 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-19 07:56:59 -0500 |
commit | db0dd72e27ce62c5b28f07595b91ed00d0565819 (patch) | |
tree | 912603265aac7ae1fb843c02986dbbb0835b7060 /board | |
parent | ae3d8b6c403218e68b56bce962ba7737161cc6f4 (diff) | |
parent | ac7a51c0e48f2aa81ae20caf8d6b9fad976675cd (diff) |
Merge branch '2021-01-18-assorted-platform-updates'
- Assorted MediaTek, AST2x00 updates
- Assorted driver fixes for various platforms
- Keymile platform updates
- Add pwm command, mp5416 pmic driver
Diffstat (limited to 'board')
-rw-r--r-- | board/aspeed/evb_ast2600/Kconfig | 12 | ||||
-rw-r--r-- | board/aspeed/evb_ast2600/MAINTAINERS | 6 | ||||
-rw-r--r-- | board/aspeed/evb_ast2600/Makefile | 1 | ||||
-rw-r--r-- | board/aspeed/evb_ast2600/evb_ast2600.c | 5 | ||||
-rw-r--r-- | board/keymile/km_arm/Kconfig | 4 | ||||
-rw-r--r-- | board/mediatek/pumpkin/pumpkin.c | 17 |
6 files changed, 45 insertions, 0 deletions
diff --git a/board/aspeed/evb_ast2600/Kconfig b/board/aspeed/evb_ast2600/Kconfig new file mode 100644 index 00000000000..42008cd0335 --- /dev/null +++ b/board/aspeed/evb_ast2600/Kconfig @@ -0,0 +1,12 @@ +if TARGET_EVB_AST2600 + +config SYS_BOARD + default "evb_ast2600" + +config SYS_VENDOR + default "aspeed" + +config SYS_CONFIG_NAME + default "evb_ast2600" + +endif diff --git a/board/aspeed/evb_ast2600/MAINTAINERS b/board/aspeed/evb_ast2600/MAINTAINERS new file mode 100644 index 00000000000..e83aae5d6ac --- /dev/null +++ b/board/aspeed/evb_ast2600/MAINTAINERS @@ -0,0 +1,6 @@ +EVB AST2600 BOARD +M: Chia-Wei, Wang <chiawei_wang@aspeedtech.com> +S: Maintained +F: board/aspeed/evb_ast2600/ +F: include/configs/evb_ast2600.h +F: configs/evb-ast2600_defconfig diff --git a/board/aspeed/evb_ast2600/Makefile b/board/aspeed/evb_ast2600/Makefile new file mode 100644 index 00000000000..9291db6ee10 --- /dev/null +++ b/board/aspeed/evb_ast2600/Makefile @@ -0,0 +1 @@ +obj-y += evb_ast2600.o diff --git a/board/aspeed/evb_ast2600/evb_ast2600.c b/board/aspeed/evb_ast2600/evb_ast2600.c new file mode 100644 index 00000000000..e6dc8c79525 --- /dev/null +++ b/board/aspeed/evb_ast2600/evb_ast2600.c @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) Aspeed Technology Inc. + */ +#include <common.h> diff --git a/board/keymile/km_arm/Kconfig b/board/keymile/km_arm/Kconfig index 4b21db85731..6f55cfab864 100644 --- a/board/keymile/km_arm/Kconfig +++ b/board/keymile/km_arm/Kconfig @@ -58,8 +58,12 @@ config BOARD_SPECIFIC_OPTIONS # dummy select DM_SERIAL select DM_SPI select DM_SPI_FLASH + select USB + select USB_EHCI_HCD + select USB_EHCI_MARVELL imply CMD_CRAMFS imply CMD_DIAG imply FS_CRAMFS + imply CMD_USB endif diff --git a/board/mediatek/pumpkin/pumpkin.c b/board/mediatek/pumpkin/pumpkin.c index 666e4d6a26f..37daf1c51b9 100644 --- a/board/mediatek/pumpkin/pumpkin.c +++ b/board/mediatek/pumpkin/pumpkin.c @@ -4,8 +4,25 @@ */ #include <common.h> +#include <dm.h> int board_init(void) { return 0; } + +int board_late_init(void) +{ + struct udevice *dev; + int ret; + + if (CONFIG_IS_ENABLED(USB_GADGET)) { + ret = uclass_get_device(UCLASS_USB_GADGET_GENERIC, 0, &dev); + if (ret) { + pr_err("%s: Cannot find USB device\n", __func__); + return ret; + } + } + + return 0; +} |