void __init config_BSP(char *commandp, int size) { #if defined (CONFIG_MOD5272) volatile unsigned char *pivrp; /* Set base of device vectors to be 64 */ pivrp = (volatile unsigned char *) (MCF_MBAR + MCFSIM_PIVR); *pivrp = 0x40; #endif mcf_disableall(); #if defined(CONFIG_NETtel) || defined(CONFIG_SCALES) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xf0004000, size); commandp[size-1] = 0; #elif defined(CONFIG_CANCam) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xf0010000, size); commandp[size-1] = 0; #endif mcf_timervector = 69; mcf_profilevector = 70; mach_reset = m5272_cpu_reset; }
void __init config_BSP(char *commandp, int size) { mcf_disableall(); mach_reset = coldfire_reset; m527x_uarts_init(); m527x_fec_init(); }
void config_BSP(char *commandp, int size) { #if 0 volatile unsigned long *pivrp; /* Set base of device vectors to be 64 */ pivrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_PIVR); *pivrp = 0x40; #endif mcf_disableall(); #if defined(CONFIG_BOOTPARAM) strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); commandp[size-1] = 0; #elif defined(CONFIG_NETtel) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xf0004000, size); commandp[size-1] = 0; #elif defined(CONFIG_MTD_KeyTechnology) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xffe06000, size); commandp[size-1] = 0; #else memset(commandp, 0, size); #endif mcf_timervector = 69; mcf_profilevector = 70; mach_sched_init = coldfire_timer_init; mach_tick = coldfire_tick; mach_gettimeoffset = coldfire_timer_offset; mach_trap_init = coldfire_trap_init; mach_reset = coldfire_reset; }
void __init config_BSP(char *commandp, int size) { mcf_disableall(); #if defined(CONFIG_SAVANT) config_savantBSP(commandp, size); #endif /* CONFIG_SAVANT */ mach_reset = coldfire_reset; m523x_uarts_init(); }
void __init config_BSP(char *commandp, int size) { mcf_disableall(); #ifdef CONFIG_WILDFIRE mach_halt = wildfire_halt; #endif #ifdef CONFIG_WILDFIREMOD mach_halt = wildfiremod_halt; #endif }
void config_BSP(char *commandp, int size) { mcf_disableall(); #ifdef CONFIG_BOOTPARAM strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); commandp[size-1] = 0; #else memset(commandp, 0, size); #endif mach_sched_init = coldfire_pit_init; mach_tick = coldfire_pit_tick; mach_gettimeoffset = coldfire_pit_offset; mach_trap_init = coldfire_trap_init; mach_reset = coldfire_reset; }
void config_BSP(char *commandp, int size) { mcf_disableall(); mach_reset = coldfire_reset; }