diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 17:57:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 17:57:21 +0000 |
commit | 66ee2731167db3db9cc506a6268d1a02ed7b3ffc (patch) | |
tree | 7a998c174e5a3fbda6664c8708ae12894ba71d2e /sim/common/Make-common.in | |
parent | 53832f31471912a20ce0a1d0182ecd0633b3f1ec (diff) | |
download | fsf-binutils-gdb-66ee2731167db3db9cc506a6268d1a02ed7b3ffc.zip fsf-binutils-gdb-66ee2731167db3db9cc506a6268d1a02ed7b3ffc.tar.gz fsf-binutils-gdb-66ee2731167db3db9cc506a6268d1a02ed7b3ffc.tar.bz2 |
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>
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r-- | sim/common/Make-common.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 13aebe8..351f4a0 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -575,6 +575,9 @@ hw-tree.o: $(srccom)/hw-tree.c $(hw_main_headers) $(hw-tree_h) # Devices. +dv-cfi.o: $(srccom)/dv-cfi.c $(hw_main_headers) $(sim_main_headers) + $(CC) -c $(srccom)/dv-cfi.c $(ALL_CFLAGS) + dv-core.o: $(srccom)/dv-core.c $(hw_main_headers) $(sim_main_headers) $(CC) -c $(srccom)/dv-core.c $(ALL_CFLAGS) |