X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fep7312%2Fep7312.c;h=6968a5dbdd11d41404dacfd3ae533e1cd281c7b9;hb=4b7576fb804f9aae275a9ad5d947d2eb727d8cb7;hp=11eab234bce967bbfe19660b8c57d8a1ab02d2a3;hpb=731215ebde3b85f114f7a45eece3c155ba49a2c0;p=u-boot diff --git a/board/ep7312/ep7312.c b/board/ep7312/ep7312.c index 11eab234bc..6968a5dbdd 100644 --- a/board/ep7312/ep7312.c +++ b/board/ep7312/ep7312.c @@ -25,8 +25,7 @@ #include #include -/* ------------------------------------------------------------------------- */ - +DECLARE_GLOBAL_DATA_PTR; /* * Miscelaneous platform dependent initialisations @@ -34,8 +33,6 @@ int board_init (void) { - DECLARE_GLOBAL_DATA_PTR; - /* Activate LED flasher */ IO_LEDFLSH = 0x40; @@ -50,8 +47,6 @@ int board_init (void) int dram_init (void) { - DECLARE_GLOBAL_DATA_PTR; - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;