From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] EfikaMX: Adjust undocumented magic constant in config file
Date: Thu, 22 Sep 2011 11:46:28 +0200 [thread overview]
Message-ID: <4E7B03F4.2060602@denx.de> (raw)
In-Reply-To: <1316060217-5462-1-git-send-email-marek.vasut@gmail.com>
On 09/15/2011 06:16 AM, Marek Vasut wrote:
> 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>
> ---
> 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 d4e77c2..1fa29d2 100644
> --- a/include/configs/efikamx.h
> +++ b/include/configs/efikamx.h
> @@ -284,6 +284,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
Applied to u-boot-imx, next branch.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
prev parent reply other threads:[~2011-09-22 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 4:16 [U-Boot] [PATCH] EfikaMX: Adjust undocumented magic constant in config file Marek Vasut
2011-09-22 9:46 ` Stefano Babic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7B03F4.2060602@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.