projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHECKPATCH: ./board/esd/hh405/logo_1024_768_8bpp.c
[oweals/u-boot.git]
/
board
/
linkstation
/
linkstation.c
diff --git
a/board/linkstation/linkstation.c
b/board/linkstation/linkstation.c
index afb96ae6ce6804c1c7cd887b2be853694790e3cb..764085691c8ebff9789799249537563c047b6763 100644
(file)
--- a/
board/linkstation/linkstation.c
+++ b/
board/linkstation/linkstation.c
@@
-21,8
+21,8
@@
* MA 02111-1307 USA
*/
* MA 02111-1307 USA
*/
-#include <version.h>
#include <common.h>
#include <common.h>
+#include <version.h>
#include <mpc824x.h>
#include <asm/io.h>
#include <ns16550.h>
#include <mpc824x.h>
#include <asm/io.h>
#include <ns16550.h>
@@
-32,11
+32,12
@@
#include <pci.h>
#endif
#include <pci.h>
#endif
+DECLARE_GLOBAL_DATA_PTR;
+
extern void init_AVR_DUART(void);
int checkboard (void)
{
extern void init_AVR_DUART(void);
int checkboard (void)
{
- DECLARE_GLOBAL_DATA_PTR;
char *p;
bd_t *bd = gd->bd;
char *p;
bd_t *bd = gd->bd;
@@
-53,7
+54,7
@@
int checkboard (void)
phys_size_t initdram (int board_type)
{
phys_size_t initdram (int board_type)
{
- return (get_ram_size(C
FG_SDRAM_BASE, CFG
_MAX_RAM_SIZE));
+ return (get_ram_size(C
ONFIG_SYS_SDRAM_BASE, CONFIG_SYS
_MAX_RAM_SIZE));
}
/*
}
/*