diff options
author | Namyoon Woo <namyoon@chromium.org> | 2019-01-14 17:14:08 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-05 03:53:52 -0700 |
commit | b97918b72f1d30120f4598a58f7066d72fbd3e9c (patch) | |
tree | 6ac893976a7a5c6d7f940f27f64e539d74b1601d /common | |
parent | 7912ce208ce1356e261ca6e36de87f09ec014b6b (diff) | |
download | chrome-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')
-rw-r--r-- | common/flash.c | 2 | ||||
-rw-r--r-- | common/tpm_registers.c | 2 |
2 files changed, 2 insertions, 2 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 || diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 8a7a4c5360..142261ecf3 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -448,7 +448,7 @@ void tpm_register_put(uint32_t regaddr, const uint8_t *data, uint32_t data_size) } -void fifo_reg_read(uint8_t *dest, uint32_t data_size) +static void fifo_reg_read(uint8_t *dest, uint32_t data_size) { uint32_t still_in_fifo = tpm_.fifo_write_index - tpm_.fifo_read_index; |