| Submitter | Steve Deiters |
|---|---|
| Date | April 28, 2010, 10:33 p.m. |
| Message ID | <181804936ABC2349BE503168465576460E95836C@exchserver.basler.com> |
| Download | mbox | patch |
| Permalink | /patch/51256/ |
| State | New |
| Headers | show |
Comments
On Wed, 2010-04-28 at 17:33 -0500, Steve Deiters wrote: > The revision in SVR for MPC5123 is 3. The NFC is the same as MPC5121 > revision 2. > > --- > drivers/mtd/nand/mpc5121_nfc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > Please, add your Signed-off-by and re-send.
Patch
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 191bf99..dc04d74 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c @@ -666,10 +666,10 @@ static int __devinit mpc5121_nfc_probe(struct of_device *op, /* * Check SoC revision. This driver supports only NFC - * in MPC5121 revision 2. + * in MPC5121 revision 2 and MPC5123 revision 3. */ rev = (mfspr(SPRN_SVR) >> 4) & 0xF; - if (rev != 2) { + if ((rev != 2) && (rev != 3)) { dev_err(dev, "SoC revision %u is not supported!\n", rev);