Re: [U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Zhi-zhou Zhang
On Sat, Aug 18, 2012 at 3:34 AM, Mike Frysinger wrote: > On Friday 17 August 2012 11:30:47 Zhizhou Zhang wrote: > > --- /dev/null > > +++ b/arch/mips/cpu/mips64/cpu.c > > > > +void __attribute__((weak)) _machine_restart(void) > > +{ > > +} > > change to __weak (include linux/compiler.h if you nee

Re: [U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Mike Frysinger
On Friday 17 August 2012 11:30:47 Zhizhou Zhang wrote: > --- /dev/null > +++ b/arch/mips/cpu/mips64/cpu.c > > +void __attribute__((weak)) _machine_restart(void) > +{ > +} change to __weak (include linux/compiler.h if you need to). > +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const

[U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Zhizhou Zhang
add icache and dcache probe here. but scache was not probed. For I don't know how to determine it implemented or not. Signed-off-by: Zhizhou Zhang --- arch/mips/cpu/mips64/cpu.c | 133 1 file changed, 133 insertions(+) create mode 100644 arch/mips/cp

[U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Zhizhou Zhang
add icache and dcache probe here. but scache was not probed. For I don't know how to determine it implemented or not. Signed-off-by: Zhizhou Zhang --- arch/mips/cpu/mips64/cpu.c | 133 1 file changed, 133 insertions(+) create mode 100644 arch/mips/cp