u-boot/board/freescale
Pali Rohár 27b2bff6eb board: freescale: p1_p2_rdb_pc: Add workaround for non-working watchdog
If watchdog timer was already set to non-disabled value then it means that
watchdog timer was already activated, has already expired and caused CPU
reset. If this happened then due to CPLD firmware bug, writing to wd_cfg
register has no effect and therefore it is not possible to reactivate
watchdog timer again. Watchdog starts working again after CPU reset via
non-watchdog method.

Implement this workaround (reset CPU when it was reset by watchdog) to make
watchdog usable again. Watchdog timer logic on these P1/P2 RDB boards is
connected to CPLD, not to SoC itself.

Note that reset does not occur immediately after calling do_reset(), but
after few ms later as real reset is done by CPLD. So it is normal that
function do_reset() returns. Therefore hangs after calling do_reset() to
prevent CPU execution of the rest U-Boot code.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-09-06 14:08:33 +08:00
..
common ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
imx8mm_evk board: freescale: Add entry for imx8mm_evk_fspi_defconfig 2022-07-25 15:35:35 +02:00
imx8mn_evk imx8mn: synchronise device tree with linux 2022-07-25 16:12:00 +02:00
imx8mp_evk nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8mq_evk crypto/fsl: i.MX8M: Enable Job ring driver model. 2022-04-12 11:18:34 +02:00
imx8qm_mek nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8qxp_mek nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8ulp_evk misc: imx: S400_API: Move S400 MU and API to a common place 2022-07-26 11:29:00 +02:00
imx93_evk board: freescale: imx93_evk: support ethernet 2022-07-26 11:29:01 +02:00
imxrt1020-evk board: freescale: imxrt10..-evk: Fix missing include of serial.h 2022-04-12 21:08:23 +02:00
imxrt1050-evk board: freescale: imxrt10..-evk: Fix missing include of serial.h 2022-04-12 21:08:23 +02:00
ls1012afrdm nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1012aqds nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1012ardb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1021aiot ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
ls1021aqds ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
ls1021atsn nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1021atwr ls1021atwr: caam: Enable Uboot validaion in SPL. 2022-08-16 17:07:30 +08:00
ls1028a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls1043aqds layerscape: Disable CONFIG_FMAN_ENET on *aqds* platforms 2022-08-20 21:18:15 -04:00
ls1043ardb ddr: fsl: Make bank_addr_bits reflect actual bits 2022-09-06 09:28:46 +08:00
ls1046afrwy nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1046aqds layerscape: Disable CONFIG_FMAN_ENET on *aqds* platforms 2022-08-20 21:18:15 -04:00
ls1046ardb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1088a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls2080aqds common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls2080ardb common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
lx2160a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
m5208evbe common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5235evb Convert CONFIG_NORFLASH_PS32BIT to Kconfig 2022-04-01 10:28:47 -04:00
m5249evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5253demo Convert CONFIG_FLASH_CFI_LEGACY to Kconfig 2022-08-04 16:18:47 -04:00
m5272c3 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5275evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5282evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5329evb nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
m5373evb nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
m53017evb WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mpc837xerdb powerpc: Move CONFIG_SYS_DDR_SIZE to CONFIG_SYS_SDRAM_SIZE 2022-08-04 16:18:47 -04:00
mpc8548cds mpc8548cds: Guard old ethernet code with !DM_ETH 2022-08-20 21:18:15 -04:00
mx6memcal WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mx6sabreauto arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
mx6sabresd MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
mx6slevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sllevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sxsabreauto imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sxsabresd imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6ul_14x14_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6ullevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx7dsabresd imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx7ulp_evk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx23evk mx23evk: Add myself as maintainer 2021-03-01 10:21:36 +01:00
mx28evk mx28evk: Remove AUART/NAND/SPI variants 2022-08-20 21:18:14 -04:00
mx51evk video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
mx53loco mx53loco: Convert CONFIG_DIALOG_POWER to Kconfig 2022-04-01 10:28:47 -04:00
p1_p2_rdb_pc board: freescale: p1_p2_rdb_pc: Add workaround for non-working watchdog 2022-09-06 14:08:33 +08:00
p1010rdb P1010RDB: Drop support for not-CONFIG_SYS_DDR_RAW_TIMING 2022-08-04 16:18:47 -04:00
p2041rdb ppc: Remove corenet_ds boards 2022-08-20 21:18:15 -04:00
t4rdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t102xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t104xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t208xqds nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t208xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
vf610twr imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00