arm-trusted-firmware/plat/allwinner
Andrey Skvortsov 0cf5f08a20 feat(allwinner): use reset through scpi for warm/soft reset
On systems with SCP (running crust) scpi_system_reboot action
performs board-level (PMIC) reboot. This doesn't preserve RAM content
on A64 PinePhone at least.

warm/soft system reset without RAM reset is required to get
pstore (persistent storage) in RAM working with Linux kernel. That is
very useful for oops/panic logging for post mortem analysis.

scpi_system_reset action performs reset via SoC reset (using watchdog)
and RAM content is preserved in this case. Linux kernel detects
system_reset2 support and uses it for warm reset automatically.

Change-Id: I1c21aa8f27c8e0395e2326034788693b59b80bc4
Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
2023-07-31 21:55:30 +02:00
..
common feat(allwinner): use reset through scpi for warm/soft reset 2023-07-31 21:55:30 +02:00
sun50i_a64 feat(allwinner): add function to detect H616 die variant 2023-04-26 17:45:29 +01:00
sun50i_h6 feat(allwinner): add function to detect H616 die variant 2023-04-26 17:45:29 +01:00
sun50i_h616 feat(allwinner): add function to detect H616 die variant 2023-04-26 17:45:29 +01:00
sun50i_r329 refactor(allwinner): consolidate sunxi_cfg.h files 2023-04-26 17:45:29 +01:00