Commit 2c081e71 authored by Paul Mundt's avatar Paul Mundt

sh: Fixup R7780RP iVDR clock enable.

The iVDR clock enable bit happens to actually reside in a rather
different place than what is documented, so fix it up accordingly.
This fixes up SATA boot for some of the R7780RP boards that didn't
default-enable the clock in the loader.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 703404ea
...@@ -148,7 +148,7 @@ static void __init r7780rp_setup(char **cmdline_p) ...@@ -148,7 +148,7 @@ static void __init r7780rp_setup(char **cmdline_p)
#ifndef CONFIG_SH_R7780MP #ifndef CONFIG_SH_R7780MP
ctrl_outw(0x0001, PA_SDPOW); /* SD Power ON */ ctrl_outw(0x0001, PA_SDPOW); /* SD Power ON */
#endif #endif
ctrl_outw(ctrl_inw(PA_IVDRCTL) | 0x0100, PA_IVDRCTL); /* Si13112 */ ctrl_outw(ctrl_inw(PA_IVDRCTL) | 0x01, PA_IVDRCTL); /* Si13112 */
pm_power_off = r7780rp_power_off; pm_power_off = r7780rp_power_off;
} }
......
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