diff options
author | Wolfgang Denk <wd@atlas.denx.de> | 2006-11-23 22:58:58 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@atlas.denx.de> | 2006-11-23 22:58:58 +0100 |
commit | 78d620ebb5871d252270dedfad60c6568993b780 (patch) | |
tree | f93ab1f9d703cde2ab7693062f797056c59314cb /board/tqm5200 | |
parent | 4ef6251403f637841000e0fef9e832aa01339822 (diff) |
Updates for TQM5200 modules:
- fix off-by-one error in board/tqm5200/cam5200_flash.c error message
- simplify "udate" definitions
Diffstat (limited to 'board/tqm5200')
-rw-r--r-- | board/tqm5200/cam5200_flash.c | 2 | ||||
-rw-r--r-- | board/tqm5200/tqm5200.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/tqm5200/cam5200_flash.c b/board/tqm5200/cam5200_flash.c index 1a40633e569..8c3f62e398c 100644 --- a/board/tqm5200/cam5200_flash.c +++ b/board/tqm5200/cam5200_flash.c @@ -759,7 +759,7 @@ unsigned long flash_init(void) if (flash_info[i].flash_id == FLASH_UNKNOWN) { printf("## Unknown FLASH on Bank %d - Size = 0x%08lx = %ld MB\n", - i, size_b[i], size_b[i] << 20); + i+1, size_b[i], size_b[i] << 20); flash_info[i].sector_count = -1; flash_info[i].size = 0; } diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index cb57a5e2694..a4322b6661a 100644 --- a/board/tqm5200/tqm5200.c +++ b/board/tqm5200/tqm5200.c @@ -289,7 +289,7 @@ int checkboard (void) #elif defined(CONFIG_TB5200) # define CARRIER_NAME "TB5200" #elif defined(CONFIG_CAM5200) -# define CARRIER_NAME "Cam5200" +# define CARRIER_NAME "CAM5200" #elif defined(CONFIG_FO300) # define CARRIER_NAME "FO300" #else |