]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cfi: Add weak default function for flash_cmd_reset()
authorStefan Roese <sr@denx.de>
Tue, 27 Oct 2009 14:15:55 +0000 (15:15 +0100)
committerStefan Roese <sr@denx.de>
Wed, 28 Oct 2009 10:34:14 +0000 (11:34 +0100)
commitfa36ae790eb10ce70935f9a78f07703719dca422
tree45c1755a87229eb35f7bded0e2bf997ab0502e9b
parent4946775c6db52dba28f72ba3525764b54f1d4593
cfi: Add weak default function for flash_cmd_reset()

Currently the CFI driver issues both AMD and Intel reset commands.
This is because the driver doesn't know yet which chips are connected.
This dual reset seems to cause problems with the M29W128G chips as
reported by Richard Retanubun. This patch now introduces a weak default
function for the CFI reset command, still with both resets. This can
be overridden by a board specific version if necessary.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Richard Retanubun <RichardRetanubun@ruggedcom.com>
drivers/mtd/cfi_flash.c
include/mtd/cfi_flash.h [new file with mode: 0644]