OSDN Git Service

sim: cfi: new flash device simulation
authorvapier <vapier>
Tue, 29 Mar 2011 17:57:17 +0000 (17:57 +0000)
committervapier <vapier>
Tue, 29 Mar 2011 17:57:17 +0000 (17:57 +0000)
commitad1b34f21c94aada9949aa4ba8fd0d4975c245cd
treeba2abd78147e70bce3bf9c6d88b048bc7e0a746a
parente0c553423419166398adb5f6ac6f03080b4d3a68
sim: cfi: new flash device simulation

This simulates a CFI flash.  Its pretty configurable via the device
tree.  For now, only basic read/write/erase operations are supported
for the Intel command set, but it's easy enough to extend support.
It's certainly enough to trick Das U-Boot into using it for probing,
reading, writing, and erasing.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
gdb/ChangeLog
gdb/NEWS
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/aclocal.m4
sim/common/dv-cfi.c [new file with mode: 0644]
sim/common/dv-cfi.h [new file with mode: 0644]