summaryrefslogtreecommitdiff
path: root/board/hatch_fp
diff options
context:
space:
mode:
authorYicheng Li <yichengli@chromium.org>2019-08-21 17:18:06 -0700
committerCommit Bot <commit-bot@chromium.org>2019-08-23 18:52:49 +0000
commit5ce0aa26c41ea0d6f0c22deaa2233ca4552797f0 (patch)
tree881e92111fc417bf2b0d1267155c76311959fbae /board/hatch_fp
parenta06dc0b52c6415eabc3a5d46357894bbe6416a17 (diff)
downloadchrome-ec-5ce0aa26c41ea0d6f0c22deaa2233ca4552797f0.tar.gz
common: Add CONFIG_LIBCRYPTOC to enable third_party/cryptoc
Boards that have CONFIG_LIBCRYPTOC will be able to use functions in third_party/cryptoc. Functions in third_party/cryptoc that are not called will not be linked because of linker optimization. This can be verified by checking the "smap" file in the build directory for a given target (e.g. build/nocturne_fp/RW/ec.RW.smap), which contains a list of all symbols in the target. Configure CONFIG_LIBCRYPTOC in nocturne_fp and hatch_fp. This config replaces CONFIG_ALWAYS_MEMSET. BRANCH=nocturne BUG=chromium:968809,chromium:989594,b:130238794 TEST=make -j buildall Change-Id: Ia40da9fb429f9d03623bc92e25f6670e5cdbd983 Signed-off-by: Yicheng Li <yichengli@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1764835 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'board/hatch_fp')
-rw-r--r--board/hatch_fp/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hatch_fp/board.h b/board/hatch_fp/board.h
index d51f57a7fb..5233565c21 100644
--- a/board/hatch_fp/board.h
+++ b/board/hatch_fp/board.h
@@ -165,7 +165,7 @@
#define CONFIG_RNG
-#define CONFIG_ALWAYS_MEMSET
+#define CONFIG_LIBCRYPTOC
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_SPI_XFER