summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorNitin Yadav <n-yadav@ti.com>2022-09-15 13:56:15 +0530
committerAnand Gadiyar <gadiyar@ti.com>2022-09-18 21:41:38 -0500
commit48625fb0a1d82e4c01287482f79a13e28105de3d (patch)
treeab95dc3ba39b1a03235dab82108a7e93f4d4f086 /configs
parentbae522d534768449e811eca14edae29db618aa06 (diff)
arch: arm: mach-k3: Workaround errata ID i2331
Errata doc: https://www.ti.com/lit/er/sprz457e/sprz457e.pdf Errata ID i2331 CPSW: Device lockup when reading CPSW registers Details: A device lockup can occur during the second read of any CPSW subsystem register after any MAIN domain power on reset (POR). A MAIN domain POR occurs using the hardware MCU_PORz signal, or via software using CTRLMMR_RST_CTRL.SW_MAIN_POR or CTRLMMR_MCU_RST_CTRL.SW_MAIN_POR. After these resets, the processor and internal bus structures may get into a state which is only recoverable with full device reset using MCU_PORz. Due to this errata, Ethernet boot should not be used on this device. Workaround(s): To avoid the lockup, a warm reset should be issued after a MAIN domain POR and before any access to the CPSW registers. The warm reset realigns internal clocks and prevents the lockup from happening. Workaround above errata by calling do_reset() in case of cold boot in order to trigger warm reset. This needs enabling SYSRESET driver in R5 SPL to enable TI SCI reset driver. Signed-off-by: Nitin Yadav <n-yadav@ti.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/am64x_evm_r5_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
index 090014a304..c143e73104 100644
--- a/configs/am64x_evm_r5_defconfig
+++ b/configs/am64x_evm_r5_defconfig
@@ -181,3 +181,6 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0451
CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
+CONFIG_SYSRESET=y
+CONFIG_SPL_SYSRESET=y
+CONFIG_SYSRESET_TI_SCI=y