powerpc/44x: The bug fixed support for APM821xx SoC and Bluestone board
Vinh Nguyen Huu Tuong [Tue, 20 Dec 2011 02:43:34 +0000 (02:43 +0000)]
This patch consists of:
- Fix the pvr mask for checking pvr in cputable.c
- Fix the cpu name as consistent with cpu name is describled in dts file

Signed-off-by: Vinh Nguyen Huu Tuong <vhtnguyen@apm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>

arch/powerpc/kernel/cputable.c
arch/powerpc/platforms/44x/ppc44x_simple.c

index 81db9e2..87353ba 100644 (file)
@@ -1816,7 +1816,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .platform               = "ppc440",
        },
        { /* 464 in APM821xx */
-               .pvr_mask               = 0xffffff00,
+               .pvr_mask               = 0xfffffff0,
                .pvr_value              = 0x12C41C80,
                .cpu_name               = "APM821XX",
                .cpu_features           = CPU_FTRS_44X,
index 8d22027..3ffb915 100644 (file)
@@ -52,7 +52,7 @@ machine_device_initcall(ppc44x_simple, ppc44x_device_probe);
 static char *board[] __initdata = {
        "amcc,arches",
        "amcc,bamboo",
-       "amcc,bluestone",
+       "apm,bluestone",
        "amcc,glacier",
        "ibm,ebony",
        "amcc,eiger",