altos: Use FTDW, clear DATA bit. Disable backup write protection
authorKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 01:43:42 +0000 (18:43 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 01:43:42 +0000 (18:43 -0700)
commit985cd22b941415b1ae2709ae1ab6b60c3d815ec1
tree402478515fd71861e0ade931362ff80ac7c20cd7
parent4a68878a66508e6f1523cd813b2e37bcf2e90ab3
altos: Use FTDW, clear DATA bit. Disable backup write protection

The newer(?) chips in telegps didn't like the previous programming
scheme, so go back to fixed time for write, which does an implicit
erase before every write. Also clear the DATA bit, which is only
needed for double word erase/programming.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_eeprom_stm.c