Re: [U-Boot] [PATCH v7] Marvell Kirkwood family SOC support

2009-05-18 Thread Wolfgang Denk
Dear Prafulla Wadaskar, > +unsigned char get_random_hex(void) > +{ > + int i; > + u32 inbuf[16]; > + u8 outbuf[16]; > + > + /* > + * in case of 88F6281/88F6192 A0, > + * Bit7 need to reset to generate random values in KW_REG_UNDOC_0x1470 > + * Soc reg offsets KW_REG

Re: [U-Boot] [PATCH v7] Marvell Kirkwood family SOC support

2009-05-18 Thread Jean-Christophe PLAGNIOL-VILLARD
> + > + icache_enable(); > + /* Change reset vector to address 0x0 */ > + temp = get_cr(); > + set_cr(temp & ~CR_V); > + > + return 0; > +} > +#endif /* CONFIG_ARCH_MISC_INIT */ > diff --git a/cpu/arm926ejs/kirkwood/cpu.h b/cpu/arm926ejs/kirkwood/cpu.h please move to include/asm

[U-Boot] [PATCH v7] Marvell Kirkwood family SOC support

2009-05-18 Thread Prafulla Wadaskar
Kirkwood family controllers are highly integrated SOCs based on Feroceon-88FR131/Sheeva-88SV131 cpu core. SOC versions supported:- 1) 88F6281-A0 define CONFIG_KW88F6281_A0 2) 88F6192-A0 define CONFIG_KW88F6192_A0 Other supported features:- 1) get_random_hex() fucntion 2) SPI port cont