diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-21 15:24:17 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-23 21:39:31 +0000 |
commit | beeb8bc925bef6973e1c9fa6c4fd26a4113a1777 (patch) | |
tree | 30c63cf4ae4bb14a19849b1680622ad6eed86d63 /it85spi.c | |
parent | cb44eb7dad17522f47792dca4fc499310ff7d6f3 (diff) | |
download | flashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.tar.gz flashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.tar.bz2 flashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.zip |
tree: Make internal functions static
None of these functions are used outside of the files they are defined
in, so make them all static.
Change-Id: Ie9cbe12d289bcedacf2f1bf483ae64ef8039ccc1
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'it85spi.c')
-rw-r--r-- | it85spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ static int wait_for(const unsigned int mask, const unsigned int expected_value, /* IT8502 employs a scratch RAM when flash is being updated. Call the following * two functions before/after flash erase/program. */ -void it85xx_enter_scratch_rom(void) +static void it85xx_enter_scratch_rom(void) { int ret, tries; @@ -163,7 +163,7 @@ void it85xx_enter_scratch_rom(void) } } -void it85xx_exit_scratch_rom(void) +static void it85xx_exit_scratch_rom(void) { #if 0 int ret; |