[U-Boot] [4/5]devkit8000 nand_spl: Add SPL NAND support to omap_gpmc driver

2011-06-28 Thread simonschwarzcor
Add support for NAND_SPL to omap gpmc driver. This means adding nand_read_buf16 to read from GPMC 32bit buffer (16 here means 16bit bus!) and adding omap_dev_ready as indicator if the GPMC is ready. Signed-off-by: Simon Schwarz -- diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/

[U-Boot] [3/5]devkit8000 nand_spl: Add RAM configuration independent of x-loader or CH

2011-06-28 Thread simonschwarzcor
OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_PRELOADER is set. Settings for Micron-RAM used by devkit8000 are added to mem.h Signed-off-by: Simon Schwarz -- diff

[U-Boot] [1/5]devkit8000 nand_spl: armv7 support nand_spl boot

2011-06-28 Thread simonschwarzcor
This adds changes to armv7 files to support NAND_SPL. The execution of lowlevel init is prevented in normal u-boot. No Exeception code in SPL. board_init_f/r are replaced by board_init_spl. Much code is deactivated by defines for the SPL case. Signed-off-by: Simon Schwarz -- diff --git a/arch

[U-Boot] [0/5]devkit8000 nand_spl support

2011-06-28 Thread simonschwarzcor
This RFC-patch adds nand_spl support to devkit8000(OMAP3). This is a quick adaption to the nand_spl structure - it is not very consistent because it was initaly written for the spl-structure defined by Aneesh in his OMAP4 SPL patches. I will switch to the new SPL structure as soon as there is a

[U-Boot] [5/5]devkit8000 nand_spl: add nand_spl support

2011-06-28 Thread simonschwarzcor
Adds the board config for devkit8000 nand_spl. Adds SPL specific defines to board configuration. Adds the nand_spl Makefile for devkit8000. Adds the main spl implementation to nand_spl including early console init. Adds nand_spl linker script. Signed-off-by: Simon Schwarz -- diff --git a/boar

[U-Boot] [2/5]devkit8000 nand_spl: omap3 support nand_spl boot

2011-06-28 Thread simonschwarzcor
Deactivates caching in SPL. Add call to preloader_console_init for early console output. Signed-off-by: Simon Schwarz -- diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c index 6c2a132..bb38289 100644 --- a/arch/arm/cpu/armv7/omap3/board.c +++ b/arch/arm/cpu/armv7

[U-Boot] [PATCH V2]omap3: Add RAM configuration independent of x-loader or CH

2011-06-07 Thread simonschwarzcor
V2: Some settings in mem.h were wrong - correct now. OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_PRELOADER is set. Settings for Micron-RAM used by devkit8000 are add