Commit bedb7847 authored by Tom Rini's avatar Tom Rini

PPC32: Two minor Carolina PReP fixes.

From Hollis Blanchard <hollisb@us.ibm.com>.
parent 397964ab
...@@ -323,7 +323,7 @@ prep_carolina_cpuinfo(struct seq_file *m) ...@@ -323,7 +323,7 @@ prep_carolina_cpuinfo(struct seq_file *m)
/* L2 size */ /* L2 size */
if ((l2_reg & 0x60) == 0) if ((l2_reg & 0x60) == 0)
seq_printf(m, "256KiB"); seq_printf(m, "256KiB");
else if ((l2_reg & 0x60) == 1) else if ((l2_reg & 0x60) == 0x20)
seq_printf(m, "512KiB"); seq_printf(m, "512KiB");
else else
seq_printf(m, "unknown size"); seq_printf(m, "unknown size");
...@@ -725,6 +725,7 @@ prep_setup_arch(void) ...@@ -725,6 +725,7 @@ prep_setup_arch(void)
case PREP_IBM_CAROLINA_IDE_0: case PREP_IBM_CAROLINA_IDE_0:
case PREP_IBM_CAROLINA_IDE_1: case PREP_IBM_CAROLINA_IDE_1:
case PREP_IBM_CAROLINA_IDE_2: case PREP_IBM_CAROLINA_IDE_2:
case PREP_IBM_CAROLINA_IDE_3:
is_ide = 1; is_ide = 1;
case PREP_IBM_CAROLINA_SCSI_0: case PREP_IBM_CAROLINA_SCSI_0:
case PREP_IBM_CAROLINA_SCSI_1: case PREP_IBM_CAROLINA_SCSI_1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment