
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
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