[U-Boot] [PATCH 5/9] SPEAr600 SoC support added

Armando VISCONTI
2009-12-16T18:00:59Z

Ciao Peter,
> The changes to board/* should be moved out of this patch and into patch
> 9 "SPEAr600 build support added". Same comment for
> include/configs/spear600.h.
>
Tomorrow we will resend patch_5 and patch_9.

> It'd also be nice to give a description of each board and SOC you add.
> Eg what's the difference between the 300, 310, 320, 600? What
> peripherals do they support? What does SPEAr stand for? More commit
> messages in general wouldn't hurt:)
>
SPEAr (Structured Processor Enhanced Architecture).
You can find some description throughout Internet, for example here:

http://embedded-system.net/spear-basic-customizable-arm-based-soc-stmicroelectronics.html
(SPEARBasic means SPEAr300.)

As you can see this SoC family embeds a customizable logic that could
be programmed one-time by a customer at silicon mask level (i.e. not at
runtime!).

We are now adding the support in u-boot for two SoC: SPEAr600 and SPEAr3xx.
Pls note that SPEAr300/310/320 differs only for the default customization.

All 4 SoCs share common peripherals.

1. ARM926ejs core based (sp600 has two AMP cores, the 2nd handled only
in Linux)
2. FastEthernet (sp600 has Gbit version, but same controller - GMAC)
3. USB Host
4. USB Device
5. NAND controller (FSMC)
6. Serial NOR ctrl
7. I2C
8. SPI
9. CLCD
10. others ..

sp600 is not customized by default.

sp3xx are differently customized...
sp300 is more oriented to TELECOM/video (it has tdm, i2s, ITU i/f support)
sp310 for networking (a part GMAC in fixed part, it has 5 MACB ctrls in
custom)
sp320 for industrial (SPP ctrl, CAN ctrl, 2 MACBs, ...)

Everything is supported in Linux.
u-boot is not currently supporting all peripeharls (just a few).

Regards,
Arm

Peter Tyser wrote:
> On Wed, 2009-12-16 at 14:48 +0530, Vipin KUMAR wrote:
>
>> Signed-off-by: Vipin <vipin.kumar@st.com>
>> ---
>> board/spear/common/spr_lowlevel_init.S | 202 ++++++++++++++++++
>> board/spear/common/spr_misc.c | 270 ++++++++++++++++++++++++
>> board/spear/spear600/Makefile | 52 +++++
>> board/spear/spear600/config.mk | 39 ++++
>> board/spear/spear600/spr600_board.c | 53 +++++
>>
> The changes to board/* should be moved out of this patch and into patch
> 9 "SPEAr600 build support added". Same comment for
> include/configs/spear600.h.
>
>
>> common/cmd_bdinfo.c | 20 ++
>> cpu/arm926ejs/spear/Makefile | 52 +++++
>> cpu/arm926ejs/spear/reset.c | 49 +++++
>> cpu/arm926ejs/spear/timer.c | 148 +++++++++++++
>> include/asm-arm/arch-spear/spr_defs.h | 31 +++
>> include/asm-arm/arch-spear/spr_emi.h | 55 +++++
>> include/asm-arm/arch-spear/spr_gpt.h | 83 ++++++++
>> include/asm-arm/arch-spear/spr_syscntl.h | 38 ++++
>> include/asm-arm/arch-spear/spr_xloader_table.h | 67 ++++++
>> include/asm-arm/u-boot.h | 5 +
>> include/configs/spear600.h | 260 +++++++++++++++++++++++
>>
>
> It'd also be nice to give a description of each board and SOC you add.
> Eg what's the difference between the 300, 310, 320, 600? What
> peripherals do they support? What does SPEAr stand for? More commit
> messages in general wouldn't hurt:)
>
> Best,
> Peter
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

--
-- "Every step appears to be the unavoidable consequence of the
-- preceding one." (A. Einstein)
--
Armando Visconti Mobile: (+39) 346 8879146
Senior SW Engineer Fax: (+39) 02 93519290
CPG Work: (+39) 02 93519683
Computer System Division e-mail: armando.visconti at st.com
ST Microelectronics TINA: 051 4683