altos: Move common storage code to ao_storage.c. Add M25P80 driver
authorKeith Packard <keithp@keithp.com>
Fri, 7 Jan 2011 06:37:38 +0000 (22:37 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 7 Jan 2011 06:37:38 +0000 (22:37 -0800)
commit569a1dac55b70c30f01afa7bcb74442ecdd85d85
tree197d6048f3b6694aeaf1f23f4605d494757902f5
parente4ba9bf4291bf17c777c8c3ef7c71e4a30b9947a
altos: Move common storage code to ao_storage.c. Add M25P80 driver

This reworks the storage API so that you erase blocks and then store
data to them so that the M25P80 driver will work.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.proto
src/ao.h
src/ao_config.c
src/ao_ee.c
src/ao_flash.c
src/ao_log.c
src/ao_m25.c [new file with mode: 0644]
src/ao_pins.h
src/ao_storage.c [new file with mode: 0644]
src/at45db161d.h
src/telemetrum-v1.1/Makefile.defs