diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-09-14 18:16:57 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-30 22:01:00 +0200 |
commit | b7171d92c675d6d6d788dd543e62a1f4f8a342c6 (patch) | |
tree | 7ded1ad253b25f0b66a7f54136833e9b20c3761a /include | |
parent | 610b53e29bf848b545dd9b0a79b692741ff93807 (diff) | |
download | u-boot-imx-b7171d92c675d6d6d788dd543e62a1f4f8a342c6.zip u-boot-imx-b7171d92c675d6d6d788dd543e62a1f4f8a342c6.tar.gz u-boot-imx-b7171d92c675d6d6d788dd543e62a1f4f8a342c6.tar.bz2 |
EfikaMX: Adjust undocumented magic constant in config file
This magic constant with zero documentation, when it's last 8 bits are set to
0x45, configures correctly the PERCLK dividers. Therefore the I2C operates
correctly when divider computed from PERCLK.
Note: This constant is written to CBCDR register in
arch/arm/cpu/armv7/mx5/lowlevel_init.S, but it's written only once. The register
is accessed three more times in the file, with different values written to it
each time.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/efikamx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h index b90e342..fdd0a14 100644 --- a/include/configs/efikamx.h +++ b/include/configs/efikamx.h @@ -230,6 +230,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) #define CONFIG_SYS_DDR_CLKSEL 0 -#define CONFIG_SYS_CLKTL_CBCDR 0x59E35100 +#define CONFIG_SYS_CLKTL_CBCDR 0x59E35145 #endif |