X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fintegratorcp%2Fintegratorcp.c;h=d6d6e13d5a475f20290bb86277affe17365522b8;hb=d4fc6012fd0a5c211b825691f44b06f8032c0551;hp=216876b469db2bc18dad073f52dd0f160279b182;hpb=fe7eb5d88bd593a35a13a0a84997ab6c41397bac;p=oweals%2Fu-boot.git diff --git a/board/integratorcp/integratorcp.c b/board/integratorcp/integratorcp.c index 216876b469..d6d6e13d5a 100644 --- a/board/integratorcp/integratorcp.c +++ b/board/integratorcp/integratorcp.c @@ -35,6 +35,8 @@ #include +DECLARE_GLOBAL_DATA_PTR; + void flash__init (void); void ether__init (void); void peripheral_power_enable (void); @@ -54,8 +56,6 @@ void show_boot_progress(int progress) int board_init (void) { - DECLARE_GLOBAL_DATA_PTR; - /* arch number of Integrator Board */ gd->bd->bi_arch_number = MACH_TYPE_CINTEGRATOR; @@ -105,8 +105,6 @@ void ether__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;