commit | efc64b9ed929d83dae3faf7ea1e2789ec06aeb5b | [log] [tgz] |
---|---|---|
author | Roger Quadros <rogerq@kernel.org> | Tue Feb 06 16:02:51 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Feb 13 15:38:11 2024 -0500 |
tree | f67c5628a47c554be7febb6518114443219a3cb3 | |
parent | 1b7279baf969925785060da7383855b09f3878c7 [diff] |
memory: ti-gpmc: Fix lock up at A53 SPL during NAND boot on AM64-EVM 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. Fix the issue by disabling all IRQs at probe. Signed-off-by: Roger Quadros <rogerq@kernel.org>