u-boot-brain/arch/arm/mach-stm32mp
Patrick Delaunay d1a4b09de6 board: st: stpmic1: add function stpmic1_init
Add a function stmpic_init to early initialize the PMIC STPMIC1
- keep vdd on during the reset cycle (to avoid issue when backup battery
  is absent)
- Check if debug is enabled to program PMIC according to the bit

This patch allows to remove the compilation of spl.c file from stm32mp1
board in dh_stm32mp1.

CONFIG_SPL_BOARD_INIT is removed as the new function is called earlier
in SPL, in the function board_early_init_f.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-07-07 16:01:23 +02:00
..
cmd_stm32prog common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
include/mach arm: stm32mp: add weak function to save vddcore 2020-07-07 16:01:23 +02:00
boot_params.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bsec.c arm: stm32mp: spl: add bsec driver in SPL 2020-07-07 16:01:23 +02:00
cmd_stm32key.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
config.mk stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
cpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dram_init.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fdt.c board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes 2020-06-16 10:38:09 +02:00
Kconfig board: st: stpmic1: add function stpmic1_init 2020-07-07 16:01:23 +02:00
Makefile arm: stm32mp: spl: add bsec driver in SPL 2020-07-07 16:01:23 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
syscon.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00