From 85554f0a843daa1c85ba252c7a27a389968d347b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 22 Sep 2020 11:03:23 -0700 Subject: common: replace safe_memcmp with cryptoc version We now have to always link against cryptoc, but it does not increase code size on our most constrained boards: Before and after both show: Smallest free spaces in RO flash (bytes): pdeval-stm32f072: 88 servo_v4 : 104 fusb307bgevb: 156 Smallest free spaces in RW flash (bytes): volteer : 516 bobba : 712 meep : 716 Tightest boards' RW RAM images, bytes free: whiskers : 212 minimuffin: 284 zinger : 284 BRANCH=none BUG=b:169156874 TEST=make buildall Signed-off-by: Tom Hughes Change-Id: I98422eccb3e903bd82ddb386087dd2d55d1f845e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2424068 Reviewed-by: Denis Brockus Code-Coverage: Zoss --- board/host/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/host') diff --git a/board/host/board.h b/board/host/board.h index 165331ce4c..a0099c38fe 100644 --- a/board/host/board.h +++ b/board/host/board.h @@ -25,8 +25,6 @@ #define CONFIG_WP_ACTIVE_HIGH -#define CONFIG_LIBCRYPTOC - #define CONFIG_USB_PD_CUSTOM_PDO #define CONFIG_USB_PD_DUAL_ROLE -- cgit v1.2.1