Commit 6b112dec authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

bcma: fix NAND flash validation

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0e33e48d
...@@ -21,7 +21,7 @@ int bcma_nflash_init(struct bcma_drv_cc *cc) ...@@ -21,7 +21,7 @@ int bcma_nflash_init(struct bcma_drv_cc *cc)
struct bcma_bus *bus = cc->core->bus; struct bcma_bus *bus = cc->core->bus;
if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4706 && if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4706 &&
cc->core->id.rev != 0x38) { cc->core->id.rev != 38) {
bcma_err(bus, "NAND flash on unsupported board!\n"); bcma_err(bus, "NAND flash on unsupported board!\n");
return -ENOTSUPP; return -ENOTSUPP;
} }
......
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