diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:35 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:02:01 -0400 |
commit | 45f08d359f7fc7892486f73475003a2103e25421 (patch) | |
tree | 19d598c426b804e3a43c26700dc9b988c1cc6681 | |
parent | 2d17b4891116f04f9a88981dfe429873cdd8c3fa (diff) | |
download | u-boot-imx-45f08d359f7fc7892486f73475003a2103e25421.zip u-boot-imx-45f08d359f7fc7892486f73475003a2103e25421.tar.gz u-boot-imx-45f08d359f7fc7892486f73475003a2103e25421.tar.bz2 |
env_nand: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-rw-r--r-- | common/env_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/env_nand.c b/common/env_nand.c index 5a734a9..749605f 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -124,7 +124,7 @@ int env_init(void) * The legacy NAND code saved the environment in the first NAND device i.e., * nand_dev_desc + 0. This is also the behaviour using the new NAND code. */ -int writeenv(size_t offset, u_char *buf) +static int writeenv(size_t offset, u_char *buf) { size_t end = offset + CONFIG_ENV_RANGE; size_t amount_saved = 0; @@ -233,7 +233,7 @@ int saveenv(void) } #endif /* CMD_SAVEENV */ -int readenv(size_t offset, u_char *buf) +static int readenv(size_t offset, u_char *buf) { size_t end = offset + CONFIG_ENV_RANGE; size_t amount_loaded = 0; |