summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9n12ek/at91sam9n12ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9n12ek/at91sam9n12ek.c')
-rw-r--r--board/atmel/at91sam9n12ek/at91sam9n12ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c
index d3555bbdf6..fc4f50d219 100644
--- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c
+++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c
@@ -124,7 +124,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);