diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2017-05-05 16:00:02 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-15 12:24:08 -0400 |
commit | 39a6328f155b641dbbe781c292029f45a2aad5cf (patch) | |
tree | 0a526a3c0ec07c60676c8bdae74b8856bb28df91 /src/makefile | |
parent | fad80fcf1cf0ae7923cab267777f2c3974f7cc93 (diff) | |
download | talos-hostboot-39a6328f155b641dbbe781c292029f45a2aad5cf.tar.gz talos-hostboot-39a6328f155b641dbbe781c292029f45a2aad5cf.zip |
Save space in Bootloader image with string utilities
Some string utility functions are not being used in Bootloader, so
add conditions to keep them from being compiled in. Also memset
can be replaced by a simple loop to reduce size.
Change-Id: I7e483855b9263b19fb3cb3232015d142efede68a
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40177
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile index 3a34ee26b..300d63935 100644 --- a/src/makefile +++ b/src/makefile @@ -72,7 +72,7 @@ BOOTLDR_OBJECTS += bl_pnor_utils.o BOOTLDR_OBJECTS += bl_pnor_ecc.o BOOTLDR_OBJECTS += bl_terminate.o BOOTLDR_OBJECTS += forceattn_p8.o -BOOTLDR_OBJECTS += string_utils.o +BOOTLDR_OBJECTS += bl_string_utils.o BOOTLDR_OBJECTS += rom_entry.o SECUREROM_OBJECTS += ROM.o |