summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2019-11-13 14:22:53 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-11-17 22:19:56 -0500
commit1d1506195a9534e7a025512b36685cac424dceb1 (patch)
tree0f5102e3bf551c7f41c9dcadea85aac8c1cd9994
parentb94b8b4682dfcb5b5cf3c4a6330b7287b6f3cfeb (diff)
downloadyocto-kernel-cache-master.tar.gz
yocto-kernel-cache-master.tar.bz2
yocto-kernel-cache-master.zip
arm-versatile-926ejs: Optimize for performance -O2 to fix runtime errorHEADmaster
arm-versatile-926ejs systems hang at random places when CONFIG_CC_OPTIMIZE_FOR_SIZE is enabled. standard.scc -> arm.scc -> arm.cfg -> CONFIG_CC_OPTIMIZE_FOR_SIZE=y Use CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE instead before we find the root cause. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg b/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
index e3fa6e4c..99f8aeb7 100644
--- a/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
+++ b/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
@@ -73,3 +73,5 @@ CONFIG_FRAME_POINTER=y
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
+
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y