[PATCH 00/11] stm32mp1: migrate MTD and DFU configuration in Kconfig
Patrick DELAUNAY
patrick.delaunay at st.com
Thu May 14 11:26:17 CEST 2020
Hi,
> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: mercredi 18 mars 2020 09:23
>
>
> This serie migrate the dynamically build MTD
> (CONFIG_SYS_MTDPARTS_RUNTIME) and the DFU configuration
> (CONFIG_SET_DFU_ALT_INFO) previously based on ENV variables to
> CONFIG_.
>
> These patches reduce the size of the environment and allow to tune for each
> target with a specific defconfig file.
>
> This serie also removes the TEE deconfig, replaced by a dynamic detection
> based on op-tee driver probe.
>
> This serie depends on previous CONFIG migration proposed in
> http://patchwork.ozlabs.org/project/uboot/list/?series=160899
> - configs: migrate CONFIG_SET_DFU_ALT_INFO to defconfigs
> - configs: migrate CONFIG_SYS_MTDPARTS_RUNTIME to defconfigs
>
>
>
> Patrick Delaunay (11):
> board: stm32mp1: move board_get_mtdparts in st common directory
> board: stm32mp1: move set_dfu_alt_info in st common directory
> stm32mp1: dynamically build DFU_ALT_INFO
> stm32mp1: move MTDPART configuration in Kconfig
> board: stm32mp1: reserve memory for OP-TEE in device tree
> stm32mp1: dynamically detect op-tee presence
> board: stm32mp1: use FDT address provided by TF-A at boot time
> configs: stm32mp1: remove optee defconfig
> board: stm32mp1: support boot from spi-nand
> board: stm32mp1: adapt MTD partition for BOOT from NOR or NAND
> doc: stm32mp1: update DFU support example
>
> arch/arm/dts/stm32mp157a-dk1.dts | 5 +
> arch/arm/dts/stm32mp157c-ed1.dts | 5 +
> arch/arm/mach-stm32mp/Kconfig | 10 -
> arch/arm/mach-stm32mp/Makefile | 1 +
> arch/arm/mach-stm32mp/boot_params.c | 45 ++++
> arch/arm/mach-stm32mp/cpu.c | 4 +
> arch/arm/mach-stm32mp/dram_init.c | 18 ++
> arch/arm/mach-stm32mp/fdt.c | 25 ++
> arch/arm/mach-stm32mp/include/mach/stm32.h | 3 +
> arch/arm/mach-stm32mp/spl.c | 2 +
> board/dhelectronics/dh_stm32mp1/Kconfig | 1 +
> board/dhelectronics/dh_stm32mp1/Makefile | 3 +
> board/dhelectronics/dh_stm32mp1/board.c | 143 +-----------
> board/st/common/Kconfig | 64 ++++++
> board/st/common/Makefile | 5 +
> board/st/common/stm32mp_dfu.c | 225 ++++++++++++++++++
> board/st/common/stm32mp_mtdparts.c | 157 +++++++++++++
> board/st/stm32mp1/MAINTAINERS | 1 -
> board/st/stm32mp1/stm32mp1.c | 253 +--------------------
> configs/stm32mp15_optee_defconfig | 132 -----------
> configs/stm32mp15_trusted_defconfig | 3 +
> doc/board/st/stm32mp1.rst | 147 +++++-------
> include/configs/stm32mp1.h | 64 +-----
> 23 files changed, 634 insertions(+), 682 deletions(-) create mode 100644
> arch/arm/mach-stm32mp/boot_params.c
> create mode 100644 board/st/common/stm32mp_dfu.c create mode 100644
> board/st/common/stm32mp_mtdparts.c
> delete mode 100644 configs/stm32mp15_optee_defconfig
>
> --
> 2.17.1
For the serie applied to u-boot-stm/master, thanks!
Regards
Patrick
More information about the U-Boot
mailing list