This series cleans up/reworks the early bitstream loading in the Arria10 xloader code. Some useful defines are added on the way. Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> --- Steffen Trumtrar (14): ARM: arria10: system-manager: add handoff registers ARM: Arria10: reset manager: document reset source ARM: socfpga: Arria10: PE1: remove arm_cpu_lowlevel_init ARM: arria10: reset-manager: don't touch l4 wdog ARM: Arria10: PE1: disable l4wd0 in bringup ARM: Arria10: xload: rework __arria10_load_fpga ARM: arria10: xload: fix __arria10_load_fpga ARM: Arria10: xload: kick watchdog ARM: arria10: mark image in OCRAM as valid ARM: Arria10: arria10_finish_io: remove unused param ARM: Arria10: xload: remove useless writel ARM: Arria10: xload: refactor wait loops ARM: Arria10: xload: reduce timeout on condone ARM: arria10-xload: rework broken bitstream handling arch/arm/boards/enclustra-aa1/lowlevel.c | 7 +- arch/arm/boards/reflex-achilles/lowlevel.c | 4 +- arch/arm/mach-socfpga/arria10-generic.c | 4 + arch/arm/mach-socfpga/arria10-init.c | 4 +- arch/arm/mach-socfpga/arria10-reset-manager.c | 9 ++- arch/arm/mach-socfpga/arria10-xload.c | 106 ++++++++++++++------------ include/mach/socfpga/arria10-fpga.h | 1 + include/mach/socfpga/arria10-reset-manager.h | 31 ++++++++ include/mach/socfpga/arria10-system-manager.h | 12 ++- include/mach/socfpga/generic.h | 16 +++- 10 files changed, 131 insertions(+), 63 deletions(-) --- base-commit: bafdf4b35d777d159ac4058efc86d36622ce5ccf change-id: 20240617-v2024-05-0-topic-socfpga-arria10-xloader-eae42963348a Best regards, -- Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>