summaryrefslogtreecommitdiff
path: root/drivers/mtd/chips/jedec_probe.c
diff options
context:
space:
mode:
authorRyan Jackson <rjackson@lnxi.com>2006-10-20 21:41:01 (GMT)
committerDavid Woodhouse <dwmw2@infradead.org>2006-10-21 15:15:43 (GMT)
commitc9073ce02adfa273a3d6d53eac8c4c035510ad9c (patch)
tree6191b00b2241ff73c6139a7a513b17073e10c46a /drivers/mtd/chips/jedec_probe.c
parent1ef93a0f668c8736cb6b6c3a43a5b8101efa24af (diff)
downloadlinux-fsl-qoriq-c9073ce02adfa273a3d6d53eac8c4c035510ad9c.tar.xz
[MTD] MAPS: Add parameter to amd76xrom to override rom window size
The 2 bits controlling the window size are often set to allow reading the BIOS, but too small to allow writing, since the lock registers are 4MiB lower in the address space than the data. This is intended to prevent flashing the bios, perhaps accidentally. The bits are 6 and 7. If both bits are set, it is a 5MiB window. If only the 7 Bit is set, it is a 4MiB window. Otherwise, it is a 64KiB window. This parameter allows the driver to override the BIOS settings. Signed-off-by: Ryan Jackson <rjackson@lnxi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
0 files changed, 0 insertions, 0 deletions