u-boot/arch/arm/mach-socfpga
Ley Foon Tan 3d884ff470 arm: socfpga: arria10: Add save_boot_params()
Add save_boot_params() to save reset status value from bootrom.

Bootrom will clear the status register in reset manager and stores the
reset status value in shared memory. Bootrom stores shared data at last
2KB of onchip RAM.

This function save reset status provided by bootrom to rst_mgr_status.
More information about reset status register value can be found in reset
manager register description.

When running in debugger without bootrom, r0 to r3 are random values.
So, skip save the value when r0 is not bootrom shared data address.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
2020-03-31 02:52:38 +02:00
..
include/mach arm: socfpga: Add onchip RAM size macro 2020-03-31 02:52:38 +02:00
board.c ARM: socfpga: Reorder Arria10 SPL 2018-08-24 12:05:20 +02:00
clock_manager.c arm: socfpga: Convert clock manager from struct to defines 2020-01-07 14:38:33 +01:00
clock_manager_agilex.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
clock_manager_arria10.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
clock_manager_gen5.c arm: socfpga: Convert clock manager from struct to defines 2020-01-07 14:38:33 +01:00
clock_manager_s10.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
firewall.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
fpga_manager.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
freeze_controller.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig ARM: socfpga: Add initial support for the ABB SECU board 2020-03-03 22:11:36 +01:00
mailbox_s10.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Makefile arm: socfpga: agilex: Enable Agilex SoC build 2020-01-07 14:38:34 +01:00
misc.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
misc_arria10.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
misc_gen5.c common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
misc_s10.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
mmu-arm64_s10.c arm: socfpga: stratix10: Add MMU support for Stratix10 SoC 2018-07-12 09:22:11 +02:00
pinmux_arria10.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qts-filter.sh ddr: altera: Add DDR2 support to Gen5 driver 2020-02-05 03:01:57 +01:00
reset_manager_arria10.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
reset_manager_gen5.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
reset_manager_s10.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
scan_manager.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
spl_a10.c arm: socfpga: arria10: Add save_boot_params() 2020-03-31 02:52:38 +02:00
spl_agilex.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
spl_gen5.c ARM: socfpga: Drop last use of socfpga_reset_manager 2020-02-03 09:26:14 +01:00
spl_s10.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
system_manager_gen5.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
system_manager_s10.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer_s10.c arm: socfpga: stratix10: Add timer support for Stratix10 SoC 2018-07-12 09:22:12 +02:00
wrap_iocsr_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pinmux_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pinmux_config_s10.c arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC 2018-05-18 10:30:48 +02:00
wrap_pll_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pll_config_s10.c arm: agilex: Add clock handoff offset for Agilex 2020-01-07 14:38:33 +01:00
wrap_sdram_config.c ddr: altera: Add DDR2 support to Gen5 driver 2020-02-05 03:01:57 +01:00