diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/rush_ryu/mainboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c index 3828a36164..79538555cc 100644 --- a/src/mainboard/google/rush_ryu/mainboard.c +++ b/src/mainboard/google/rush_ryu/mainboard.c @@ -50,7 +50,16 @@ static const struct funit_cfg funits[] = { static void mainboard_init(device_t dev) { + /* PLLD should be 2 * pixel clock (301620khz). */ + const uint32_t req_disp_clk = 301620 * 1000 * 2; + uint32_t disp_clk; + soc_configure_funits(funits, ARRAY_SIZE(funits)); + disp_clk = clock_display(req_disp_clk); + + if (disp_clk != req_disp_clk) + printk(BIOS_DEBUG, "display clock: %u vs %u (r)\n", disp_clk, + req_disp_clk); } static void mainboard_enable(device_t dev) |