diff options
author | Heiko Schocher <hs@denx.de> | 2016-06-07 08:31:19 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-09 13:53:07 -0400 |
commit | 694607b563df4425b2d50d220048cc3299a6e947 (patch) | |
tree | 1446df3e71e90284728b42115fd53304c0b539ec /arch/arm/include/asm | |
parent | c01bc75e7d2c8b31fc130762ee596b53f88729e7 (diff) | |
download | u-boot-imx-694607b563df4425b2d50d220048cc3299a6e947.zip u-boot-imx-694607b563df4425b2d50d220048cc3299a6e947.tar.gz u-boot-imx-694607b563df4425b2d50d220048cc3299a6e947.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/clock.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/cpu.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/clock.h b/arch/arm/include/asm/arch-am33xx/clock.h index 7c6be4c..acf3fd5 100644 --- a/arch/arm/include/asm/arch-am33xx/clock.h +++ b/arch/arm/include/asm/arch-am33xx/clock.h @@ -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 diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h index e950b96..62bca8c 100644 --- a/arch/arm/include/asm/arch-am33xx/cpu.h +++ b/arch/arm/include/asm/arch-am33xx/cpu.h @@ -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 */ |