Commit e5e06b65 authored by Andreas Dannenberg's avatar Andreas Dannenberg Committed by Tom Rini
Browse files

clk: Allow clock defaults to be set also during re-reloc state

The earlier commit f4fcba5c

 ("clk: implement clk_set_defaults()")
which introduced the functionality for setting clock defaults such as
rates and parents will skip the processing when executing in a re-reloc
state. This for example can prevent the assigning of clock parents
when running in SPL code. Go ahead and remove this limitation.
Signed-off-by: default avatarAndreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla's avatarLokesh Vutla <lokeshvutla@ti.com>
parent 786dc914
......@@ -243,10 +243,6 @@ int clk_set_defaults(struct udevice *dev)
{
int ret;
/* If this is running pre-reloc state, don't take any action. */
if (!(gd->flags & GD_FLG_RELOC))
return 0;
debug("%s(%s)\n", __func__, dev_read_name(dev));
ret = clk_set_default_parents(dev);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment