From: Nitin Garg <nitin.garg@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] iMX6Q/DL:arm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards
Date: Wed, 3 Sep 2014 20:40:18 -0500 [thread overview]
Message-ID: <5407C302.7050008@freescale.com> (raw)
In-Reply-To: <1409733275-24659-4-git-send-email-B37916@freescale.com>
Hi Ye,
On 09/03/2014 03:34 AM, Ye.Li wrote:
> diff --git a/board/freescale/mx6qarm2/mx6qarm2.c b/board/freescale/mx6qarm2/mx6qarm2.c
> index f2e577d..090f3a8 100644
> --- a/board/freescale/mx6qarm2/mx6qarm2.c
> +++ b/board/freescale/mx6qarm2/mx6qarm2.c
> @@ -32,7 +32,11 @@ DECLARE_GLOBAL_DATA_PTR;
>
> int dram_init(void)
> {
> - gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);
> +#ifdef CONFIG_DDR_32BIT
> + gd->ram_size = (phys_size_t)CONFIG_DDR_MB * 512 * 1024;
> +#else
> + gd->ram_size = (phys_size_t)CONFIG_DDR_MB * 1024 * 1024;
> +#endif
>
> return 0;
> }
I thought this (CONFIG_DDR_32BIT) is true only for mx6dlarm2
DDR3 board.
prev parent reply other threads:[~2014-09-04 1:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 8:34 [U-Boot] [PATCH 1/4] iMX6Q:arm2: Add the kernel FDT Loading support Ye.Li
2014-09-03 8:34 ` [U-Boot] [PATCH 2/4] iMX6Q:arm2: Change the mmcroot and mmcpart env value Ye.Li
2014-09-03 8:34 ` [U-Boot] [PATCH 3/4] iMX6DL:arm2: Add support for i.MX6DL arm2 DDR3 board Ye.Li
2014-09-03 8:34 ` [U-Boot] [PATCH 4/4] iMX6Q/DL:arm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards Ye.Li
2014-09-04 1:40 ` Nitin Garg [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=5407C302.7050008@freescale.com \
--to=nitin.garg@freescale.com \
--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.