[U-Boot] [PATCH V3 5/5] devkit8000: Add nand-spl support for new SPL

Andreas Bießmann andreas.devel at googlemail.com
Tue Jul 26 12:42:51 CEST 2011


Dear Simon,

Am 26.07.2011 12:22, schrieb Simon Schwarz:
> Add NAND SPL support to the devkit8000 config
> 
> Signed-off-by: Simon Schwarz <simonschwarzcor at gmail.com>
> ---
> V1 changes:
> ADD devkit8000_nand to board.cfg
> ADD nand_spl Makefile, llinker script, spl-devkit8000.c
> ADD config ecc, SRAM, SPL to board config
> ADD CONFIG_SYS_SRAM_START and _SIZE to board config
> ADD CONFIG_SYS_SPL_TEXT_BASE, _MAX_SIZE and SPL_STACK to board config
> 
> V2 changes:
> ADD CONFIG_SPL and LIBCOMMON, LIBDISK, I2C, LIBGENERIC, SERIAL, POWER, NAND and
> 	CONFIG_SPL_LDSCRIPT to board config
> CHG renamed CONFIG_SYS_SPL_* to CONFIG_SPL_*
> ADD CONFIG_SYS_NAND_U_BOOT_START, _OFFS, _SIZE, _DST to board config: Where to
> 	expect u-boot and where to load it.
> ADD some barrier to not build board_eth_init in SPL
> DEL no changes to board.cfg
> DEL everything used the old nand_spl layout (Makefile, linker script,
> 	spl-devkit8000.c)
> CHG cosmetic
> 
> V3 changes:
> CHG Deleted wrong comment
> 
> Transition from V1 to V2 also includes that this patch is now based on
> 	- the new SPL layout by Aneesh V and Daniel Schwierzeck
>   	- the OMAP4 SPL patches by Aneesh V
> 
> This is the successor of "[U-Boot,5/5] devkit8000 nand_spl: add nand_spl
> support"
> (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102111)
> ---
>  board/timll/devkit8000/devkit8000.c |    2 +-
>  include/configs/devkit8000.h        |   46 +++++++++++++++++++++++++++++++++++
>  2 files changed, 47 insertions(+), 1 deletions(-)
> 
> diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c
> index 95afaaa..9b53742 100644
> --- a/board/timll/devkit8000/devkit8000.c
> +++ b/board/timll/devkit8000/devkit8000.c
> @@ -119,7 +119,7 @@ void set_muxconf_regs(void)
>  	MUX_DEVKIT8000();
>  }
>  
> -#ifdef CONFIG_DRIVER_DM9000
> +#if defined(CONFIG_DRIVER_DM9000) & !defined(CONFIG_SPL_BUILD)
>  /*
>   * Routine: board_eth_init
>   * Description: Setting up the Ethernet hardware.
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index 125c690..22c9b8e 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -307,4 +307,50 @@
>  		                                         CONFIG_SYS_INIT_RAM_SIZE - \
>  		                                         GENERATED_GBL_DATA_SIZE)
>  
> +/* SRAM config */
> +#define CONFIG_SYS_SRAM_START              0x40200000
> +#define CONFIG_SYS_SRAM_SIZE               0xFFFF

you mentioned this as 'Changed' in your reply to my last review. It is
still unchanged (but comment about 64kB removed, so is the size not 64kB?).

regards

Andreas Bießmann


More information about the U-Boot mailing list