X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Flinkstation%2Flinkstation.c;h=764085691c8ebff9789799249537563c047b6763;hb=cb0090e804be552a75155a3596195077df3d6b69;hp=afb96ae6ce6804c1c7cd887b2be853694790e3cb;hpb=02d69891d95ee76b0e86e1715a4dc0b964a57cb7;p=karo-tx-uboot.git diff --git a/board/linkstation/linkstation.c b/board/linkstation/linkstation.c index afb96ae6ce..764085691c 100644 --- a/board/linkstation/linkstation.c +++ b/board/linkstation/linkstation.c @@ -21,8 +21,8 @@ * MA 02111-1307 USA */ -#include #include +#include #include #include #include @@ -32,11 +32,12 @@ #include #endif +DECLARE_GLOBAL_DATA_PTR; + extern void init_AVR_DUART(void); int checkboard (void) { - DECLARE_GLOBAL_DATA_PTR; char *p; bd_t *bd = gd->bd; @@ -53,7 +54,7 @@ int checkboard (void) phys_size_t initdram (int board_type) { - return (get_ram_size(CFG_SDRAM_BASE, CFG_MAX_RAM_SIZE)); + return (get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_MAX_RAM_SIZE)); } /*