summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@chromium.org>2019-01-14 17:14:08 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-05 03:53:52 -0700
commitb97918b72f1d30120f4598a58f7066d72fbd3e9c (patch)
tree6ac893976a7a5c6d7f940f27f64e539d74b1601d /common/flash.c
parent7912ce208ce1356e261ca6e36de87f09ec014b6b (diff)
downloadchrome-ec-b97918b72f1d30120f4598a58f7066d72fbd3e9c.tar.gz
cr50: convert functions into static
BUG=b:112778363 BRANCH=cr50 TEST=ran test_that suite:faft_cr50_prepvt on coral. Change-Id: I1b3c573ee5fcb40290541f231c78bf31650c13c4 Signed-off-by: Namyoon Woo <namyoon@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1410482 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common/flash.c')
-rw-r--r--common/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flash.c b/common/flash.c
index 2eb5f265aa..fa5afa2072 100644
--- a/common/flash.c
+++ b/common/flash.c
@@ -157,7 +157,7 @@ int flash_bank_count(int offset, int size)
}
#endif /* CONFIG_FLASH_MULTIPLE_REGION */
-int flash_range_ok(int offset, int size_req, int align)
+static int flash_range_ok(int offset, int size_req, int align)
{
if (offset < 0 || size_req < 0 ||
offset > CONFIG_FLASH_SIZE ||