fix disabling of the calypso bootrom on targets with nIBOOT tied to low:
authorSteve Markgraf <steve@steve-m.de>
Sat, 10 Apr 2010 00:09:33 +0000 (02:09 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sat, 10 Apr 2010 07:16:12 +0000 (09:16 +0200)
commit93b04a5d32c553b7eaa10361afc57b5efafba064
tree7807e372e5a5d01242d196e2335e687f470236c7
parent5f751d3db87eda867a9bf6f1758c29b7325b8dd1
fix disabling of the calypso bootrom on targets with nIBOOT tied to low:
* bit 8 always needs to be 1 when overriding the setting of the nIBOOT pin, so now we set both bits (9 and 8) to 1, and clear bit 9 if we want to enable the romloader
* to be sure, this was tested on a target with nIBOOT high (C155) and a Alcatel VLE5 pulled to low, and works fine

Signed-off-by: Steve Markgraf <steve@steve-m.de>
src/target/firmware/calypso/clock.c