mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
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:
parent
f6dec901bb
commit
3df03fbc41
@ -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);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user