summaryrefslogtreecommitdiff
path: root/board/tqm5200/cam5200_flash.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@atlas.denx.de>2006-11-23 22:58:58 +0100
committerWolfgang Denk <wd@atlas.denx.de>2006-11-23 22:58:58 +0100
commit78d620ebb5871d252270dedfad60c6568993b780 (patch)
treef93ab1f9d703cde2ab7693062f797056c59314cb /board/tqm5200/cam5200_flash.c
parent4ef6251403f637841000e0fef9e832aa01339822 (diff)
downloadu-boot-imx-78d620ebb5871d252270dedfad60c6568993b780.zip
u-boot-imx-78d620ebb5871d252270dedfad60c6568993b780.tar.gz
u-boot-imx-78d620ebb5871d252270dedfad60c6568993b780.tar.bz2
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/cam5200_flash.c')
-rw-r--r--board/tqm5200/cam5200_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqm5200/cam5200_flash.c b/board/tqm5200/cam5200_flash.c
index 1a40633..8c3f62e 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;
}