From 3df03fbc413f786d70dc4d47c862da46d0ed1a5d Mon Sep 17 00:00:00 2001 From: Johannes Schlatow Date: Tue, 3 May 2016 14:51:55 +0200 Subject: [PATCH] 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 --- repos/base-hw/src/core/include/spec/cortex_a9/scu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/base-hw/src/core/include/spec/cortex_a9/scu.h b/repos/base-hw/src/core/include/spec/cortex_a9/scu.h index 9d699f5997..13d9cc3e80 100644 --- a/repos/base-hw/src/core/include/spec/cortex_a9/scu.h +++ b/repos/base-hw/src/core/include/spec/cortex_a9/scu.h @@ -66,6 +66,6 @@ class Genode::Scu : Genode::Mmio void enable() { if (_board.errata(Board::ARM_764369)) write(1); - write(Cr::Enable::bits(1)); + write(1); } };