Skip to content

Commit

Permalink
Merge pull request #11 from macpijan/clk3_ignore_req
Browse files Browse the repository at this point in the history
romstage.c: force CLK3 to be always on
  • Loading branch information
pietrushnic authored Sep 12, 2016
2 parents 6913bde + 77852e4 commit 9cac328
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mainboard/pcengines/apu2/romstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9cac328

Please sign in to comment.