diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-05-17 15:24:05 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-26 18:19:18 -0400 |
commit | 19f589923af27f9caf32615f179e19a240a07672 (patch) | |
tree | f995adfd89c37316bb56cfd3867838b50b21fc1c /arch/arm/mach-stm32mp/Makefile | |
parent | de20e437945b40daa19064c1d3eca7d8f9635006 (diff) | |
download | u-boot-19f589923af27f9caf32615f179e19a240a07672.tar.gz u-boot-19f589923af27f9caf32615f179e19a240a07672.tar.xz u-boot-19f589923af27f9caf32615f179e19a240a07672.zip |
stm32mp1: add bsec driver
Add a MISC driver with read and write access to BSEC IP
(Boot and Security and OTP control)
- offset 0: shadowed values
- offset 0x80000000: OTP fuse box values (SAFMEM)
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/Makefile')
-rw-r--r-- | arch/arm/mach-stm32mp/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile index 08ee642d90..f59ced5ee1 100644 --- a/arch/arm/mach-stm32mp/Makefile +++ b/arch/arm/mach-stm32mp/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +# SPDX-License-Identifier: GPL-2.0+ # # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # @@ -7,6 +7,10 @@ obj-y += cpu.o obj-y += dram_init.o obj-y += syscon.o -obj-$(CONFIG_SPL_BUILD) += spl.o +ifdef CONFIG_SPL_BUILD +obj-y += spl.o +else +obj-y += bsec.o +endif obj-$(CONFIG_ARMV7_PSCI) += psci.o obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o |