summaryrefslogtreecommitdiffstats
path: root/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c')
-rw-r--r--board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
index 4c6431266f..6871916865 100644
--- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
+++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
@@ -272,7 +272,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 );
OpenPOWER on IntegriCloud