u-boot/board/freescale
Pali Rohár 1f90be6f34 board: freescale: p1_p2_rdb_pc: Add workaround for board reset reboot loop
CPLD's system reset register on P1/P2 RDB boards is not autocleared after
flipping it. If this register is set to one in 100ms after reset starts
then CPLD triggers another CPU reset.

This means that trying to reset board via CPLD system reset register cause
reboot loop. To prevent this reboot loop, the only workaround is to try to
clear CPLD's system reset register as early as possible. U-Boot is already
doing it in its board_early_init_f() function, which seems to be enough as
register is cleared prior CPLD triggers another reset.

But board_early_init_f() is not called from SPL and therefore usage of SPL
can cause reboot loop.

To prevent reboot loop when using SPL, call board_early_init_f() function
in SPL too. For accessing CPLD memory space it is needed to have CPLD entry
in TLB.

With this change it is possible to trigger board reset via CPLD's system
reset register on P2020 RDB board.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-09-06 14:08:32 +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 board reset reboot loop 2022-09-06 14:08:32 +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