From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/3] MX5: Make the weim structure complete
Date: Tue, 17 May 2011 14:42:10 +0200 [thread overview]
Message-ID: <4DD26D22.5090706@denx.de> (raw)
In-Reply-To: <1305584991-13040-1-git-send-email-fabio.estevam@freescale.com>
On 05/17/2011 12:29 AM, Fabio Estevam wrote:
> Make the weim register set complete for MX51/MX53.
>
> While at it also add the weim chip select 1 address definition.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Make the weim struct complete
>
> arch/arm/include/asm/arch-mx5/imx-regs.h | 46 ++++++++++++++++++++++++++----
> 1 files changed, 40 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h
> index a1849f8..d80e0c0 100644
> --- a/arch/arm/include/asm/arch-mx5/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h
> @@ -41,6 +41,7 @@
> #define CSD1_BASE_ADDR 0xB0000000
> #define NFC_BASE_ADDR_AXI 0xF7FF0000
> #define IRAM_BASE_ADDR 0xF8000000
> +#define CS1_BASE_ADDR 0xF4000000
> #else
> #error "CPU_TYPE not defined"
> #endif
> @@ -231,12 +232,45 @@ struct clkctl {
>
> /* WEIM registers */
> struct weim {
> - u32 csgcr1;
> - u32 csgcr2;
> - u32 csrcr1;
> - u32 csrcr2;
> - u32 cswcr1;
> - u32 cswcr2;
> + u32 cs0gcr1;
The patch breaks the vision2 board. However, you set the names now
exactly how we can find in the reference manual, and this is better and
generates less confusion. Do not worry about the vision2, I will fix it
when your patch will be merged and before my pull.
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-05-17 12:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 22:29 [U-Boot] [PATCH v2 1/3] MX5: Make the weim structure complete Fabio Estevam
2011-05-16 22:29 ` [U-Boot] [PATCH v2 2/3] MX5: Add iomux structure Fabio Estevam
2011-05-16 22:29 ` [U-Boot] [PATCH v2 3/3] MX53: Add initial support for MX53ARD board Fabio Estevam
2011-05-17 4:43 ` Jason Liu
2011-05-17 13:10 ` Stefano Babic
2011-05-17 4:55 ` [U-Boot] [PATCH v2 2/3] MX5: Add iomux structure Jason Liu
2011-05-17 12:53 ` Stefano Babic
2011-05-17 5:06 ` [U-Boot] [PATCH v2 1/3] MX5: Make the weim structure complete Jason Liu
2011-05-17 12:44 ` Stefano Babic
2011-05-17 12:58 ` Fabio Estevam
2011-05-17 13:12 ` Stefano Babic
2011-05-17 12:42 ` 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=4DD26D22.5090706@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox