firmware: fixed bootrom disabling
This commit is contained in:
parent
83109b58f5
commit
d960c73a94
|
@ -169,11 +169,10 @@ void calypso_bootrom(int enable)
|
||||||
|
|
||||||
conf &= ~(3 << 8);
|
conf &= ~(3 << 8);
|
||||||
|
|
||||||
// XXX: this can't be correct
|
|
||||||
if (enable)
|
if (enable)
|
||||||
conf |= (1 << 8);
|
conf |= (1 << 8);
|
||||||
else
|
else
|
||||||
conf |= (1 << 8);
|
conf &= ~(1 << 8);
|
||||||
writew(conf, MEMIF_REG(EXTRA_CONF));
|
writew(conf, MEMIF_REG(EXTRA_CONF));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue