@ -14,6 +14,8 @@
# include <usb.h>
# include <usb.h>
# include <asm/omap_common.h>
# include <asm/omap_common.h>
# include <asm/emif.h>
# include <asm/emif.h>
# include <asm/gpio.h>
# include <asm/arch/gpio.h>
# include <asm/arch/clock.h>
# include <asm/arch/clock.h>
# include <asm/arch/dra7xx_iodelay.h>
# include <asm/arch/dra7xx_iodelay.h>
# include <asm/arch/sys_proto.h>
# include <asm/arch/sys_proto.h>
@ -30,6 +32,9 @@
DECLARE_GLOBAL_DATA_PTR ;
DECLARE_GLOBAL_DATA_PTR ;
/* GPIO 7_11 */
# define GPIO_DDR_VTT_EN 203
const struct omap_sysinfo sysinfo = {
const struct omap_sysinfo sysinfo = {
" Board: BeagleBoard x15 \n "
" Board: BeagleBoard x15 \n "
} ;
} ;
@ -404,3 +409,21 @@ int board_eth_init(bd_t *bis)
return ret ;
return ret ;
}
}
# endif
# endif
# ifdef CONFIG_BOARD_EARLY_INIT_F
/* VTT regulator enable */
static inline void vtt_regulator_enable ( void )
{
if ( omap_hw_init_context ( ) = = OMAP_INIT_CONTEXT_UBOOT_AFTER_SPL )
return ;
gpio_request ( GPIO_DDR_VTT_EN , " ddr_vtt_en " ) ;
gpio_direction_output ( GPIO_DDR_VTT_EN , 1 ) ;
}
int board_early_init_f ( void )
{
vtt_regulator_enable ( ) ;
return 0 ;
}
# endif