Skip to content

Commit

Permalink
ppc4xx: Add option for PPC440SPe ports without old Rev. A support
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stroese committed Apr 14, 2010
1 parent 288991c commit 2a72e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/cpu/ppc4xx/start.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/*----------------------------------------------------------------*/
Expand Down
1 change: 1 addition & 0 deletions include/configs/katmai.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
1 change: 1 addition & 0 deletions include/configs/yucca.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a72e9e

Please sign in to comment.