From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 8/8] New board SIMPC8313 support: nand_boot.c, sdram.c, simpc8313.c
Date: Sat, 31 May 2008 15:11:27 +0200 [thread overview]
Message-ID: <200805311511.28106.sr@denx.de> (raw)
In-Reply-To: <587822.81594.qm@web83501.mail.sp1.yahoo.com>
Hi Ron,
On Friday 30 May 2008, Ron Madrid wrote:
> New board SIMPC8313 support: nand_boot.c, sdram.c,
> simpc8313.c
>
> Remaining board specific files.
>
> Signed-off-by: Ron Madrid
> ---
> board/sheldon/simpc8313/nand_boot.c | 424
> +++++++++++++++++++++++++++++++++++
> board/sheldon/simpc8313/sdram.c | 204
> +++++++++++++++++
> board/sheldon/simpc8313/simpc8313.c | 113 ++++++++++
> 3 files changed, 741 insertions(+), 0 deletions(-)
> create mode 100644
> board/sheldon/simpc8313/nand_boot.c
> create mode 100644 board/sheldon/simpc8313/sdram.c
> create mode 100644
> board/sheldon/simpc8313/simpc8313.c
>
> diff --git a/board/sheldon/simpc8313/nand_boot.c
It seems that you duplicate some of the code already available in
nand_spl/nand_boot.c. I assume that you took a look at this code, right? Why
didn't you try to use this infrastructure for your NAND booting support?
The current nand_spl infrastructure is used on multiple PPC4xx boards and is
designed to be platform independent. It's very likely that some changes for
other platforms are needed though. One enhancements that come to my mind is:
- Automatic NAND chips detection (small- vs. big-page size)
One advantage of the current nand_spl subsystem is that it uses the same NAND
board/platform driver as the "normal", full blown U-Boot NAND subsystem does.
So there is no need to maintain multiple NAND drivers for one board/platform.
So again, please try to use the current nand_spl infrastructure. Or at least
explain why it doesn't work for you, so that we can work on these problems.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-05-31 13:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 18:21 [U-Boot-Users] [PATCH 8/8] New board SIMPC8313 support: nand_boot.c, sdram.c, simpc8313.c Ron Madrid
2008-05-31 13:11 ` Stefan Roese [this message]
2008-06-02 16:48 ` Scott Wood
2008-06-02 18:43 ` Stefan Roese
2008-06-02 19:06 ` Scott Wood
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=200805311511.28106.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