[U-Boot] [PATCH 0/3] Initialisation Sequence Framework

Marek Vasut
2012-05-02T23:50:38Z

Dear Graeme Russ,

> Well here it is (finally) - My Initialisation Sequence Framework
>
> This series is limited to x86 and is controlled by CONFIG_INIT_FUNC so
> no other arch should be effected. I don't have any cross compilers, so I
> would appreciate if others could confirm the zero impact assertion
>
> Asbestos suit on

Oh this is gonna be the flamewar of the year now :-E~

Gasoline ready, asbestos pants - check, flamethrower on ... let's go!

) ( ( (
( ) () @@ ) (( (
( ( )( @@ ( )) ) (
( ( ( ()( /---\ (()( (
_______ ) ) )(@ !O O! )@@ ( ) ) )
< ____) ) ( ( )( ()@ \ o / (@@@@@ ( ()( )
/--| |( o| ( ) ) ((@@(@@ !o! @@@@(@@@@@)() (
| > \___| ) ( @)@@)@ /---\-/---\ )@@@@@()( )
| /---------+ (@@@@)@@@( // /-----\ \\ @@@)@@@@@( .
| | \ =========______/|@@@@@@@@@@@@@(@@@ // @ /---\ @ \\ @(@@@(@@@ . .
| \ \\=========------\|@@@@@@@@@@@@@@@@@ O @@@ /-\ @@@ O @@(@@)@@ @ .
| \ \----+--\-))) @@@@@@@@@@ !! @@@@ % @@@@ !! @@)@@@ .. .
| |\______|_)))/ . @@@@@@ !! @@ /---\ @@ !! @@(@@@ @ . .
\__========== * . @@ /MM /\O O/\ MM\ @@@@@@@. .
| |-\ \ ( . @ !!! !! \-/ !! !!! @@@@@ .
| | \ \ ) . . @@@@ !! !! .(. @. .. .
| | \ \ ( / .( . \)). ( |O )( O! @@@@ . ) .
| | / / ) ( )). (( .) !! ((( !! @@ (. ((. . .
| | / / () )) )) .( ( ( ) ). ( !! )( !! ) (( )) ..
| |_< / ( ) ( ( ) ) (( ) )).) ((/ | ( | \( )) ((. ).
____<_____\\__\__(___)_))_((_(____))__(_(___.oooO_____Oooo.(_(_)_)((_

Artist: P.r.i.m.a.l
Borrowed from: http://www.ascii-art.de/ascii/def/flamethrower.txt
Copyright ? 1997-2004 Andreas Freise

> Fire away ;)
>
> Regards,
>
> Graeme
>
> Graeme Russ (3):
> init_func: Add fundamental framework
> init_func: Add x86 support
> init_func: Use for eNET board
>
> Makefile | 34 +-
> arch/x86/cpu/cpu.c | 3 +
> arch/x86/cpu/sc520/sc520_sdram.c | 3 +
> arch/x86/cpu/sc520/sc520_timer.c | 2 +
> arch/x86/cpu/u-boot.lds | 23 +
> arch/x86/lib/board.c | 10 +-
> arch/x86/lib/init_helpers.c | 14 +
> arch/x86/lib/init_wrappers.c | 11 +-
> arch/x86/lib/pcat_interrupts.c | 2 +
> arch/x86/lib/relocate.c | 4 +
> board/eNET/eNET.c | 5 +
> common/Makefile | 2 +
> common/console.c | 3 +
> common/env_dataflash.c | 1 +
> common/env_eeprom.c | 1 +
> common/env_fat.c | 1 +
> common/env_flash.c | 2 +
> common/env_mgdisk.c | 1 +
> common/env_mmc.c | 1 +
> common/env_nand.c | 1 +
> common/env_nowhere.c | 1 +
> common/env_nvram.c | 1 +
> common/env_onenand.c | 1 +
> common/env_sf.c | 1 +
> common/serial.c | 2 +
> common/stdio.c | 2 +
> config.mk | 2 +
> doc/README.INIT_FUNC | 65 ++
> include/configs/eNET.h | 1 +
> include/init_func.h | 37 +
> tools/Makefile | 6 +
> tools/mkinitseq.c | 1512
> ++++++++++++++++++++++++++++++++++++++ 32 files changed, 1746
> insertions(+), 9 deletions(-)
> create mode 100644 doc/README.INIT_FUNC
> create mode 100644 include/init_func.h
> create mode 100644 tools/mkinitseq.c

Best regards,
Marek Vasut