[PATCH u-boot v2019.04-aspeed-openbmc] Revert "configs: disable dcache on ast2500 evb"

Lei YU yulei.sh at bytedance.com
Mon Feb 28 19:19:09 AEDT 2022


This reverts commit c1bfa87b767b2dc532cedc00f561bf6433fe30c7.

Disabling DCACHE on ast2500 causes significant performance drop and it
gets watchdog timeout during normal boot.

Revert the commit to make it behave normal as before.
---
 configs/evb-ast2500-spl_defconfig | 1 -
 configs/evb-ast2500_defconfig     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/configs/evb-ast2500-spl_defconfig b/configs/evb-ast2500-spl_defconfig
index 0f6780b5e4..432bb5aed0 100644
--- a/configs/evb-ast2500-spl_defconfig
+++ b/configs/evb-ast2500-spl_defconfig
@@ -1,6 +1,5 @@
 CONFIG_ARM=y
 CONFIG_SYS_CONFIG_NAME="evb_ast2500_spl"
-CONFIG_SYS_DCACHE_OFF=y
 CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/mach-aspeed/ast2500/u-boot-spl.lds"
 CONFIG_ARCH_ASPEED=y
 CONFIG_SYS_TEXT_BASE=0x10000
diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig
index 91921cf76e..540af0fcf0 100644
--- a/configs/evb-ast2500_defconfig
+++ b/configs/evb-ast2500_defconfig
@@ -1,5 +1,4 @@
 CONFIG_ARM=y
-CONFIG_SYS_DCACHE_OFF=y
 CONFIG_ARCH_ASPEED=y
 CONFIG_SYS_TEXT_BASE=0x0
 CONFIG_SYS_MALLOC_F_LEN=0x2000
-- 
2.25.1



More information about the openbmc mailing list