From f43d267e1b373a94996bfc2f4febb76b32f0708b Mon Sep 17 00:00:00 2001 From: Sarat Chand Savitala Date: Wed, 1 Apr 2015 17:51:17 +0530 Subject: [PATCH] sw_apps:zynqmp_fsbl: Made compiler optimization configurable with HSI Removing compiler optimization level and debug level flags from FSBL tcl file. These flags can be passed on as arguments while compiling using make. O2 optimization will be required while building FSBL to reduce the size of FSBL and hence to accomodate ATF in OCM. Signed-off-by: Sarat Chand Savitala --- lib/sw_apps/zynqmp_fsbl/data/zynqmp_fsbl.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sw_apps/zynqmp_fsbl/data/zynqmp_fsbl.tcl b/lib/sw_apps/zynqmp_fsbl/data/zynqmp_fsbl.tcl index ccfce3d8..d87661f5 100755 --- a/lib/sw_apps/zynqmp_fsbl/data/zynqmp_fsbl.tcl +++ b/lib/sw_apps/zynqmp_fsbl/data/zynqmp_fsbl.tcl @@ -124,7 +124,7 @@ proc swapp_generate {} { file delete -force $ld_file_a53 set_property -name {APP_COMPILER_FLAGS} \ - -value {-Wall -O0 -g3 -fmessage-length=0 -mcpu=cortex-r5 -mfloat-abi=softfp} \ + -value {-Wall -fmessage-length=0 -mcpu=cortex-r5 -mfloat-abi=softfp} \ -objects [current_sw_design ] } else { set ld_file "lscript.ld" @@ -135,7 +135,7 @@ proc swapp_generate {} { file rename -force $ld_file_a53 $ld_file_new set_property -name {APP_COMPILER_FLAGS} \ - -value {-Wall -O0 -g3 -fmessage-length=0 -DXFSBL_A53} \ + -value {-Wall -fmessage-length=0 -DXFSBL_A53} \ -objects [current_sw_design ] } }