u-boot/board
Sughosh Ganu 95b5a7de30 FWU: STM32MP1: Add support to read boot index from backup register
The FWU Multi Bank Update feature allows the platform to boot the
firmware images from one of the partitions(banks). The first stage
bootloader(fsbl) passes the value of the boot index, i.e. the bank
from which the firmware images were booted from to U-Boot. On the
STM32MP157C-DK2 board, this value is passed through one of the SoC's
backup register. Add a function to read the boot index value from the
backup register.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
2022-10-31 14:47:32 -04:00
..
abilis/tb100
advantech Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
alliedtelesis arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation 2022-08-23 12:35:37 +02:00
altera
amarula/vyasa-rk3288
amlogic MAINTAINERS: Update email of Neil Armstrong 2022-08-20 16:17:50 -04:00
AndesTech/ax25-ae350 riscv: ae350: Check firmware_fdt_addr header 2022-10-20 15:26:31 +08:00
aries/mcvevk
aristainetos video: Drop use of the lcd header file 2022-10-30 20:07:17 +01:00
armadeus/opos6uldev opos6uldev: Migrate to using CONFIG_EXTRA_ENV_TEXT 2022-06-28 17:11:48 -04:00
armltd Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
aspeed
astro/mcf5373l cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
atmel video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
avionic-design
beacon Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
beckhoff/mx53cx9020 video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
birdland/bav335x
bitmain/antminer_s9
bluewater/gurnard video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
bosch video: Drop CONFIG_AM335X_LCD 2022-10-30 20:07:16 +01:00
boundary/nitrogen6x net: phy: don't require PHY interface mode during PHY creation 2022-04-10 08:44:13 +03:00
broadcom Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
bsh bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards 2022-09-18 22:56:18 +02:00
bticino/mamoj
buffalo/lsxl board: lsxl: update the README 2022-08-23 12:40:34 +02:00
BuR BuR: ronetix: siemens: Drop old LCD code 2022-10-30 20:07:17 +01:00
BuS/eb_cpu5282 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
cadence/xtfpga Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
calao/usb_a9263
cavium/thunderx pci: Drop pci_init_board() 2021-08-06 08:26:48 -04:00
cei/cei-tk1-som
chipspark/popmetal_rk3288 board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
cloudengines arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model 2022-02-10 07:12:16 +01:00
cobra5272 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
compal/paz00 video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
compulab compulab: Drop old LCD code 2022-10-30 20:07:17 +01:00
comtrend
congatec Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
coreboot Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
cortina armv8: Fix and simplify branch_if_master/branch_if_slave 2022-03-02 13:59:29 -05:00
cssi Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
CZ.NIC arm: mvebu: turris_omnia: Fix setting switch CONFIG pins on new board design 2022-09-18 12:41:57 +02:00
d-link/dns325
data_modul/imx8mm_edm_sbc ARM: imx: Deduplicate i.MX8M SNVS LPGPR unlock 2022-09-20 18:30:02 +02:00
davinci/da8xxevm Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
devboards/dbm-soc1
dfi Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
dhelectronics ARM: dts: stm32: Add DHCOR based Testbench board 2022-10-18 08:34:25 +02:00
ea imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
ebv/socrates
eets/pdu001 serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE) 2022-06-06 18:01:21 -04:00
efi Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
egnite/ethernut5
elgin/elgin_rv1108
embest/mx6boards serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
emulation Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
engicam board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit 2022-10-24 11:34:33 +02:00
esd/meesc global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
firefly rockchip: rk3308: fix rockchip_dnl_key_pressed() on roc-cc 2022-09-04 20:00:38 +08:00
freescale Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
friendlyarm Rename CONFIG_PWM to CONFIG_PWM_S5P and move to Kconfig 2022-07-05 17:03:01 -04:00
gardena Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
gateworks u-boot-imx-20221024 2022-10-24 10:04:30 -04:00
gdsys mpc83xx: gazerbeam: Update sysinfo_get error handling 2022-10-17 21:17:12 -06:00
ge video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
geekbuying/geekbox
google Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
grinn Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
hardkernel/odroid_go2
highbank sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
hisilicon WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
hoperun/hihope-rzg2 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
hpe/gxp Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
huawei/hg556a
imgtec Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
intel Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
inversepath/usbarmory arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
iomega/iconnect arm: kirkwood: iConnect : Add Ethernet support 2022-02-10 07:12:16 +01:00
is1
isee igep00x0: Disable networking 2022-08-20 21:18:15 -04:00
k+p led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
keymile Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
kobol/helios4 arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header 2021-07-31 09:59:58 +02:00
kontron Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
kosagi/novena input: Remove legacy KEYBOARD option 2022-10-21 13:47:56 -04:00
l+g/vinco video: Drop use of the lcd header file 2022-10-30 20:07:17 +01:00
LaCie arm: Remove edminiv2 board 2022-08-20 21:18:15 -04:00
lego/ev3 legoev3: Migrate to DM_I2C 2022-07-08 17:57:34 -04:00
lg/sniper arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
liebherr cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
logicpd Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
Marvell Merge branch 'master' into next 2022-09-19 16:07:12 -04:00
maxbcm arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation 2022-08-23 12:35:37 +02:00
mediatek board: mediatek: add MT7981 reference boards 2022-09-23 15:09:15 -04:00
menlo video: Rename CONFIG_SYS_VIDEO_LOGO_MAX_SIZE 2022-10-30 20:07:16 +01:00
microchip Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
mikrotik/crs3xx-98dx3236
mqmaker/miqi_rk3288 board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
mscc led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
myir/mys_6ulx
netgear
nokia/rx51 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
novtech/meerkat96 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
nuvoton arm: nuvoton: Add support for Nuvoton NPCM845 BMC 2022-10-06 21:05:17 -04:00
nvidia video: Drop use of the lcd header file 2022-10-30 20:07:17 +01:00
olimex/mx23_olinuxino
opalkelly/zynq WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
openpiton/riscv64 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
out4/o4-imx6ull-nano imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
phytec u-boot-imx-20221024 2022-10-24 10:04:30 -04:00
phytium arm: add initial support for the Phytium Pomelo Board 2022-03-10 13:57:04 -05:00
pine64
purism/librem5 board: purism: add the Purism Librem5 phone 2022-09-18 22:56:10 +02:00
qca Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
qualcomm Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
radxa board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
raidsonic/ib62x0
raspberrypi/rpi video: Drop use of the lcd header file 2022-10-30 20:07:17 +01:00
renesas Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
rikomagic/mk808 rockchip: rk3066: add Rikomagic MK808 board 2022-04-18 11:25:13 +08:00
rockchip rockchip: rk3399: Add EAIDK-610 support 2022-10-19 19:30:48 +08:00
ronetix BuR: ronetix: siemens: Drop old LCD code 2022-10-30 20:07:17 +01:00
sagem/f@st1704
samsung video: samsung: Drop old LCD code 2022-10-30 20:07:17 +01:00
sandbox sandbox: typo Fictionnal 2022-10-29 07:36:33 -06:00
Seagate arm: kirkwood: Dockstar : Add DM Ethernet 2022-02-10 07:12:16 +01:00
seeed
sfr/nb4_ser
siemens Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
sifive Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
silinux/ek874 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
sipeed/maix Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
socionext/developerbox board: developerbox: move mem_map setup later 2022-10-06 21:05:17 -04:00
socrates Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
softing imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
solidrun mx6cuboxi: fix board detection while patching device-tree phy nodes 2022-07-25 15:08:23 +02:00
somlabs/visionsom-6ull imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sr1500
st FWU: STM32MP1: Add support to read boot index from backup register 2022-10-31 14:47:32 -04:00
ste/stemmy board: stemmy: Detect board variants and patch DTB 2022-02-28 10:33:45 -05:00
storopack/smegw01 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sunxi sunxi: defconfig: Add X96 Mate TV box 2022-10-19 14:14:55 +01:00
Synology arm: kirkwood: 88f6281: Detect CONFIG_SYS_TCLK from SAR register 2022-08-23 12:38:47 +02:00
synopsys Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
sysam Convert CONFIG_EXTRA_CLOCK to Kconfig 2022-07-05 17:03:01 -04:00
tbs/tbs2910 board: tbs2910: Set all board dts files as maintained 2022-10-21 11:54:13 +02:00
tcl/sl50 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
technexion video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
terasic arm: socfpga: Add the terasic de10-standard board 2022-05-23 21:28:07 +02:00
theadorable arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation 2022-08-23 12:35:37 +02:00
theobroma-systems rockchip: puma-rk3399: migrate to u-boot-rockchip-spi.bin 2022-10-19 19:30:49 +08:00
ti Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
timll
topic/zynq
toradex video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
tplink/wdr4300 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
tq/tqma6 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
traverse common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
udoo udoo: Call gpio_request() 2022-01-08 11:16:03 -05:00
vamrs/rock960_rk3399
variscite nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
vocore/vocore2
vscom/baltos linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
wandboard
warp7 warp7: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
work-microwave/work_92105 Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
xen/xenguest_arm64 Convert CONFIG_CONS_INDEX et al to Kconfig 2021-12-27 08:41:38 -05:00
xes/common Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
xilinx xilinx: zynqmp: Load pmufw configuration before checking access 2022-10-10 12:28:08 +02:00
zyxel/nsa310s arm: kirkwood: nsa310s: Add Distro boot capability 2022-08-23 12:35:37 +02:00