mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
5a05af87ef
Add CONFIG_CMD_STM32PROG_SERIAL and CONFIG_CMD_STM32PROG_USB to independently select the support of UART or USB communication for STM32CubeProgrammer. For serial boot over UART, user can deactivate CONFIG_CMD_STM32PROG_SERIAL to use U-Boot console of binary loaded by UART (for board bring-up for example). Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
21 lines
460 B
Makefile
21 lines
460 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
|
|
#
|
|
|
|
obj-y += cpu.o
|
|
obj-y += dram_init.o
|
|
obj-y += syscon.o
|
|
obj-y += bsec.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
else
|
|
obj-y += cmd_stm32prog/
|
|
obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
|
obj-$(CONFIG_TFABOOT) += boot_params.o
|
|
endif
|
|
|
|
obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
|
|
obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
|