diff options
Diffstat (limited to 'board')
| -rw-r--r-- | board/atmel/sama5d3xek/sama5d3xek.c | 5 | ||||
| -rw-r--r-- | board/h2200/Makefile | 3 | ||||
| -rw-r--r-- | board/ti/am335x/board.c | 14 | ||||
| -rw-r--r-- | board/tqc/tqm5200/Makefile | 3 | 
4 files changed, 4 insertions, 21 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 */ diff --git a/board/h2200/Makefile b/board/h2200/Makefile index b654a96e0..d4fa15344 100644 --- a/board/h2200/Makefile +++ b/board/h2200/Makefile @@ -10,8 +10,5 @@ obj-y	:= h2200.o  extra-y := h2200-header.bin -$(obj)h2200-header.o: h2200-header.S -	$(CC) $(CFLAGS) -c -o $@ $< -  $(obj)h2200-header.bin: $(obj)h2200-header.o  	$(OBJCOPY) -O binary $< $@ diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 8edd21b11..db225ce1d 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -481,26 +481,14 @@ void sdram_init(void)   */  int board_init(void)  { -#ifdef CONFIG_NOR -	const u32 gpmc_nor[GPMC_MAX_REG] = { STNOR_GPMC_CONFIG1, -		STNOR_GPMC_CONFIG2, STNOR_GPMC_CONFIG3, STNOR_GPMC_CONFIG4, -		STNOR_GPMC_CONFIG5, STNOR_GPMC_CONFIG6, STNOR_GPMC_CONFIG7 }; -#endif -  #if defined(CONFIG_HW_WATCHDOG)  	hw_watchdog_init();  #endif  	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; - +#if defined(CONFIG_NOR) || defined(CONFIG_NAND)  	gpmc_init(); - -#ifdef CONFIG_NOR -	/* Reconfigure CS0 for NOR instead of NAND. */ -	enable_gpmc_cs_config(gpmc_nor, &gpmc_cfg->cs[0], -			      CONFIG_SYS_FLASH_BASE, GPMC_SIZE_16M);  #endif -  	return 0;  } diff --git a/board/tqc/tqm5200/Makefile b/board/tqc/tqm5200/Makefile index 757f4729a..80c1eba87 100644 --- a/board/tqc/tqm5200/Makefile +++ b/board/tqc/tqm5200/Makefile @@ -6,6 +6,3 @@  #  obj-y	:= tqm5200.o cmd_stk52xx.o cmd_tb5200.o cam5200_flash.o - -$(obj)cam5200_flash.o:	cam5200_flash.c -	$(CC) $(CFLAGS) -c -o $@ $< |