diff options
| author | Wu, Josh <Josh.wu@atmel.com> | 2013-10-18 17:46:32 +0800 | 
|---|---|---|
| committer | Scott Wood <scottwood@freescale.com> | 2013-11-21 13:33:41 -0600 | 
| commit | d02a60a16e40b185a9eb5ad3bc038584fd7264c2 (patch) | |
| tree | a98ccaf344af9e58d9f9004ec53867a4ed62a43d | |
| parent | 16dddef6050471f47c84b6c929ae3c4bc9c0fb46 (diff) | |
| download | olio-uboot-2014.01-d02a60a16e40b185a9eb5ad3bc038584fd7264c2.tar.xz olio-uboot-2014.01-d02a60a16e40b185a9eb5ad3bc038584fd7264c2.zip | |
sama5d3xek: support larger than 4G nand flash
Signed-off-by: Josh Wu <josh.wu@atmel.com>
| -rw-r--r-- | board/atmel/sama5d3xek/sama5d3xek.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index b0965ef21..83fd63f54 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -131,7 +131,8 @@ static void sama5d3xek_lcd_hw_init(void)  void lcd_show_board_info(void)  { -	ulong dram_size, nand_size; +	ulong dram_size; +	uint64_t nand_size;  	int i;  	char temp[32]; @@ -150,7 +151,7 @@ void lcd_show_board_info(void)  	for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++)  		nand_size += nand_info[i].size;  #endif -	lcd_printf("%ld MB SDRAM, %ld MB NAND\n", +	lcd_printf("%ld MB SDRAM, %lld MB NAND\n",  		   dram_size >> 20, nand_size >> 20);  }  #endif /* CONFIG_LCD_INFO */ |