diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-09-22 11:03:23 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-26 19:29:14 +0000 |
commit | 85554f0a843daa1c85ba252c7a27a389968d347b (patch) | |
tree | 0a7a1d616b6991a58a0f1d233908089d449d573f /board | |
parent | 1f28adcc8189bcc52fad68f58c74e5e8f45c6853 (diff) | |
download | chrome-ec-85554f0a843daa1c85ba252c7a27a389968d347b.tar.gz |
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 <tomhughes@chromium.org>
Change-Id: I98422eccb3e903bd82ddb386087dd2d55d1f845e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2424068
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/host/board.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 |