Skip to content
Commit d4f513ff authored by Vipul Kumar Samar's avatar Vipul Kumar Samar Committed by Shiraz Hashim
Browse files

Clk: SPEAr1340: Update sys clock parent array



sys_clk has multiple parents and selection of parent depends on sys_clk_ctrl
register bit no. 23:25, with following possibilities

   0XX: pll1_clk
   10X: sys_synth_clk
   110: pll2_clk
   111: pll3_clk

Out of several possibilities (h/w wise) to select same clock parent for
sys_clk, current clock implementation was considering just one value.

When bootloader programmed different (valid) value to select a clock
parent then Linux breaks.

Here, we try to include all possibilities which can lead to same
clock selection thus making Linux independent of bootloader selection
values.

Signed-off-by: default avatarVipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: default avatarShiraz Hashim <shiraz.hashim@st.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent d9ba8db2
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