From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs
Date: Mon, 24 Aug 2015 10:02:13 +0200 [thread overview]
Message-ID: <55DACF85.40905@denx.de> (raw)
In-Reply-To: <1439799065-12278-2-git-send-email-Peng.Fan@freescale.com>
On 17/08/2015 10:10, Peng Fan wrote:
> Add more register entry for MMDC structure.
>
> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Tim Harvey <tharvey@gateworks.com>
> ---
> arch/arm/include/asm/arch-mx6/mx6-ddr.h | 65 ++++++++++++++++++++++++++++-----
> 1 file changed, 56 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arch/arm/include/asm/arch-mx6/mx6-ddr.h
> index 7bfbdc3..f3194da 100644
> --- a/arch/arm/include/asm/arch-mx6/mx6-ddr.h
> +++ b/arch/arm/include/asm/arch-mx6/mx6-ddr.h
> @@ -40,30 +40,77 @@ struct mmdc_p_regs {
> u32 res1[2];
> u32 mdrwd;
> u32 mdor;
> - u32 res2[3];
> + u32 mdmrr;
> + u32 mdcfg3lp;
> + u32 mdmr4;
> u32 mdasp;
> - u32 res3[240];
> + u32 res2[239];
> + u32 maarcr;
> u32 mapsr;
> - u32 res4[254];
> + u32 maexidr0;
> + u32 maexidr1;
> + u32 madpcr0;
> + u32 madpcr1;
> + u32 madpsr0;
> + u32 madpsr1;
> + u32 madpsr2;
> + u32 madpsr3;
> + u32 madpsr4;
> + u32 madpsr5;
> + u32 masbs0;
> + u32 masbs1;
> + u32 res3[2];
> + u32 magenp;
> + u32 res4[239];
> u32 mpzqhwctrl;
> - u32 res5[2];
> + u32 mpzqswctrl;
> + u32 mpwlgcr;
> u32 mpwldectrl0;
> u32 mpwldectrl1;
> - u32 res6;
> + u32 mpwldlst;
> u32 mpodtctrl;
> u32 mprddqby0dl;
> u32 mprddqby1dl;
> u32 mprddqby2dl;
> u32 mprddqby3dl;
> - u32 res7[4];
> + u32 mpwrdqby0dl;
> + u32 mpwrdqby1dl;
> + u32 mpwrdqby2dl;
> + u32 mpwrdqby3dl;
> u32 mpdgctrl0;
> u32 mpdgctrl1;
> - u32 res8;
> + u32 mpdgdlst0;
> u32 mprddlctl;
> - u32 res9;
> + u32 mprddlst;
> u32 mpwrdlctl;
> - u32 res10[25];
> + u32 mpwrdlst;
> + u32 mpsdctrl;
> + u32 mpzqlp2ctl;
> + u32 mprddlhwctl;
> + u32 mpwrdlhwctl;
> + u32 mprddlhwst0;
> + u32 mprddlhwst1;
> + u32 mpwrdlhwst0;
> + u32 mpwrdlhwst1;
> + u32 mpwlhwerr;
> + u32 mpdghwst0;
> + u32 mpdghwst1;
> + u32 mpdghwst2;
> + u32 mpdghwst3;
> + u32 mppdcmpr1;
> + u32 mppdcmpr2;
> + u32 mpswdar0;
> + u32 mpswdrdr0;
> + u32 mpswdrdr1;
> + u32 mpswdrdr2;
> + u32 mpswdrdr3;
> + u32 mpswdrdr4;
> + u32 mpswdrdr5;
> + u32 mpswdrdr6;
> + u32 mpswdrdr7;
> u32 mpmur0;
> + u32 mpwrcadl;
> + u32 mpdccr;
> };
>
> #define MX6UL_IOM_DDR_BASE 0x020e0200
>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
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:[~2015-08-24 8:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 8:10 [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl Peng Fan
2015-08-17 8:10 ` [U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs Peng Fan
2015-08-24 8:02 ` Stefano Babic [this message]
2015-08-17 8:10 ` [U-Boot] [PATCH 2/9] imx: mx6: ddr no support MMDC1 for i.MX6SL Peng Fan
2015-08-24 8:02 ` Stefano Babic
2015-08-17 8:10 ` [U-Boot] [PATCH 3/9] imx: mx6: ddr correct tRFC and tXS Peng Fan
2015-08-24 8:02 ` Stefano Babic
2015-08-17 8:11 ` [U-Boot] [PATCH 4/9] imx: mx6: ddr add dram io configuration and header file for i.MX6SL Peng Fan
2015-08-17 8:11 ` [U-Boot] [PATCH 5/9] imx: mx6: ddr add mpzqlp2ctl entry Peng Fan
2015-08-17 8:11 ` [U-Boot] [PATCH 6/9] imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo Peng Fan
2015-08-17 8:11 ` [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type Peng Fan
2015-08-17 8:11 ` [U-Boot] [PATCH 8/9] imx: mx6: ddr: add LPDDR2 support Peng Fan
2015-08-17 8:11 ` [U-Boot] [PATCH 9/9] imx: mx6slevk: add SPL support Peng Fan
2015-08-31 16:52 ` [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl Stefano Babic
-- strict thread matches above, loose matches on Subject: below --
2015-08-17 3:29 Peng Fan
2015-08-17 3:29 ` [U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs Peng Fan
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=55DACF85.40905@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.