summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/queensbay/tnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/queensbay/tnc.c')
-rw-r--r--arch/x86/cpu/queensbay/tnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/queensbay/tnc.c b/arch/x86/cpu/queensbay/tnc.c
index c4656422e1..9682cfff26 100644
--- a/arch/x86/cpu/queensbay/tnc.c
+++ b/arch/x86/cpu/queensbay/tnc.c
@@ -36,8 +36,6 @@ int arch_cpu_init(void)
if (ret)
return ret;
- unprotect_spi_flash();
-
return 0;
}
@@ -80,5 +78,7 @@ void cpu_irq_init(void)
int arch_misc_init(void)
{
+ unprotect_spi_flash();
+
return pirq_init();
}