Skip to content
Snippets Groups Projects
Commit b7171d92 authored by Marek Vasut's avatar Marek Vasut Committed by Albert ARIBAUD
Browse files

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: default avatarMarek Vasut <marek.vasut@gmail.com>
parent 610b53e2
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment