diff options
author | Chin Liang See <chin.liang.see@intel.com> | 2020-08-05 18:34:33 +0800 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2020-10-09 17:53:11 +0800 |
commit | f833d6a4ce5ba890eadcae1846c59812478e909c (patch) | |
tree | b9be95c2008f1ab8ab7f4e294ae66344d1961292 /configs/socfpga_stratix10_defconfig | |
parent | 12cc44884b0e74260c2f7396b993f178f8c8df27 (diff) | |
download | u-boot-f833d6a4ce5ba890eadcae1846c59812478e909c.tar.gz u-boot-f833d6a4ce5ba890eadcae1846c59812478e909c.tar.bz2 u-boot-f833d6a4ce5ba890eadcae1846c59812478e909c.zip |
configs: socfpga: soc64: Avoid SPL enter infinite loop during exception
In current implementation, any exception would trigger a CPU reset.
But a bad written SPL would cause infinite loop where the system
will reload the same SPL instead of loading factory safe image.
Hence this patch is to ensure any exception will cause a hang. At this
moment, watchdog shall be triggered and Remote System Update mechanism
shall load the next production image or factory safe image.
Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'configs/socfpga_stratix10_defconfig')
-rw-r--r-- | configs/socfpga_stratix10_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig index 2d00eb8318..2b300e0605 100644 --- a/configs/socfpga_stratix10_defconfig +++ b/configs/socfpga_stratix10_defconfig @@ -67,3 +67,4 @@ CONFIG_USB_STORAGE=y CONFIG_DESIGNWARE_WATCHDOG=y CONFIG_WDT=y # CONFIG_SPL_USE_TINY_PRINTF is not set +CONFIG_PANIC_HANG=y |