Sansa Connect: Fix reported CPU frequency

Make frequency related comments accurate. Disable UART0 clock.

Change-Id: I224a3d6656ad53165dcff68ed716fa2c6863240d
This commit is contained in:
Tomasz Moń 2021-07-09 14:16:05 +02:00
parent 60e2cd6de9
commit 8de163b8ae
No known key found for this signature in database
GPG key ID: 92BA8820D4D517C8
7 changed files with 66 additions and 30 deletions

View file

@ -312,7 +312,14 @@ void system_init(void)
#endif
{
#ifdef SANSA_CONNECT
/* Setting AHB divisor to 0 increases power consumption */
/* Setting AHB divisor to 0 increases power consumption
* Slow Setup:
* ARM div = 4 ( 74.25 MHz )
* AHB div = 2 ( 37.125 MHz )
* Fast Setup:
* ARM div = 2 ( 148.5 MHz )
* AHB div = 2 ( 74.25 MHz )
*/
clock_arm_slow = (1 << 8) | 3;
clock_arm_fast = (1 << 8) | 1;
#else