projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: factor out the env_get_char_spec() function
[platform/kernel/u-boot.git]
/
common
/
env_sf.c
diff --git
a/common/env_sf.c
b/common/env_sf.c
index
592b870
..
bbd472f
100644
(file)
--- a/
common/env_sf.c
+++ b/
common/env_sf.c
@@
-59,11
+59,6
@@
char *env_name_spec = "SPI Flash";
static struct spi_flash *env_flash;
-uchar env_get_char_spec(int index)
-{
- return *((uchar *)(gd->env_addr + index));
-}
-
#if defined(CONFIG_ENV_OFFSET_REDUND)
int saveenv(void)
{