Merge branch 'master' of git://git.denx.de/u-boot-at91

This commit is contained in:
Wolfgang Denk 2008-12-05 00:27:19 +01:00
commit 90665e3d97
3 changed files with 15 additions and 16 deletions

View File

@ -118,7 +118,7 @@ start_code:
bl coloured_LED_init
bl red_LED_on
#if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF)
#if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK)
/*
* relocate exception table
*/
@ -258,7 +258,7 @@ cpu_init_crit:
* find a lowlevel_init.S in your board directory.
*/
mov ip, lr
#if defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF)
#if defined(CONFIG_AT91RM9200EK)
#else
bl lowlevel_init

View File

@ -131,7 +131,7 @@ int AT91F_DataflashInit (void)
break;
}
/* set the last area end to the dataflash size*/
area_list[NB_DATAFLASH_AREA -1].end =
dataflash_info[i].end_address =
(dataflash_info[i].Device.pages_number *
dataflash_info[i].Device.pages_size) - 1;
@ -184,8 +184,7 @@ void AT91F_DataflashSetEnv (void)
env = area_list[part].setenv;
/* Set the environment according to the label...*/
if((env & FLAG_SETENV) == FLAG_SETENV) {
start =
dataflash_info[i].Device.area_list[j].start;
start = dataflash_info[i].Device.area_list[j].start;
sprintf((char*) s,"%lX",start);
setenv((char*) area_list[part].label,(char*) s);
}

View File

@ -1,7 +1,7 @@
/*
* Rick Bronson <rick@efn.org>
*
* Configuation settings for the AT91RM9200DK board.
* Configuration settings for the AT91RM9200DK board.
*
* See file CREDITS for list of people who contributed to this
* project.