From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] CFI support for Versatile & Integrator/CP boards
Date: Tue, 28 Feb 2006 13:30:16 +0100 [thread overview]
Message-ID: <200602281330.16828.sr@denx.de> (raw)
In-Reply-To: <CAM-OWA1WtIIZS2TRqf00000005@cam-owa1.Emea.Arm.com>
Hi Peter,
On Tuesday, 28. February 2006 12:58, Peter Pearse wrote:
> >> The patch
> >> - Makes flash_get_size() static.
> >
> > Rejected. This function is called from other board files.
>
> I don't mind but:-
> - flash_get_size() is not declared in include/flash.h
Good point. I will fix this.
> - I don't see a board which calls flash_get_size() without providing its
> own flash.c::flash_get_size(),
For example "board/tqm85xx/tqm85xx.c".
> although not all are declared static. Arguably the board level code might
> have some reason to subvert
> the flash interface (?), but making it static guards against accidental
> cross-linking.
> - IMHO flash info should be accessed from the flash_info[] array, set up by
> a call to flash_init(), keeping the
> flash interface small.
Generally ok, but in some cases this function is used to re-init the sector
setup when not using the max. flash amount (especially on high-boot systems).
> > Please take a look at the patch from Marcus Hall:
> >
> > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/18530
>
> Yes this patch is correct, mine would give two errors....
OK. Thanks.
Best regards,
Stefan
next prev parent reply other threads:[~2006-02-28 12:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-31 16:44 [U-Boot-Users] [PATCH] CFI support for Versatile & Integrator/CP boards Peter Pearse
2006-02-27 12:29 ` Stefan Roese
2006-02-27 15:59 ` Peter Pearse
2006-02-28 9:24 ` Stefan Roese
2006-02-28 11:58 ` Peter Pearse
2006-02-28 12:30 ` Stefan Roese [this message]
2006-02-28 18:46 ` Marcus Hall
2006-02-28 19:05 ` Stefan Roese
2006-02-28 19:21 ` Tolunay Orkun
2006-02-28 19:53 ` Marcus Hall
2006-02-28 20:32 ` Tolunay Orkun
2006-02-28 16:43 ` 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=200602281330.16828.sr@denx.de \
--to=sr@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