diff mbox

[U-Boot] Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE

Message ID 1290066325-1612-1-git-send-email-weber@corscience.de
State Accepted
Commit 30f305c975eb530c7b04999d5f1f66664cbfb0d5
Headers show

Commit Message

Thomas Weber Nov. 18, 2010, 7:45 a.m. UTC
This patch fixes the issue by defining and using
CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR.

This patch adopts the
commit 31bfcf1c5776df3d90286aa15104c45096d53dc6
from Steve Sakoman and Sandeep Paulraj on Devkit8000.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 include/configs/devkit8000.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Comments

Wolfgang Denk Nov. 28, 2010, 10:56 a.m. UTC | #1
Dear Thomas Weber,

In message <1290066325-1612-1-git-send-email-weber@corscience.de> you wrote:
> This patch fixes the issue by defining and using
> CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR.
> 
> This patch adopts the
> commit 31bfcf1c5776df3d90286aa15104c45096d53dc6
> from Steve Sakoman and Sandeep Paulraj on Devkit8000.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>
> ---
>  include/configs/devkit8000.h |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Applied, thanks.

Sandeep - hope this is OK with your.

Best regards,

Wolfgang Denk
Sandeep Paulraj Nov. 28, 2010, 1:10 p.m. UTC | #2
>Applied, thanks.
>
>Sandeep - hope this is OK with your.
>Best regards,
>Wolfgang Denk

no problem.

I was going to send a pull request for this along with
my 3 patches

Are you going to pull the 3 patches i sent yesterday or do you want a pull request

my patches will result in more boards building 

Thanks,
Sandeep
Wolfgang Denk Nov. 28, 2010, 4:40 p.m. UTC | #3
Dear "Paulraj, Sandeep",

In message <0554BEF07D437848AF01B9C9B5F0BC5DBCFDDECB@dlee01.ent.ti.com> you wrote:
> 
> I was going to send a pull request for this along with
> my 3 patches
> 
> Are you going to pull the 3 patches i sent yesterday or do you want a pull =
> request
> 
> my patches will result in more boards building 

If I have your "go" I can apply these directly, thanks.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Until you walk a mile in another man's moccasins, you  can't  imagine
the smell.
diff mbox

Patch

diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index fa7a6c7..d898b77 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -308,6 +308,10 @@  extern unsigned int boot_flash_type;
 #endif
 
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
-#define CONFIG_SYS_INIT_SP_ADDR        (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_ADDR        0x4020f800
+#define CONFIG_SYS_INIT_RAM_SIZE        0x800
+#define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_INIT_RAM_ADDR + \
+		                                         CONFIG_SYS_INIT_RAM_SIZE - \
+		                                         GENERATED_GBL_DATA_SIZE)
 
 #endif /* __CONFIG_H */