base-hw: fix SCU initialization for zynq-based boards

The old implementation cleared all other bits in the SCU control
register when enabling the SCU, which broke the kernel startup on zynq-
based boards.
By only raising the enable bit, we can keep the initial/default state
e.g. as set up by uboot.

Fixes #1953
This commit is contained in:
Johannes Schlatow 2016-05-03 14:51:55 +02:00 committed by Christian Helmuth
parent f6dec901bb
commit 3df03fbc41
1 changed files with 1 additions and 1 deletions

View File

@ -66,6 +66,6 @@ class Genode::Scu : Genode::Mmio
void enable()
{
if (_board.errata(Board::ARM_764369)) write<Dcr::Bit_0>(1);
write<Cr>(Cr::Enable::bits(1));
write<Cr::Enable>(1);
}
};