summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9261ek/at91sam9261ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9261ek/at91sam9261ek.c')
-rw-r--r--board/atmel/at91sam9261ek/at91sam9261ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9261ek/at91sam9261ek.c b/board/atmel/at91sam9261ek/at91sam9261ek.c
index 7b7cd2c..6398bcb 100644
--- a/board/atmel/at91sam9261ek/at91sam9261ek.c
+++ b/board/atmel/at91sam9261ek/at91sam9261ek.c
@@ -212,7 +212,7 @@ void lcd_show_board_info(void)
dram_size += gd->bd->bi_dram[i].size;
nand_size = 0;
for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++)
- nand_size += nand_info[i].size;
+ nand_size += nand_info[i]->size;
lcd_printf (" %ld MB SDRAM, %ld MB NAND\n",
dram_size >> 20,
nand_size >> 20 );