projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR
[oweals/u-boot.git]
/
board
/
siemens
/
rut
/
board.c
diff --git
a/board/siemens/rut/board.c
b/board/siemens/rut/board.c
index b3c666c054f1060fccc61edfd5679d2801cdbc00..ed5cde3a0b7f10cbc86a46e50987e127037255c7 100644
(file)
--- a/
board/siemens/rut/board.c
+++ b/
board/siemens/rut/board.c
@@
-35,8
+35,6
@@
#include "../common/factoryset.h"
#include "../../../drivers/video/da8xx-fb.h"
#include "../common/factoryset.h"
#include "../../../drivers/video/da8xx-fb.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* Read header information from EEPROM into global structure.
*/
/*
* Read header information from EEPROM into global structure.
*/
@@
-182,7
+180,7
@@
int board_eth_init(bd_t *bis)
int rv;
#ifndef CONFIG_SPL_BUILD
int rv;
#ifndef CONFIG_SPL_BUILD
- factoryset_
setenv
();
+ factoryset_
env_set
();
#endif
/* Set rgmii mode and enable rmii clock to be sourced from chip */
#endif
/* Set rgmii mode and enable rmii clock to be sourced from chip */
@@
-482,7
+480,7
@@
int board_late_init(void)
else
strcpy(tmp, "QMX7.E38_4.0");
else
strcpy(tmp, "QMX7.E38_4.0");
- ret =
setenv
("boardid", tmp);
+ ret =
env_set
("boardid", tmp);
if (ret)
printf("error setting board id\n");
if (ret)
printf("error setting board id\n");