From d960c73a940a9cdd6bf4aec4ff69e6fa6193b843 Mon Sep 17 00:00:00 2001 From: Ingo Albrecht Date: Tue, 9 Mar 2010 05:35:27 +0100 Subject: firmware: fixed bootrom disabling --- src/target/firmware/calypso/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/target/firmware/calypso') diff --git a/src/target/firmware/calypso/clock.c b/src/target/firmware/calypso/clock.c index d5b2c090..8ea5b9ca 100644 --- a/src/target/firmware/calypso/clock.c +++ b/src/target/firmware/calypso/clock.c @@ -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)); } -- cgit v1.2.3