]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/mtd/cfi_flash.c
cfi_flash: Add optional config register write to cfi-detection
authorStefan Roese <sr@denx.de>
Mon, 25 Oct 2010 16:31:48 +0000 (18:31 +0200)
committerStefan Roese <sr@denx.de>
Fri, 17 Dec 2010 08:56:05 +0000 (09:56 +0100)
commit6f726f9584eb19e7bcef435eef8b3f8a0838e6e0
treeab5d4680f6bfd619e0b7a00fb188f779fc399c74
parent4d2ca9d6a0452edeaf5922cbae3b939974114214
cfi_flash: Add optional config register write to cfi-detection

This patch adds the possibility to (optinally) write to the
flash configuration register. The Intel style CFI chips support
such a register that can be used to configure the operation
mode to a non-default value.

This method will be used by the t3corp board, which needs to
configure the DS617 Xilinx flash for async read mode.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c
include/mtd/cfi_flash.h