From: "Matthias Weißer" <weisserm@arcor.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] [NEXT]arm: Make jadecpu use relocation
Date: Mon, 11 Oct 2010 11:50:32 +0200 [thread overview]
Message-ID: <4CB2DDE8.6040908@arcor.de> (raw)
In-Reply-To: <20101005184116.EF502153A7E@gemini.denx.de>
Hello Wolfgang
Am 05.10.2010 20:41, schrieb Wolfgang Denk:
> Dear Matthias Weisser,
>> - gd->bd->bi_dram[0].start = PHYS_SDRAM;
>> - gd->bd->bi_dram[0].size = PHYS_SDRAM_SIZE;
>> + /* dram_init must store complete ramsize in gd->ram_size */
>> + gd->ram_size = get_ram_size((volatile void *)PHYS_SDRAM,
>> + PHYS_SDRAM_SIZE);
>
> Unfortunately this breaks building for this board:
>
> jadecpu.c: In function 'dram_init':
> jadecpu.c:158: error: 'gd_t' has no member named 'ram_size'
> jadecpu.c: In function 'dram_init_banksize':
> jadecpu.c:167: error: 'gd_t' has no member named 'ram_size'
>
> Can you please provide a fix? Thanks.
I am not sure how to fix this. gd_t contains a member ram_size if
CONFIG_SYS_ARM_WITHOUT_RELOC is not defined. This is the case for our
jadecpu board.
Also the patch is in current master branch and builds cleanly here.
Matthias
next prev parent reply other threads:[~2010-10-11 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-21 13:37 [U-Boot] [PATCH] [NEXT]arm: Make jadecpu use relocation Matthias Weisser
2010-09-21 19:43 ` Wolfgang Denk
2010-10-05 18:41 ` Wolfgang Denk
2010-10-11 9:50 ` Matthias Weißer [this message]
2010-10-12 19:35 ` Wolfgang Denk
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=4CB2DDE8.6040908@arcor.de \
--to=weisserm@arcor.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