davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board
This patch fixes the build breakage for the davinci_sonata board. Signed-off-by: Christian Riesch <christian.riesch@omicron.at> Cc: Sergey Kubushyn <ksi@koi8.net> Cc: Sandeep Paulraj <s-paulraj@ti.com>
This commit is contained in:
		
							parent
							
								
									0647508d44
								
							
						
					
					
						commit
						eccb213e9d
					
				|  | @ -34,9 +34,6 @@ DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
| int board_init(void) | int board_init(void) | ||||||
| { | { | ||||||
| 	/* arch number of the board */ |  | ||||||
| 	gd->bd->bi_arch_number = MACH_TYPE_SONATA; |  | ||||||
| 
 |  | ||||||
| 	/* address of boot parameters */ | 	/* address of boot parameters */ | ||||||
| 	gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; | 	gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -52,6 +52,8 @@ | ||||||
| #define CONFIG_SYS_NAND_SMALLPAGE | #define CONFIG_SYS_NAND_SMALLPAGE | ||||||
| #define CONFIG_SYS_USE_NOR | #define CONFIG_SYS_USE_NOR | ||||||
| #define CONFIG_DISPLAY_CPUINFO | #define CONFIG_DISPLAY_CPUINFO | ||||||
|  | #define MACH_TYPE_SONATA 1254 | ||||||
|  | #define CONFIG_MACH_TYPE MACH_TYPE_SONATA | ||||||
| /*===================*/ | /*===================*/ | ||||||
| /* SoC Configuration */ | /* SoC Configuration */ | ||||||
| /*===================*/ | /*===================*/ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue