* [U-Boot] [PATCH] ppc4xx: Add option for PPC440SPe ports without old Rev. A support
@ 2010-04-09 14:25 Stefan Roese
2010-04-14 8:28 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2010-04-09 14:25 UTC (permalink / raw)
To: u-boot
The 440SPe Rev. A is quite old and newer 440SPe boards don't need support
for this CPU revision. Since removing support for this older version
simplifies the creation for newer U-Boot ports, this patch now enables
440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By
defining this in the board config header, Rev. A will still be supported.
Otherwise (default for newer board ports), Rev. A will not be supported.
Signed-off-by: Stefan Roese <sr@denx.de>
---
cpu/ppc4xx/start.S | 2 +-
include/configs/katmai.h | 1 +
include/configs/yucca.h | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S
index 927c88c..c739deb 100644
--- a/cpu/ppc4xx/start.S
+++ b/cpu/ppc4xx/start.S
@@ -475,7 +475,7 @@ tlbnxt: addi r4,r4,1 /* Next TLB */
/*----------------------------------------------------------------*/
/* TLB entry setup -- step thru tlbtab */
/*----------------------------------------------------------------*/
-#if defined(CONFIG_440SPE)
+#if defined(CONFIG_440SPE_REVA)
/*----------------------------------------------------------------*/
/* We have different TLB tables for revA and rev B of 440SPe */
/*----------------------------------------------------------------*/
diff --git a/include/configs/katmai.h b/include/configs/katmai.h
index c013ac4..fb8ccae 100644
--- a/include/configs/katmai.h
+++ b/include/configs/katmai.h
@@ -37,6 +37,7 @@
#define CONFIG_4xx 1 /* ... PPC4xx family */
#define CONFIG_440 1 /* ... PPC440 family */
#define CONFIG_440SPE 1 /* Specifc SPe support */
+#define CONFIG_440SPE_REVA 1 /* Support old Rev A. */
#define CONFIG_SYS_CLK_FREQ 33333333 /* external freq to pll */
#define CONFIG_SYS_4xx_RESET_TYPE 0x2 /* use chip reset on this board */
diff --git a/include/configs/yucca.h b/include/configs/yucca.h
index 42f8807..0b4dfb8 100644
--- a/include/configs/yucca.h
+++ b/include/configs/yucca.h
@@ -37,6 +37,7 @@
#define CONFIG_4xx 1 /* ... PPC4xx family */
#define CONFIG_440 1 /* ... PPC440 family */
#define CONFIG_440SPE 1 /* Specifc SPe support */
+#define CONFIG_440SPE_REVA 1 /* Support old Rev A. */
#define CONFIG_BOARD_EARLY_INIT_F 1 /* Call board_pre_init */
#define CONFIG_SYS_CLK_FREQ 33333333 /* external freq to pll */
#define EXTCLK_33_33 33333333
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] ppc4xx: Add option for PPC440SPe ports without old Rev. A support
2010-04-09 14:25 [U-Boot] [PATCH] ppc4xx: Add option for PPC440SPe ports without old Rev. A support Stefan Roese
@ 2010-04-14 8:28 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2010-04-14 8:28 UTC (permalink / raw)
To: u-boot
On Friday 09 April 2010 16:25:28 Stefan Roese wrote:
> The 440SPe Rev. A is quite old and newer 440SPe boards don't need support
> for this CPU revision. Since removing support for this older version
> simplifies the creation for newer U-Boot ports, this patch now enables
> 440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By
> defining this in the board config header, Rev. A will still be supported.
> Otherwise (default for newer board ports), Rev. A will not be supported.
Applied to u-boot-ppc4xx/master. Thanks.
Cheers,
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] 2+ messages in thread
end of thread, other threads:[~2010-04-14 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 14:25 [U-Boot] [PATCH] ppc4xx: Add option for PPC440SPe ports without old Rev. A support Stefan Roese
2010-04-14 8:28 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox