altos: Split out SPI driver. Add Numonyx M25P driver for TT.
authorKeith Packard <keithp@keithp.com>
Tue, 2 Nov 2010 00:30:49 +0000 (17:30 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 2 Nov 2010 00:30:49 +0000 (17:30 -0700)
commit3d70461d5860ce8b86ecf900925e2b48f19ce040
treed206faa62e2b7dccb4610da052e810b846afe009
parent1557b0049e0b8a7995c54cde8b7a19cce49445a6
altos: Split out SPI driver. Add Numonyx M25P driver for TT.

For TT (and TM with the companion connector), the SPI bus will be
shared among multiple devices. Split out the existing SPI code into a
common driver, with the SPI bus protected by a mutex.

Add the Numonyx M25Pxx driver to support the flash chips on TT and
newer TM versions. This is not yet integrated into the TM code.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 files changed:
src/Makefile.proto
src/ao.h
src/ao_audio.c
src/ao_ee.c
src/ao_flash.c
src/ao_m25.c [new file with mode: 0644]
src/ao_pins.h
src/ao_spi.c [new file with mode: 0644]
src/ao_teleterra.c
src/telemetrum-v0.1-sirf/Makefile.defs
src/telemetrum-v0.1-sky/Makefile.defs
src/telemetrum-v1.0/Makefile.defs
src/teleterra-v0.1/Makefile.defs