mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-04 03:43:19 +09:00
![Patrick Delaunay](/assets/img/avatar_default.png)
Migrate the ST Microelectronics STUSB160X Type-C controller code in a generic I2C driver in st/common, based on Linux one in : drivers/usb/typec/stusb160x.c This patch simplifies the stm32mp1 board code and allows to reuse this STUSB160X driver in other boards. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
15 lines
393 B
Makefile
15 lines
393 B
Makefile
# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
#
|
|
# Copyright (C) 2020, STMicroelectronics - All Rights Reserved
|
|
#
|
|
|
|
obj-$(CONFIG_CMD_STBOARD) += cmd_stboard.o
|
|
obj-$(CONFIG_PMIC_STPMIC1) += stpmic1.o
|
|
|
|
ifeq ($(CONFIG_ARCH_STM32MP),y)
|
|
obj-$(CONFIG_SYS_MTDPARTS_RUNTIME) += stm32mp_mtdparts.o
|
|
obj-$(CONFIG_SET_DFU_ALT_INFO) += stm32mp_dfu.o
|
|
endif
|
|
|
|
obj-$(CONFIG_TYPEC_STUSB160X) += stusb160x.o
|