Skip to content
Snippets Groups Projects
Commit 569bbe49 authored by John Crispin's avatar John Crispin
Browse files

rt5350 switch support fix


RT5350 frame engine need reset frame engine and embedded switch together.

Signed-off-by: default avatarSerge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 34969
parent a730e965
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,11 @@ void __init rt305x_register_flash(unsigned int id) ...@@ -116,7 +116,11 @@ void __init rt305x_register_flash(unsigned int id)
static void rt305x_fe_reset(void) static void rt305x_fe_reset(void)
{ {
rt305x_sysc_wr(RT305X_RESET_FE, SYSC_REG_RESET_CTRL); u32 reset_bits = RT305X_RESET_FE;
if (soc_is_rt5350())
reset_bits |= RT305X_RESET_ESW;
rt305x_sysc_wr(reset_bits, SYSC_REG_RESET_CTRL);
rt305x_sysc_wr(0, SYSC_REG_RESET_CTRL); rt305x_sysc_wr(0, SYSC_REG_RESET_CTRL);
} }
......
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