@ -14,11 +14,14 @@
# include <asm/blackfin.h>
# include <asm/blackfin.h>
# include <asm/cplb.h>
# include <asm/cplb.h>
# include <asm/mach-common/bits/core.h>
# include <asm/mach-common/bits/core.h>
# include <asm/mach-common/bits/ebiu.h>
# include <asm/mach-common/bits/trace.h>
# include <asm/mach-common/bits/trace.h>
# include "cpu.h"
# include "cpu.h"
# include "serial.h"
# include "serial.h"
ulong bfin_poweron_retx ;
__attribute__ ( ( __noreturn__ ) )
__attribute__ ( ( __noreturn__ ) )
void cpu_init_f ( ulong bootflag , ulong loaded_from_ldr )
void cpu_init_f ( ulong bootflag , ulong loaded_from_ldr )
{
{
@ -48,6 +51,9 @@ void cpu_init_f(ulong bootflag, ulong loaded_from_ldr)
bfin_write_EBIU_AMGCTL ( CONFIG_EBIU_AMGCTL_VAL ) ;
bfin_write_EBIU_AMGCTL ( CONFIG_EBIU_AMGCTL_VAL ) ;
# endif
# endif
/* Save RETX so we can pass it while booting Linux */
bfin_poweron_retx = bootflag ;
# ifdef CONFIG_DEBUG_DUMP
# ifdef CONFIG_DEBUG_DUMP
/* Turn on hardware trace buffer */
/* Turn on hardware trace buffer */
bfin_write_TBUFCTL ( TBUFPWR | TBUFEN ) ;
bfin_write_TBUFCTL ( TBUFPWR | TBUFEN ) ;