@ -597,85 +597,8 @@ void efikamx_toggle_led(uint32_t mask)
/*
* Board initialization
*/
static void init_drive_strength ( void )
{
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_PKEDDR , PAD_CTL_DDR_INPUT_CMOS ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_PKEADDR , PAD_CTL_PKE_ENABLE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDRAPKS , PAD_CTL_PUE_KEEPER ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDRAPUS , PAD_CTL_100K_PU ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_SR_A1 , PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_A0 , PAD_CTL_DRV_HIGH ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_A1 , PAD_CTL_DRV_HIGH ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_RAS ,
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_CAS ,
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_PKEDDR , PAD_CTL_PKE_ENABLE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDRPKS , PAD_CTL_PUE_KEEPER ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_HYSDDR0 , PAD_CTL_HYS_NONE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_HYSDDR1 , PAD_CTL_HYS_NONE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_HYSDDR2 , PAD_CTL_HYS_NONE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_HYSDDR3 , PAD_CTL_HYS_NONE ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_SR_B0 , PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_SR_B1 , PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_SR_B2 , PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDR_SR_B4 , PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DDRPUS , PAD_CTL_100K_PU ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_INMODE1 , PAD_CTL_DDR_INPUT_CMOS ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DRAM_B0 , PAD_CTL_DRV_MEDIUM ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DRAM_B1 , PAD_CTL_DRV_MEDIUM ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DRAM_B2 , PAD_CTL_DRV_MEDIUM ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_GRP_DRAM_B4 , PAD_CTL_DRV_MEDIUM ) ;
/* Setting pad options */
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDWE ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDCKE0 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDCKE1 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDCLK ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDQS0 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDQS1 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDQS2 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_SDQS3 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_CS0 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_CS1 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_DQM0 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_DQM1 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_DQM2 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
mxc_iomux_set_pad ( MX51_PIN_CTL_DRAM_DQM3 ,
PAD_CTL_PKE_ENABLE | PAD_CTL_PUE_KEEPER |
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST ) ;
}
int board_early_init_f ( void )
{
init_drive_strength ( ) ;
setup_iomux_uart ( ) ;
setup_iomux_spi ( ) ;
setup_iomux_led ( ) ;