mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
clk: versal: Remove alt_ref_clk from clock sources
alt_ref_clk is applicable only for PS extended version. For PS base version there is no separate alt_ref_clk. It is tied with ref_clk, so remove it from driver. Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
70014a7802
commit
2b2012d1c1
1 changed files with 1 additions and 7 deletions
|
@ -117,7 +117,6 @@ struct versal_clk_priv {
|
|||
struct versal_clock *clk;
|
||||
};
|
||||
|
||||
static ulong alt_ref_clk;
|
||||
static ulong pl_alt_ref_clk;
|
||||
static ulong ref_clk;
|
||||
|
||||
|
@ -548,8 +547,7 @@ int soc_clk_dump(void)
|
|||
|
||||
printf("\n ****** VERSAL CLOCKS *****\n");
|
||||
|
||||
printf("alt_ref_clk:%ld pl_alt_ref_clk:%ld ref_clk:%ld\n",
|
||||
alt_ref_clk, pl_alt_ref_clk, ref_clk);
|
||||
printf("pl_alt_ref_clk:%ld ref_clk:%ld\n", pl_alt_ref_clk, ref_clk);
|
||||
for (i = 0; i < clock_max_idx; i++) {
|
||||
debug("%s\n", clock[i].clk_name);
|
||||
ret = versal_get_clock_type(i, &type);
|
||||
|
@ -667,10 +665,6 @@ static int versal_clk_probe(struct udevice *dev)
|
|||
|
||||
debug("%s\n", __func__);
|
||||
|
||||
ret = versal_clock_get_freq_by_name("alt_ref_clk", dev, &alt_ref_clk);
|
||||
if (ret < 0)
|
||||
return -EINVAL;
|
||||
|
||||
ret = versal_clock_get_freq_by_name("pl_alt_ref_clk",
|
||||
dev, &pl_alt_ref_clk);
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue