@ -172,47 +172,47 @@ int misc_init_r(void)
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " dvi " ) ;
setenv ( " expansionname " , " summit " ) ;
env_ set( " defaultdisplay " , " dvi " ) ;
env_ set( " expansionname " , " summit " ) ;
break ;
case GUMSTIX_TOBI :
printf ( " Recognized Tobi expansion board (rev %d %s) \n " ,
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " dvi " ) ;
setenv ( " expansionname " , " tobi " ) ;
env_ set( " defaultdisplay " , " dvi " ) ;
env_ set( " expansionname " , " tobi " ) ;
break ;
case GUMSTIX_TOBI_DUO :
printf ( " Recognized Tobi Duo expansion board (rev %d %s) \n " ,
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " expansionname " , " tobiduo " ) ;
env_ set( " expansionname " , " tobiduo " ) ;
break ;
case GUMSTIX_PALO35 :
printf ( " Recognized Palo35 expansion board (rev %d %s) \n " ,
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " lcd35 " ) ;
setenv ( " expansionname " , " palo35 " ) ;
env_ set( " defaultdisplay " , " lcd35 " ) ;
env_ set( " expansionname " , " palo35 " ) ;
break ;
case GUMSTIX_PALO43 :
printf ( " Recognized Palo43 expansion board (rev %d %s) \n " ,
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " lcd43 " ) ;
setenv ( " expansionname " , " palo43 " ) ;
env_ set( " defaultdisplay " , " lcd43 " ) ;
env_ set( " expansionname " , " palo43 " ) ;
break ;
case GUMSTIX_CHESTNUT43 :
printf ( " Recognized Chestnut43 expansion board (rev %d %s) \n " ,
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " lcd43 " ) ;
setenv ( " expansionname " , " chestnut43 " ) ;
env_ set( " defaultdisplay " , " lcd43 " ) ;
env_ set( " expansionname " , " chestnut43 " ) ;
break ;
case GUMSTIX_PINTO :
printf ( " Recognized Pinto expansion board (rev %d %s) \n " ,
@ -225,8 +225,8 @@ int misc_init_r(void)
expansion_config . revision ,
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
setenv ( " defaultdisplay " , " lcd43 " ) ;
setenv ( " expansionname " , " gallop43 " ) ;
env_ set( " defaultdisplay " , " lcd43 " ) ;
env_ set( " expansionname " , " gallop43 " ) ;
break ;
case GUMSTIX_ALTO35 :
printf ( " Recognized Alto35 expansion board (rev %d %s) \n " ,
@ -234,8 +234,8 @@ int misc_init_r(void)
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
MUX_ALTO35 ( ) ;
setenv ( " defaultdisplay " , " lcd35 " ) ;
setenv ( " expansionname " , " alto35 " ) ;
env_ set( " defaultdisplay " , " lcd35 " ) ;
env_ set( " expansionname " , " alto35 " ) ;
break ;
case GUMSTIX_STAGECOACH :
printf ( " Recognized Stagecoach expansion board (rev %d %s) \n " ,
@ -261,8 +261,8 @@ int misc_init_r(void)
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
MUX_ARBOR43C ( ) ;
setenv ( " defaultdisplay " , " lcd43 " ) ;
setenv ( " expansionname " , " arbor43c " ) ;
env_ set( " defaultdisplay " , " lcd43 " ) ;
env_ set( " expansionname " , " arbor43c " ) ;
break ;
case ETTUS_USRP_E :
printf ( " Recognized Ettus Research USRP-E (rev %d %s) \n " ,
@ -270,13 +270,13 @@ int misc_init_r(void)
expansion_config . fab_revision ) ;
MUX_GUMSTIX ( ) ;
MUX_USRP_E ( ) ;
setenv ( " defaultdisplay " , " dvi " ) ;
env_ set( " defaultdisplay " , " dvi " ) ;
break ;
case GUMSTIX_NO_EEPROM :
case GUMSTIX_EMPTY_EEPROM :
puts ( " No or empty EEPROM on expansion board \n " ) ;
MUX_GUMSTIX ( ) ;
setenv ( " expansionname " , " tobi " ) ;
env_ set( " expansionname " , " tobi " ) ;
break ;
default :
printf ( " Unrecognized expansion board 0x%08x \n " , expansion_id ) ;
@ -284,14 +284,14 @@ int misc_init_r(void)
}
if ( expansion_config . content = = 1 )
setenv ( expansion_config . env_var , expansion_config . env_setting ) ;
env_ set( expansion_config . env_var , expansion_config . env_setting ) ;
omap_die_id_display ( ) ;
if ( get_cpu_family ( ) = = CPU_OMAP34XX )
setenv ( " boardname " , " overo " ) ;
env_ set( " boardname " , " overo " ) ;
else
setenv ( " boardname " , " overo-storm " ) ;
env_ set( " boardname " , " overo-storm " ) ;
return 0 ;
}