diff options
| author | Keith Packard <keithp@keithp.com> | 2010-11-01 17:30:49 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-11-01 17:30:49 -0700 |
| commit | 3d70461d5860ce8b86ecf900925e2b48f19ce040 (patch) | |
| tree | d206faa62e2b7dccb4610da052e810b846afe009 /src/ao_teleterra.c | |
| parent | 1557b0049e0b8a7995c54cde8b7a19cce49445a6 (diff) | |
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>
Diffstat (limited to 'src/ao_teleterra.c')
| -rw-r--r-- | src/ao_teleterra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ao_teleterra.c b/src/ao_teleterra.c index c697b5df..a1c8bef6 100644 --- a/src/ao_teleterra.c +++ b/src/ao_teleterra.c @@ -27,6 +27,8 @@ main(void) ao_led_init(AO_LED_RED|AO_LED_GREEN); ao_led_on(AO_LED_RED); ao_timer_init(); + ao_spi_init(); + ao_flash_init(); ao_audio_init(); ao_cmd_init(); ao_usb_init(); |
