summaryrefslogtreecommitdiff
path: root/plat/arm
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-05-30 10:56:47 +0100
committerGitHub <noreply@github.com>2017-05-30 10:56:47 +0100
commit572e14132706377530ea9f9ba4cd1fcb4b2b9479 (patch)
treeaf982ccc1159c358c3b3475eb2621f277ed322da /plat/arm
parent562aef8e2f69907a888c6e053d868b360d1dd4b3 (diff)
parentd77b98cabf228b277af2bc5e5ea9c4b221a6cd7b (diff)
Merge pull request #949 from antonio-nino-diaz-arm/an/printf-memory
Reduce code size when building with Trusted Board Boot enabled
Diffstat (limited to 'plat/arm')
-rw-r--r--plat/arm/common/arm_common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/arm/common/arm_common.mk b/plat/arm/common/arm_common.mk
index 3c207698..5cc1a0ac 100644
--- a/plat/arm/common/arm_common.mk
+++ b/plat/arm/common/arm_common.mk
@@ -76,6 +76,10 @@ ARM_XLAT_TABLES_LIB_V1 := 0
$(eval $(call assert_boolean,ARM_XLAT_TABLES_LIB_V1))
$(eval $(call add_define,ARM_XLAT_TABLES_LIB_V1))
+# Use an implementation of SHA-256 with a smaller memory footprint but reduced
+# speed.
+$(eval $(call add_define,MBEDTLS_SHA256_SMALLER))
+
# Enable PSCI_STAT_COUNT/RESIDENCY APIs on ARM platforms
ENABLE_PSCI_STAT := 1
ENABLE_PMF := 1