stm32mp1: migrate MTD and DFU configuration in Kconfig
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | board: stm32mp1: move board_get_mtdparts in st common directoryboard/ board/ board/ +2 more | +120 | 1 reply | |
| 2/11 | board: stm32mp1: move set_dfu_alt_info in st common directoryboard/ board/ board/ +2 more | +154 | 1 reply | |
| 3/11 | stm32mp1: dynamically build DFU_ALT_INFOboard/ board/ board/ +1 more | +110 | 1 reply | |
| 4/11 | stm32mp1: move MTDPART configuration in Kconfigboard/ board/ include/ | +104 | 1 reply | |
| 5/11 | board: stm32mp1: reserve memory for OP-TEE in device treearch/ arch/ arch/ +2 more | +51 | 1 reply | |
| 6/11 | stm32mp1: dynamically detect op-tee presencearch/ arch/ board/ +4 more | +15 | 1 reply | |
| 7/11 | board: stm32mp1: use FDT address provided by TF-A at boot timearch/ arch/ | +46 | 1 reply | |
| 8/11 | configs: stm32mp1: remove optee defconfigboard/ configs/ doc/ | +7 | 1 reply | |
| 9/11 | board: stm32mp1: support boot from spi-nandarch/ arch/ arch/ +2 more | +14 | 1 reply | |
| 10/11 | board: stm32mp1: adapt MTD partition for BOOT from NOR or NANDboard/ | +60 | 1 reply | |
| 11/11 | doc: stm32mp1: update DFU support exampledoc/ | +54 | 1 reply |
Reviews trailers per patch
All 11 patches have a Reviewed-by or Acked-by.
| Patch | Patrice Chotard |
|---|---|
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b |
| 4/11 | R-b |
| 5/11 | R-b |
| 6/11 | R-b |
| 7/11 | R-b |
| 8/11 | R-b |
| 9/11 | R-b |
| 10/11 | R-b |
| 11/11 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] stm32mp1: migrate MTD and DFU configuration in Kconfig
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
Signature · 1 line
2.17.1