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
Revert "Add board_pre_console_putc to deal with early console output"
[platform/kernel/u-boot.git]
/
common
/
env_nand.c
diff --git
a/common/env_nand.c
b/common/env_nand.c
index
ce13def
..
e8daec9
100644
(file)
--- a/
common/env_nand.c
+++ b/
common/env_nand.c
@@
-30,8
+30,6
@@
* MA 02111-1307 USA
*/
* MA 02111-1307 USA
*/
-#define DEBUG
-
#include <common.h>
#include <command.h>
#include <environment.h>
#include <common.h>
#include <command.h>
#include <environment.h>
@@
-68,11
+66,6
@@
env_t *env_ptr;
DECLARE_GLOBAL_DATA_PTR;
DECLARE_GLOBAL_DATA_PTR;
-uchar env_get_char_spec(int index)
-{
- return *((uchar *)(gd->env_addr + index));
-}
-
/*
* This is called before nand_init() so we can't read NAND to
* validate env data.
/*
* This is called before nand_init() so we can't read NAND to
* validate env data.