diff options
author | Ryan Jackson <rjackson@lnxi.com> | 2006-10-20 14:41:01 -0700 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 16:15:43 +0100 |
commit | c9073ce02adfa273a3d6d53eac8c4c035510ad9c (patch) | |
tree | 6191b00b2241ff73c6139a7a513b17073e10c46a /drivers/mtd/chips/jedec_probe.c | |
parent | 1ef93a0f668c8736cb6b6c3a43a5b8101efa24af (diff) | |
download | op-kernel-dev-c9073ce02adfa273a3d6d53eac8c4c035510ad9c.zip op-kernel-dev-c9073ce02adfa273a3d6d53eac8c4c035510ad9c.tar.gz |
[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