mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 06:12:58 +00:00
b8050511c6
This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF to signal when we need it. Enable it from the STPMIC1 config and in sandbox. The config flag is transitionary, that is it can be removed after all poweroff implementations use sysreset, and just have CMD_POWEROFF depend on sysreset. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
18 lines
396 B
Makefile
18 lines
396 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
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl.o
|
|
else
|
|
obj-y += bsec.o
|
|
obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
|
|
endif
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
|
obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
|
|
obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
|