arm, am335x: Enable Spread Spectrum for the MPU
Enable Spread Spectrum for the MPU by calculating the required values and setting the registers accordingly. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -117,4 +117,5 @@ void enable_basic_clocks(void);
|
||||
void do_enable_clocks(u32 *const *, u32 *const *, u8);
|
||||
void do_disable_clocks(u32 *const *, u32 *const *, u8);
|
||||
|
||||
void set_mpu_spreadspectrum(int permille);
|
||||
#endif
|
||||
|
||||
@@ -99,7 +99,8 @@ struct cm_wkuppll {
|
||||
unsigned int timer0clkctrl; /* offset 0x10 */
|
||||
unsigned int resv2[3];
|
||||
unsigned int idlestdpllmpu; /* offset 0x20 */
|
||||
unsigned int resv3[2];
|
||||
unsigned int sscdeltamstepdllmpu; /* off 0x24 */
|
||||
unsigned int sscmodfreqdivdpllmpu; /* off 0x28 */
|
||||
unsigned int clkseldpllmpu; /* offset 0x2c */
|
||||
unsigned int resv4[1];
|
||||
unsigned int idlestdpllddr; /* offset 0x34 */
|
||||
|
||||
Reference in New Issue
Block a user