arm-trusted-firmware/drivers
Marek Vasut 1a5711519a fix(rcar3-drivers): disable A/B loader support by default
The A/B loader [1] meant to be used for convenient CI testing.
The tool is installed into the same location as SA0, where it
conveniently fits due to its size, and where it makes use of
non-volatile PMIC registers to alternate between loading and
starting A or B copy of the BL2. The PMIC registers are used
because CPU registers are lost across reset.

In case the B copy is loaded, it is loaded from 8 MiB offset
from start of HF. In case the B copy fails to boot, a simple
reset of the system will switch back to booting previously
known working A copy and allow recovery.

The A/B loader sets MFIS bit MFISBTSTSR_BOOT_PARTITION to
pass the information which A/B copy is currently booting on
to TFA, which then loads the follow up components from 0 MiB
or 8 MiB offset, depending on whether the A or B copy is being
booted.

The MFISBTSTSR_BOOT_PARTITION interferes with regular A/B
switching during boot from eMMC as the boot media, where
the BootROM also sets MFISBTSTSR_BOOT_PARTITION bit in case
the system boots from SECOND eMMC HW BOOT partition.

Since the A/B loader is meant as a development and CI tool,
isolate the A/B loader use to RPC HF only and furthermore
isolate it behind new RCAR_RPC_HYPERFLASH_ABLOADER option
which is disabled by default.

[1] https://github.com/marex/abloader

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Change-Id: I04ecd50fa1405b78e1ba3949d54029034d4f22d8
2024-11-10 16:09:55 +01:00
..
allwinner refactor(allwinner): use fdt_node_is_enabled() in AXP driver 2023-02-03 13:31:28 +00:00
amlogic refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
arm fix(xilinx): dcc to support runtime console scope 2024-10-14 08:34:26 +00:00
auth fix(mbedtls): fix error return code for calc_hash 2024-11-08 15:51:39 +00:00
brcm fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
cadence fix(intel): refactor SDMMC driver for Altera products 2024-10-25 09:38:51 +08:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
clk feat(clk): add set_rate callback 2024-06-18 17:18:31 +03:00
console refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
coreboot/cbmem_console/aarch64 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
delay_timer refactor(delay-timer): add timer callback functions 2024-10-16 10:33:03 +02:00
fwu feat(fwu): add a function to obtain an alternate FWU bank to boot 2024-03-01 14:40:05 +05:30
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx fix: unify fallthrough annotations 2022-12-01 16:17:24 +00:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io chore(io): remove io_dummy driver 2023-04-28 15:45:43 +02:00
marvell refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
measured_boot feat(tc): provide target_locality info of AP FW components 2024-07-03 15:03:20 +02:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc fix(mmc): initialises response buffer with zeros 2023-09-16 10:42:39 +00:00
mtd fix(nand): reset the SLC NAND 2023-09-27 16:21:58 +02:00
nxp fix(nxp-clk): function parameter should not be modified 2024-09-30 14:16:00 +03:00
partition fix(guid-partition): fix unaligned access in load_mbr_header() 2024-07-04 12:33:15 +01:00
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas fix(rcar3-drivers): disable A/B loader support by default 2024-11-10 16:09:55 +01:00
rpi3 fix(rpi3): use correct define for GPIO reg_clr 2024-08-21 11:53:27 -05:00
scmi-msg feat(scmi): add scmi sensor support 2024-02-27 14:29:53 +08:00
st fix(st-ddr): move skipddc_dat definition 2024-11-04 18:45:26 +01:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
ufs chore(ufs): refactor ufs_get_device_info 2024-02-20 02:19:19 -08:00
usb fix(usb): correct type in message 2022-02-15 18:09:51 +01:00