firmware: fixed bootrom disabling

This commit is contained in:
Ingo Albrecht 2010-03-09 05:35:27 +01:00 committed by Harald Welte
parent 83109b58f5
commit d960c73a94
1 changed files with 1 additions and 2 deletions

View File

@ -169,11 +169,10 @@ void calypso_bootrom(int enable)
conf &= ~(3 << 8);
// XXX: this can't be correct
if (enable)
conf |= (1 << 8);
else
conf |= (1 << 8);
conf &= ~(1 << 8);
writew(conf, MEMIF_REG(EXTRA_CONF));
}