diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:37 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:37 +0200 |
commit | 36b2e9e62b0b87b0190b550cf4fcc27600305591 (patch) | |
tree | b2a23d80a026190e7c6ddca7a7d478637f354312 /board | |
parent | 2c27fc86531bcf174ad1bda5e360575a6ceff225 (diff) | |
download | barebox-36b2e9e62b0b87b0190b550cf4fcc27600305591.tar.gz barebox-36b2e9e62b0b87b0190b550cf4fcc27600305591.tar.xz |
svn_rev_258
remove unnecassary defines
Diffstat (limited to 'board')
-rw-r--r-- | board/eco920/eco920.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/board/eco920/eco920.c b/board/eco920/eco920.c index 91833c8d52..5abf648118 100644 --- a/board/eco920/eco920.c +++ b/board/eco920/eco920.c @@ -73,8 +73,6 @@ static int devices_init (void) register_device(&sdram_dev); register_device(&at91_ath_dev); - gd->bd->bi_dram[0].start = PHYS_SDRAM; - gd->bd->bi_dram[0].size = PHYS_SDRAM_SIZE; return 0; } @@ -213,3 +211,14 @@ int misc_init_r(void) return 0; } +/* Do not collide with the env from our first stage loader for now */ +static char *env_spec = "nor0:256k+128k"; + +static int eco920_init_env(void) +{ + add_env_spec(env_spec); + return 0; +} + +late_initcall(eco920_init_env); + |