aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0002.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index 324fee4024a9..a43ab45bdb18 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -393,10 +393,12 @@ static void cfi_fixup_major_minor(struct cfi_private *cfi,
393 struct cfi_pri_amdstd *extp) 393 struct cfi_pri_amdstd *extp)
394{ 394{
395 if (cfi->mfr == CFI_MFR_SAMSUNG) { 395 if (cfi->mfr == CFI_MFR_SAMSUNG) {
396 if (extp->MajorVersion == '0' && extp->MinorVersion == '0') { 396 if ((extp->MajorVersion == '0' && extp->MinorVersion == '0') ||
397 (extp->MajorVersion == '3' && extp->MinorVersion == '3')) {
397 /* 398 /*
398 * Samsung K8P2815UQB and K8D6x16UxM chips 399 * Samsung K8P2815UQB and K8D6x16UxM chips
399 * report major=0 / minor=0. 400 * report major=0 / minor=0.
401 * K8D3x16UxC chips report major=3 / minor=3.
400 */ 402 */
401 printk(KERN_NOTICE " Fixing Samsung's Amd/Fujitsu" 403 printk(KERN_NOTICE " Fixing Samsung's Amd/Fujitsu"
402 " Extended Query version to 1.%c\n", 404 " Extended Query version to 1.%c\n",