configs: socfpga: soc64: Avoid SPL enter infinite loop during exception
authorChin Liang See <chin.liang.see@intel.com>
Wed, 5 Aug 2020 10:34:33 +0000 (18:34 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 9 Oct 2020 09:53:11 +0000 (17:53 +0800)
commitf833d6a4ce5ba890eadcae1846c59812478e909c
treeb9be95c2008f1ab8ab7f4e294ae66344d1961292
parent12cc44884b0e74260c2f7396b993f178f8c8df27
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>
configs/socfpga_agilex_defconfig
configs/socfpga_stratix10_defconfig