forked from luck/tmp_suning_uos_patched
mtd: cfi_cmdset_0002: Slight cleanup of fixup messages
These should be semicolons, not commas. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
43dc03c7ba
commit
5df41de587
|
@ -317,7 +317,7 @@ static void fixup_s29gl064n_sectors(struct mtd_info *mtd)
|
|||
|
||||
if ((cfi->cfiq->EraseRegionInfo[0] & 0xffff) == 0x003f) {
|
||||
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) {
|
||||
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.
|
||||
*/
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user