]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Guard non-AXP code by checking for AXP
authorPali Rohár <pali@kernel.org>
Thu, 8 Sep 2022 14:06:51 +0000 (16:06 +0200)
committerStefan Roese <sr@denx.de>
Tue, 13 Sep 2022 07:04:22 +0000 (09:04 +0200)
commit2a0d9ae414b4b2b38f6ada2d7a7134d7f31cff41
treec0122fd4ac54e1f2a6a5bd93f107c1b11d71c813
parent117ef65502ccb5a5d1ee02595e94be9205b760aa
arm: mvebu: Guard non-AXP code by checking for AXP

Commit c86d53fd88df ("arm: mvebu: Don't disable cache at startup on Armada
XP at all") introduced branch for non-AXP code which was guarded by A38X
condition. Fix this issue by checking for AXP platform, not by A38X.

Fixes: c86d53fd88df ("arm: mvebu: Don't disable cache at startup on Armada XP at all")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c