* [U-Boot-Users] [PATCH] ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms
@ 2008-02-01 8:39 Stefan Roese
2008-02-13 23:25 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-02-01 8:39 UTC (permalink / raw)
To: u-boot
Signed-off-by: Stefan Roese <sr@denx.de>
---
cpu/ppc4xx/start.S | 4 ++++
include/configs/pcs440ep.h | 2 +-
include/configs/yosemite.h | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S
index 77c2aa4..0638024 100644
--- a/cpu/ppc4xx/start.S
+++ b/cpu/ppc4xx/start.S
@@ -110,6 +110,10 @@
# endif
#endif /* CFG_INIT_DCACHE_CS */
+#if (defined(CFG_INIT_RAM_DCACHE) && (CFG_INIT_RAM_END > (4 << 10)))
+#error Only 4k of init-ram is supported - please adjust CFG_INIT_RAM_END!
+#endif
+
#define function_prolog(func_name) .text; \
.align 2; \
.globl func_name; \
diff --git a/include/configs/pcs440ep.h b/include/configs/pcs440ep.h
index d66f4bd..07fc23e 100644
--- a/include/configs/pcs440ep.h
+++ b/include/configs/pcs440ep.h
@@ -66,7 +66,7 @@
*----------------------------------------------------------------------*/
#define CFG_INIT_RAM_DCACHE 1 /* d-cache as init ram */
#define CFG_INIT_RAM_ADDR 0x70000000 /* DCache */
-#define CFG_INIT_RAM_END (8 << 10)
+#define CFG_INIT_RAM_END (4 << 10)
#define CFG_GBL_DATA_SIZE 256 /* num bytes initial data*/
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h
index a8eeff9..4c86bc5 100644
--- a/include/configs/yosemite.h
+++ b/include/configs/yosemite.h
@@ -75,7 +75,7 @@
*----------------------------------------------------------------------*/
#define CFG_INIT_RAM_DCACHE 1 /* d-cache as init ram */
#define CFG_INIT_RAM_ADDR 0x70000000 /* DCache */
-#define CFG_INIT_RAM_END (8 << 10)
+#define CFG_INIT_RAM_END (4 << 10)
#define CFG_GBL_DATA_SIZE 256 /* num bytes initial data*/
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
--
1.5.4.rc5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms
2008-02-01 8:39 [U-Boot-Users] [PATCH] ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms Stefan Roese
@ 2008-02-13 23:25 ` Wolfgang Denk
2008-02-14 5:22 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-02-13 23:25 UTC (permalink / raw)
To: u-boot
Dear Stefan,
in message <1201855188-455-1-git-send-email-sr@denx.de> you wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> cpu/ppc4xx/start.S | 4 ++++
> include/configs/pcs440ep.h | 2 +-
> include/configs/yosemite.h | 2 +-
> 3 files changed, 6 insertions(+), 2 deletions(-)
Do you intend to send a pull request any time soon?
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 at denx.de
"In the face of entropy and nothingness, you kind of have to pretend
it's not there if you want to keep writing good code."
- Karl Lehenbauer
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms
2008-02-13 23:25 ` Wolfgang Denk
@ 2008-02-14 5:22 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2008-02-14 5:22 UTC (permalink / raw)
To: u-boot
Hi Wolfgang,
On Thursday 14 February 2008, Wolfgang Denk wrote:
> in message <1201855188-455-1-git-send-email-sr@denx.de> you wrote:
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > ---
> > cpu/ppc4xx/start.S | 4 ++++
> > include/configs/pcs440ep.h | 2 +-
> > include/configs/yosemite.h | 2 +-
> > 3 files changed, 6 insertions(+), 2 deletions(-)
>
> Do you intend to send a pull request any time soon?
Yes. I have to apply a few other bug fix patches and will send the pull
request then. I'll try to do it today.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-14 5:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 8:39 [U-Boot-Users] [PATCH] ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms Stefan Roese
2008-02-13 23:25 ` Wolfgang Denk
2008-02-14 5:22 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox