From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 1/3] mx27: add missing constant for mx27
Date: Wed, 28 Aug 2013 16:34:18 +0200 [thread overview]
Message-ID: <521E0A6A.6020502@denx.de> (raw)
In-Reply-To: <1377623553-7713-2-git-send-email-tremyfr@yahoo.fr>
On 27/08/2013 19:12, Philippe Reynes wrote:
> Add some missing constant (chip select, ...)
>
> Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
> Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
> ---
> arch/arm/cpu/arm926ejs/mx27/asm-offsets.c | 5 +++++
> arch/arm/include/asm/arch-mx27/imx-regs.h | 6 +++++-
> 2 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> index 8db2a67..629b727 100644
> --- a/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> +++ b/arch/arm/cpu/arm926ejs/mx27/asm-offsets.c
> @@ -38,5 +38,10 @@ int main(void)
> DEFINE(ESDCFG1_ROF, offsetof(struct esdramc_regs, esdcfg1));
> DEFINE(ESDMISC_ROF, offsetof(struct esdramc_regs, esdmisc));
>
> + DEFINE(GPCR, IMX_SYSTEM_CTL_BASE +
> + offsetof(struct system_control_regs, gpcr));
> + DEFINE(FMCR, IMX_SYSTEM_CTL_BASE +
> + offsetof(struct system_control_regs, fmcr));
> +
> return 0;
> }
> diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h
> index a27145b..92c847e 100644
> --- a/arch/arm/include/asm/arch-mx27/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx27/imx-regs.h
> @@ -169,7 +169,7 @@ struct iim_regs {
> struct fuse_bank {
> u32 fuse_regs[0x20];
> u32 fuse_rsvd[0xe0];
> - } bank[1];
> + } bank[2];
> };
>
> struct fuse_bank0_regs {
> @@ -209,9 +209,13 @@ struct fuse_bank0_regs {
> #define IIM_BASE_ADDR IMX_IIM_BASE
> #define IMX_FEC_BASE (0x2b000 + IMX_IO_BASE)
>
> +#define IMX_NFC_BASE (0xD8000000)
> #define IMX_ESD_BASE (0xD8001000)
> #define IMX_WEIM_BASE (0xD8002000)
>
> +#define NFC_BASE_ADDR IMX_NFC_BASE
> +
> +
> /* FMCR System Control bit definition*/
> #define UART4_RXD_CTL (1 << 25)
> #define UART4_RTS_CTL (1 << 24)
>
Acked-by: Stefano Babic <sbabic@denx.de>
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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2013-08-28 14:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 17:12 [U-Boot] [PATCH v5 0/3] apf27: add support of armadeus apf27 Philippe Reynes
2013-08-27 17:12 ` [U-Boot] [PATCH v5 1/3] mx27: add missing constant for mx27 Philippe Reynes
2013-08-28 14:34 ` Stefano Babic [this message]
2013-08-27 17:12 ` [U-Boot] [PATCH v5 2/3] apf27: add support for the armadeus APF27 board Philippe Reynes
2013-08-28 14:49 ` Stefano Babic
2013-08-27 17:12 ` [U-Boot] [PATCH v5 3/3] apf27: add FPGA support for the apf27 board Philippe Reynes
2013-08-28 14:51 ` Stefano Babic
2013-08-28 11:24 ` [U-Boot] [PATCH v5 0/3] apf27: add support of armadeus apf27 Marek Vasut
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=521E0A6A.6020502@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