diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-18 20:07:23 +0000 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-18 21:44:06 +0000 |
commit | 287be81c16ef52484403c9f08bbf80465da6263b (patch) | |
tree | ede24a7e6948487227b4e9b7d54253427c0a83c7 /utils/hwstub | |
parent | 977a6c3ce7a2ab960590e9d997388cca2e4c29ee (diff) |
hwstub: use a more reasonable hclk frequency
The old code would set CPU to 64MHz and HCLK to 9MHz but that's too low for
many things like usb and gpmi. So change HCLK to ~32MHZ.
Change-Id: I6459f25900e42603333cebccb7b0ed26c59640ad
Diffstat (limited to 'utils/hwstub')
-rw-r--r-- | utils/hwstub/stub/stmp/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c index 55cb344955..47768aab0d 100644 --- a/utils/hwstub/stub/stmp/target.c +++ b/utils/hwstub/stub/stmp/target.c @@ -213,7 +213,7 @@ void target_init(void) __REG_CLR(HW_CLKCTRL_PLLCTRL0) = HW_CLKCTRL_PLLCTRL0__BYPASS; /* Get back XBUS = 24 MHz and CPU = HBUS = 64MHz */ HW_CLKCTRL_CPUCLKCTRL = 7; - HW_CLKCTRL_HBUSCLKCTRL = 7; + HW_CLKCTRL_HBUSCLKCTRL = 2; HW_CLKCTRL_XBUSCLKCTRL = 1; __REG_CLR(HW_CLKCTRL_UTMICLKCTRL) = HW_CLKCTRL_UTMICLKCTRL__UTMI_CLK120M_GATE; __REG_CLR(HW_CLKCTRL_UTMICLKCTRL) = HW_CLKCTRL_UTMICLKCTRL__UTMI_CLK30M_GATE; |