u-boot/board
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
..
abilis/tb100 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
advantech imx: imx8qm_rom7720_a1: update README 2020-06-22 17:43:59 +02:00
alliedtelesis common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
altera ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK 2019-05-10 22:48:10 +02:00
amarula/vyasa-rk3288 common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
amazon/kc1 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
amlogic board: amlogic: add board doc files to MAINTAINERS 2020-06-18 10:24:13 +02:00
AndesTech common: Drop image.h from common header 2020-05-18 17:33:33 -04:00
Arcturus/ucp1020 common: Drop linux/stringify.h from common header 2020-05-18 21:19:23 -04:00
aries/mcvevk arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board 2019-05-14 19:52:39 +02:00
aristainetos command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
armadeus common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
armltd common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
aspeed/evb_ast2500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
astro/mcf5373l common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
atmark-techno/armadillo-800eva common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
atmel First set of u-boot-atmel fixes for 2020.07 cycle 2020-06-04 10:21:51 -04:00
avionic-design common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bachmann/ot1200 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
barco common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
beacon/imx8mm imx: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
beckhoff/mx53cx9020 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
birdland/bav335x common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
bitmain/antminer_s9 xilinx: Introduce board_late_init_xilinx() 2020-04-27 13:57:17 +02:00
bluegiga/apx4devkit common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
bluewater common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
bosch common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
boundary/nitrogen6x Xilinx changes for v2020.10 2020-06-25 09:33:39 -04:00
broadcom common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bticino/mamoj common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
buffalo/lsxl common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
BuR common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
BuS/eb_cpu5282 command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cadence/xtfpga common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
calao/usb_a9263 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
CarMediaLab/flea3 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cavium/thunderx common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
ccv/xpress common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cei/cei-tk1-som SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
chipspark/popmetal_rk3288 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
cirrus/edb93xx common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
cloudengines/pogo_e02 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cobra5272 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
compal/paz00 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
compulab common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
comtrend SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
congatec imx: convert cgtqmx6eval board to DM_VIDEO 2020-06-18 19:37:49 +02:00
coreboot x86: Add a 64-bit 'coreboot64' build 2020-05-04 15:28:28 +08:00
corscience/tricorder command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cortina common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
creative/xfi3 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cssi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
CZ.NIC common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
d-link/dns325 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
davinci/da8xxevm mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL 2020-06-13 23:12:17 +05:30
devboards/dbm-soc1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
dhelectronics board: st: stpmic1: add function stpmic1_init 2020-07-07 16:01:23 +02:00
ea/mx7ulp_com arm: imx: Finish migration from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB 2020-06-26 10:29:06 -04:00
ebv/socrates arm: socfpga: socrates: make rtc work 2019-04-25 00:00:49 +02:00
eets/pdu001 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
efi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
egnite/ethernut5 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
el/el6x common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
elgin/elgin_rv1108 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
embest/mx6boards common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
emulation common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
engicam common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
esd common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
firefly common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
freescale arm: imx: Finish migration from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB 2020-06-26 10:29:06 -04:00
gardena common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
gateworks/gw_ventana common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
gdsys common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ge common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
geekbuying/geekbox rockchip: rk3368: Migrate to use common board file 2019-07-29 10:27:48 +08:00
google rockchip: veyron: move board_early_init_f to _r (after reloc) 2020-05-22 20:53:20 +08:00
grinn common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
gumstix common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
highbank common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hisilicon common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
huawei/hg556a SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ids/ids8313 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
imgtec common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
intel x86: minnowmax: Add support for Winbond flash 2020-06-02 09:16:13 +08:00
inversepath/usbarmory common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
iomega/iconnect common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
is1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
isee common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
k+p common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
keymile mpc83xx, abb: remove suvd3 board 2020-05-19 14:01:47 -04:00
kmc/kzm9g common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
kobol/helios4 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
kosagi/novena common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
l+g/vinco spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
LaCie command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
laird common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
lego/ev3 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
lg/sniper common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
liebherr common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
logicpd imx: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
Marvell common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
maxbcm common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mediatek common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
menlo/m53menlo ARM: imx: m53menlo: Do not fail boot on invalid splash screen 2020-06-08 10:42:58 +02:00
microchip common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mikrotik/crs3xx-98dx3236 arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236 2020-05-27 07:03:17 +02:00
mini-box/picosam9g45 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mpc8308_p1m common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mqmaker/miqi_rk3288 rockchip: board: rk3288: remove board_boot_order() 2019-07-20 23:59:44 +08:00
mscc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
netgear common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nokia/rx51 Nokia RX-51: Fix checking if serial console was enabled 2020-06-13 23:12:17 +05:30
novtech/meerkat96 arm: imx: Finish migration from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB 2020-06-26 10:29:06 -04:00
nvidia common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
olimex/mx23_olinuxino common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
opalkelly/zynq arm: zynq: Remove low level UART setting 2020-01-14 09:05:53 +01:00
overo common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
phytec arm: Remove pcm051 board 2020-06-11 15:14:04 +05:30
phytium/durian common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pine64 rockchip: Add initial support for the Pinebook Pro laptop from Pine64. 2020-05-31 22:22:07 +08:00
ppcag/bg0900 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
qca common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
qemu-mips common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
qualcomm common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
quipos/cairo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
radxa SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raidsonic/ib62x0 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
raspberrypi/rpi efi_loader: round the memory area in efi_add_memory_map() 2020-05-17 21:59:53 +02:00
renesas sh: r2dplus: Enable board_eth_init only for non-DM case 2020-05-29 19:20:54 +02:00
rockchip rockchip: rk3328: add rock-pi-e-rk3328_defconfig file 2020-06-07 18:57:16 +08:00
ronetix common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
sagem/f@st1704 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
samsung common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sandbox sandbox: implement ft_board_setup() 2020-04-16 08:07:58 -06:00
sandisk/sansa_fuze_plus common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sbc8349 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sbc8548 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sbc8641d common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
schulercontrol/sc_sps_1 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
Seagate common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
seco common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
seeed/linkit-smart-7688 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sfr/nb4_ser SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
siemens common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sifive/fu540 Revert "riscv: sifive: fu540: Add gpio-restart support" 2020-07-06 17:57:47 -04:00
silica/pengwyn common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sipeed/maix riscv: Add Sipeed Maix support 2020-07-01 15:01:22 +08:00
sks-kinkel/sksimx6 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
socrates common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
softing common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
solidrun mx6cuboxi: remove unused code 2020-06-23 00:08:53 +02:00
somlabs/visionsom-6ull ARM: imx: mx6ull: Add iMX6ULL VisionSOM SoM and EVK 2020-01-20 15:38:16 +01:00
spear common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sr1500 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
st board: st: stpmic1: add function stpmic1_init 2020-07-07 16:01:23 +02:00
ste/stemmy common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sunxi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Synology common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
synopsys common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sysam common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
syteco/zmx25 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tbs/tbs2910 board: tbs2910: add documentation 2020-06-12 13:17:23 -04:00
tcl/sl50 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
technexion imx: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
technologic common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
terasic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
theadorable common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
theobroma-systems rockchip: puma: drop special handling of usb host regulator 2020-06-07 18:57:16 +08:00
ti ti814x: Remove platform 2020-06-30 15:02:45 -04:00
timll common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
topic/zynq board: topic-miami: Set FCLK1 to 150MHz 2020-06-24 13:11:08 +02:00
toradex colibri_pxa270: add mmc platform data 2020-06-30 11:13:11 -04:00
tplink/wdr4300 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tqc common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
udoo common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
vamrs/rock960_rk3399 rockchip: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
variscite/dart_6ul common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
varisys common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ve8313 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
vocore/vocore2 mips: Add support for SoM "VoCore2". 2020-04-27 20:30:14 +02:00
vscom/baltos common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
wandboard arm: wandboard: move CONFIG_MXC_UART to defconfig 2020-06-22 17:43:31 +02:00
warp doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
warp7 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
work-microwave/work_92105 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
xes common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx xilinx: zynqmp: Enable pmufw config reloading 2020-06-25 10:08:04 +02:00
zyxel/nsa310s common: Drop init.h from common header 2020-05-18 17:33:33 -04:00