Patchwork [U-Boot] TI: TNETV107X Fix Build Error

login
register
mail settings
Submitter Chan-Taek Park
Date June 23, 2011, 7:19 p.m.
Message ID <1308856766-3364-1-git-send-email-c-park@ti.com>
Download mbox | patch
Permalink /patch/101675/
State Accepted
Commit 930f335592ceba963122122429ab26d94f165cab
Delegated to: Albert ARIBAUD
Headers show

Comments

Chan-Taek Park - June 23, 2011, 7:19 p.m.
This patch provides SDRAM base address and initial stack address to fix
build errors.

Signed-off-by: Chan-Taek Park <c-park@ti.com>
---
 include/configs/tnetv107x_evm.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Sandeep Paulraj - June 23, 2011, 7:22 p.m.
> 
> This patch provides SDRAM base address and initial stack address to fix
> build errors.
> 
> Signed-off-by: Chan-Taek Park <c-park@ti.com>
> ---
>  include/configs/tnetv107x_evm.h |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/tnetv107x_evm.h
> b/include/configs/tnetv107x_evm.h
> index 3627ce7..4bced0c 100644
> --- a/include/configs/tnetv107x_evm.h
> +++ b/include/configs/tnetv107x_evm.h
> @@ -57,6 +57,12 @@
>  #define CONFIG_NR_DRAM_BANKS		1
>  #define CONFIG_STACKSIZE		(256*1024)
> 
> +#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
> +#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + \
> +					 CONFIG_SYS_INIT_RAM_SIZE - \
> +					 GENERATED_GBL_DATA_SIZE)
> +
>  /* Serial Driver Info */
>  #define CONFIG_SYS_NS16550
>  #define CONFIG_SYS_NS16550_SERIAL
> --

Albert,

If it ok with you I'd like to send a pull request for this patch.
With this one more ARM board will build.

--Sandeep
Albert ARIBAUD - July 17, 2011, 3:02 p.m.
Hi Chan-Taek Park,

Le 23/06/2011 21:19, Chan-Taek Park a écrit :
> This patch provides SDRAM base address and initial stack address to fix
> build errors.
>
> Signed-off-by: Chan-Taek Park<c-park@ti.com>
> ---

Applied to u-boot-arm/master, thanks!

Amicalement,

Patch

diff --git a/include/configs/tnetv107x_evm.h b/include/configs/tnetv107x_evm.h
index 3627ce7..4bced0c 100644
--- a/include/configs/tnetv107x_evm.h
+++ b/include/configs/tnetv107x_evm.h
@@ -57,6 +57,12 @@ 
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_STACKSIZE		(256*1024)
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
+
 /* Serial Driver Info */
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL