Re: [PATCH] memory: ti-gpmc: Fix lock up at A53 SPL during NAND boot on AM64-EVM

2024-02-13 Thread Tom Rini
On Tue, Feb 06, 2024 at 04:02:51PM +0200, Roger Quadros wrote: > AM64 ES2.0 bootrom seems to enable WAIT0EDGEDETECTION interrupt. > This causes a lockup at A53 SPL when accessing NAND controller > or ELM registers. > > A good option would be to softrest GPMC block at probe > but this cannot be

[PATCH] memory: ti-gpmc: Fix lock up at A53 SPL during NAND boot on AM64-EVM

2024-02-06 Thread Roger Quadros
AM64 ES2.0 bootrom seems to enable WAIT0EDGEDETECTION interrupt. This causes a lockup at A53 SPL when accessing NAND controller or ELM registers. A good option would be to softrest GPMC block at probe but this cannot be done for AM64 as SOFTRESET bit is marked as reserved in SYSCONFIG register.