diff options
author | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:04:22 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:04:22 +0200 |
commit | 6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (patch) | |
tree | 57d0aa201f36c6dd5a43efd23a0ee2ded95440ba /board/lpc2292sodimm/lpc2292sodimm.c | |
parent | d45963854eff39d575124d859419bb4953ce2c87 (diff) | |
parent | 66dcad3a9a53e0766d90e0084123bd8529522fb0 (diff) | |
download | u-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.zip u-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.tar.gz u-boot-imx-6b6f287a33ae8c340f97fb08ed95b6687e2baa4b.tar.bz2 |
Merge ../u-boot
Diffstat (limited to 'board/lpc2292sodimm/lpc2292sodimm.c')
-rw-r--r-- | board/lpc2292sodimm/lpc2292sodimm.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/board/lpc2292sodimm/lpc2292sodimm.c b/board/lpc2292sodimm/lpc2292sodimm.c index d212c63..9c2d1af 100644 --- a/board/lpc2292sodimm/lpc2292sodimm.c +++ b/board/lpc2292sodimm/lpc2292sodimm.c @@ -28,8 +28,7 @@ #include <common.h> #include <clps7111.h> -/* ------------------------------------------------------------------------- */ - +DECLARE_GLOBAL_DATA_PTR; /* * Miscelaneous platform dependent initialisations @@ -37,8 +36,6 @@ int board_init (void) { - DECLARE_GLOBAL_DATA_PTR; - /* Activate LED flasher */ IO_LEDFLSH = 0x40; @@ -53,8 +50,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; |