]> git.baikalelectronics.ru Git - uboot.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)
commit93d5745c800d4b0c87657d7e9cbe5da51a6536c3
treec0122fd4ac54e1f2a6a5bd93f107c1b11d71c813
parentf568f87da845a4a321c81c0c5e869c5e61c15355
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