hw: initialize sctrl register appropriately

Fixes #916
This commit is contained in:
Stefan Kalkowski 2013-11-19 15:13:10 +01:00 committed by Norman Feske
parent debec59e30
commit ae5e5cefc1
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ namespace Arm_v7
static void init_phys_kernel()
{
Board::prepare_kernel();
Sctlr::write(Sctlr::init_phys_kernel());
Psr::write(Psr::init_kernel());
flush_tlb();
}