From 77852e4b2532c8fefafbc0f1b6bccbae7dd10f1e Mon Sep 17 00:00:00 2001
From: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Date: Mon, 12 Sep 2016 10:52:46 +0200
Subject: [PATCH] romstage.c: force CLK3 to be always on

---
 src/mainboard/pcengines/apu2/romstage.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/pcengines/apu2/romstage.c b/src/mainboard/pcengines/apu2/romstage.c
index 1a0856a618e..abe3eac8193 100644
--- a/src/mainboard/pcengines/apu2/romstage.c
+++ b/src/mainboard/pcengines/apu2/romstage.c
@@ -120,7 +120,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 		data |= (0 + 1) << (0 * 4);	// CLKREQ 0 to CLK0
 		data |= (1 + 1) << (1 * 4);	// CLKREQ 1 to CLK1
 		data |= (2 + 1) << (2 * 4);	// CLKREQ 2 to CLK2
-		data |= (3 + 1) << (3 * 4);	// CLKREQ 3 to CLK3
+		// make CLK3 to ignore CLKREQ# input
+		// force it to be always on
+		data |= ( 0xf ) << (3 * 4);	// CLKREQ 3 to CLK3
 
 		*((u32 *)(ACPI_MMIO_BASE + MISC_BASE+FCH_MISC_REG00)) = data;