OMAP3: Initialize gpmc if SPL_ONENAND_SUPPORT is enabled.
In order to use SPL boot from OneNAND we should initialize the gpmc. Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
This commit is contained in:
		
							parent
							
								
									6000992e26
								
							
						
					
					
						commit
						b51a5e3a0a
					
				| 
						 | 
					@ -110,7 +110,7 @@ int board_mmc_init(bd_t *bis)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void spl_board_init(void)
 | 
					void spl_board_init(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifdef CONFIG_SPL_NAND_SUPPORT
 | 
					#if defined(CONFIG_SPL_NAND_SUPPORT) || defined(CONFIG_SPL_ONENAND_SUPPORT)
 | 
				
			||||||
	gpmc_init();
 | 
						gpmc_init();
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef CONFIG_SPL_I2C_SUPPORT
 | 
					#ifdef CONFIG_SPL_I2C_SUPPORT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue