summaryrefslogtreecommitdiff
path: root/core/cortex-m/ec.lds.S
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2021-10-06 18:48:21 -0700
committerCommit Bot <commit-bot@chromium.org>2021-10-11 23:41:56 +0000
commit7e66297fc54237b1867e448c1992c837f036a275 (patch)
treed397730059d4a8dd0bb0961d0aca682006894a0b /core/cortex-m/ec.lds.S
parent289dfac48450fe2707b0ca381c399ecaabc9b949 (diff)
downloadchrome-ec-7e66297fc54237b1867e448c1992c837f036a275.tar.gz
fips: silence fips section filler
Script inserting FIPS checksum into the image uses the dd utility which generates stderr output even when there is no errors. This patch adds code which captures the dd stderr output and prints it out only if there is an actual error. stdout output of the script is suppressed unless make was invoked with V=1. Also made a few modifications as requested by shellcheck. BUG=none TEST=make output does not have extra lines. built and ran a Cr50 image, it reports successful FIPS integrity self check. Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Change-Id: I9121bc5a9a40633b9a3d18ea5766bc1ed274a9c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3210946 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'core/cortex-m/ec.lds.S')
0 files changed, 0 insertions, 0 deletions