From: Yann Vernier <yann.vernier@orsoc.se>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] cm4008: set gd->ram_size in dram_init
Date: Wed, 4 Jul 2012 15:08:27 +0200 [thread overview]
Message-ID: <4ff54e87.1369980a.7b50.0f15@mx.google.com> (raw)
Leave dram_init_banksize to set up the bank info data.
ram_size was previously uninitialized.
Signed-off-by: Yann Vernier <yann.vernier@orsoc.se>
---
board/cm4008/cm4008.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/cm4008/cm4008.c b/board/cm4008/cm4008.c
index ed493a8..557cd8e 100644
--- a/board/cm4008/cm4008.c
+++ b/board/cm4008/cm4008.c
@@ -97,8 +97,7 @@ int board_init (void)
int dram_init (void)
{
- gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
- gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
+ gd->ram_size = PHYS_SDRAM_1_SIZE;
return (0);
}
--
1.7.10
next reply other threads:[~2012-07-04 13:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-04 13:08 Yann Vernier [this message]
2012-07-05 10:02 ` [U-Boot] [PATCH 1/3] cm4008: set gd->ram_size in dram_init Andreas Bießmann
2012-07-05 12:11 ` [U-Boot] [PATCH v2] arm: cm4008, cm41xx: " Yann Vernier
2012-07-05 14:48 ` Andreas Bießmann
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=4ff54e87.1369980a.7b50.0f15@mx.google.com \
--to=yann.vernier@orsoc.se \
--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