mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
arm: mvebu: Guard non-AXP code by checking for AXP
Commitc86d53fd88
("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:c86d53fd88
("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>
This commit is contained in:
parent
117ef65502
commit
2a0d9ae414
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ int arch_cpu_init(void)
|
|||
struct pl310_regs *const pl310 =
|
||||
(struct pl310_regs *)CONFIG_SYS_PL310_BASE;
|
||||
|
||||
if (IS_ENABLED(CONFIG_ARMADA_38X)) {
|
||||
if (!IS_ENABLED(CONFIG_ARMADA_XP)) {
|
||||
/*
|
||||
* To fully release / unlock this area from cache, we need
|
||||
* to flush all caches and disable the L2 cache.
|
||||
|
|
Loading…
Add table
Reference in a new issue