Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=333e615483afc5203d1cae1490e50982d6eefbea
Commit:     333e615483afc5203d1cae1490e50982d6eefbea
Parent:     57cc705f3920d39d96ed9b8373aa7ff2cb93434f
Author:     Roland Dreier <[EMAIL PROTECTED]>
AuthorDate: Sat Jun 16 05:36:32 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 21:53:44 2007 +1000

    [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B
    
    When adding the cputable entry for 440SPe Rev. B, we also need to
    adjust the existing entries for 440SP Rev. A and 440SPe Rev. B so that
    they look more bits of the PVR.  The 440SPe Rev. B has PVR 53421891,
    which would match the current 440SP Rev. A pattern of 53xxx891.  To
    distinguish between 440SP and 440SPe, we need to use the first three
    digits of the PVR, which are respectively 532 and 534.
    
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/cputable.c |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index b2b5d66..157e6e3 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1178,8 +1178,8 @@ static struct cpu_spec cpu_specs[] = {
                .platform               = "ppc440",
        },
        { /* 440SP Rev. A */
-               .pvr_mask               = 0xff000fff,
-               .pvr_value              = 0x53000891,
+               .pvr_mask               = 0xfff00fff,
+               .pvr_value              = 0x53200891,
                .cpu_name               = "440SP Rev. A",
                .cpu_features           = CPU_FTRS_44X,
                .cpu_user_features      = COMMON_USER_BOOKE,
@@ -1188,9 +1188,19 @@ static struct cpu_spec cpu_specs[] = {
                .platform               = "ppc440",
        },
        { /* 440SPe Rev. A */
-               .pvr_mask               = 0xff000fff,
-               .pvr_value              = 0x53000890,
-               .cpu_name               = "440SPe Rev. A",
+               .pvr_mask               = 0xfff00fff,
+               .pvr_value              = 0x53400890,
+               .cpu_name               = "440SPe Rev. A",
+               .cpu_features           = CPU_FTRS_44X,
+               .cpu_user_features      = COMMON_USER_BOOKE,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .platform               = "ppc440",
+       },
+       { /* 440SPe Rev. B */
+               .pvr_mask               = 0xfff00fff,
+               .pvr_value              = 0x53400891,
+               .cpu_name               = "440SPe Rev. B",
                .cpu_features           = CPU_FTRS_44X,
                .cpu_user_features      = COMMON_USER_BOOKE,
                .icache_bsize           = 32,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to