Skip to content
Snippets Groups Projects
Commit 96a5d4dc authored by Michal Simek's avatar Michal Simek
Browse files

zynq: Update CLK in bdinfo


ARM has specific clk entries which should be also setup.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent d6c9bbaa
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,8 @@ static void init_ddr_clocks(void) ...@@ -161,6 +161,8 @@ static void init_ddr_clocks(void)
clks[dci_clk].frequency = DIV_ROUND_CLOSEST( clks[dci_clk].frequency = DIV_ROUND_CLOSEST(
DIV_ROUND_CLOSEST(prate, div0), div1); DIV_ROUND_CLOSEST(prate, div0), div1);
clks[dci_clk].name = "dci"; clks[dci_clk].name = "dci";
gd->bd->bi_ddr_freq = clks[ddr3x_clk].frequency / 1000000;
} }
static void init_cpu_clocks(void) static void init_cpu_clocks(void)
...@@ -593,6 +595,9 @@ int set_cpu_clk_info(void) ...@@ -593,6 +595,9 @@ int set_cpu_clk_info(void)
init_periph_clocks(); init_periph_clocks();
init_aper_clocks(); init_aper_clocks();
gd->bd->bi_arm_freq = gd->cpu_clk / 1000000;
gd->bd->bi_dsp_freq = 0;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment