arch: k210: Add a workaround for clock stabilization

Summary:
- I noticed that sometimes uart shows nothing on the maix-bit board.
- This commit adds a workaround to avoid such the issue

Impact:
- k210 only

Testing:
- Tested with maix-bit

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2022-06-13 09:44:49 +09:00 committed by Xiang Xiao
parent e6376c72d7
commit a0ff6f9fa6
1 changed files with 4 additions and 0 deletions

View File

@ -105,5 +105,9 @@ void k210_clockconfig(void)
g_cpu_clock = OSC_FREQ;
}
/* Workaround for stabilization */
up_udelay(1);
#endif
}