Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5df41de5 authored by David Woodhouse's avatar David Woodhouse
Browse files

mtd: cfi_cmdset_0002: Slight cleanup of fixup messages



These should be semicolons, not commas.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 43dc03c7
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -317,7 +317,7 @@ static void fixup_s29gl064n_sectors(struct mtd_info *mtd)


	if ((cfi->cfiq->EraseRegionInfo[0] & 0xffff) == 0x003f) {
	if ((cfi->cfiq->EraseRegionInfo[0] & 0xffff) == 0x003f) {
		cfi->cfiq->EraseRegionInfo[0] |= 0x0040;
		cfi->cfiq->EraseRegionInfo[0] |= 0x0040;
		pr_warning("%s: Bad S29GL064N CFI data, adjust from 64 to 128 sectors\n", mtd->name);
		pr_warning("%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n", mtd->name);
	}
	}
}
}


@@ -328,7 +328,7 @@ static void fixup_s29gl032n_sectors(struct mtd_info *mtd)


	if ((cfi->cfiq->EraseRegionInfo[1] & 0xffff) == 0x007e) {
	if ((cfi->cfiq->EraseRegionInfo[1] & 0xffff) == 0x007e) {
		cfi->cfiq->EraseRegionInfo[1] &= ~0x0040;
		cfi->cfiq->EraseRegionInfo[1] &= ~0x0040;
		pr_warning("%s: Bad S29GL032N CFI data, adjust from 127 to 63 sectors\n", mtd->name);
		pr_warning("%s: Bad S29GL032N CFI data; adjust from 127 to 63 sectors\n", mtd->name);
	}
	}
}
}


@@ -342,7 +342,7 @@ static void fixup_s29ns512p_sectors(struct mtd_info *mtd)
	 * which is not permitted by CFI.
	 * which is not permitted by CFI.
	 */
	 */
	cfi->cfiq->EraseRegionInfo[0] = 0x020001ff;
	cfi->cfiq->EraseRegionInfo[0] = 0x020001ff;
	pr_warning("%s: Bad S29NS512P CFI data, adjust to 512 sectors\n", mtd->name);
	pr_warning("%s: Bad S29NS512P CFI data; adjust to 512 sectors\n", mtd->name);
}
}


/* Used to fix CFI-Tables of chips without Extended Query Tables */
/* Used to fix CFI-Tables of chips without Extended Query Tables */