aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/afs.c
diff options
context:
space:
mode:
authorRyan Jackson <rjackson@lnxi.com>2006-10-20 14:41:01 -0700
committerDavid Woodhouse <dwmw2@infradead.org>2006-10-21 16:15:43 +0100
commitc9073ce02adfa273a3d6d53eac8c4c035510ad9c (patch)
tree6191b00b2241ff73c6139a7a513b17073e10c46a /drivers/mtd/afs.c
parent1ef93a0f668c8736cb6b6c3a43a5b8101efa24af (diff)
[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/afs.c')
0 files changed, 0 insertions, 0 deletions