From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] mkconfig "arch" link generation
Date: Thu, 15 Jul 2010 09:59:41 +0200 [thread overview]
Message-ID: <4C3EBFED.1050306@denx.de> (raw)
In-Reply-To: <4C3DB966.30003@sirius-es.it>
Matteo Facchinetti wrote:
> Hi Stefano,
Hi Matteo,
> Yes, you're rigth,
> but I'm tring to write nand_spl driver for add nand boot support for my
> TWR-MPC5125 evaluation board.
> In first step I take what I need from LTIB (freescale) and then I
> adjust the code for uboot mainline.
> The part takes from LTIB of 2k first stage nandboot code uses directly
> SRAMBAR and SWCRR defines.
>
> Now, I suppose, correct develop is to use the common c code in nand_spl
> directory and eventually customizing for my board unless use
> "include/asm/arch/..." for powerpc arch.
> Is it true?
Yes, and if you see under nand_spl/boar you have some examples how to
find additional files. You see that in Makefiles some local link are
created, and you could use the same mechanism to have a local asm-offsets.h
However, I agree that we should not generate broken link and IMHO the
position of asm-offsets.h is wrong. But again, the best thing should be
to generate this file automatically importing the mechanism from the kernel.
Best regards,
Stefano
--
=====================================================================
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:[~2010-07-15 7:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 9:31 [U-Boot] mkconfig "arch" link generation Matteo Facchinetti
2010-07-14 10:10 ` Stefano Babic
2010-07-14 13:19 ` Matteo Facchinetti
2010-07-15 7:59 ` Stefano Babic [this message]
2010-07-14 19:01 ` Wolfgang Denk
2010-07-15 7:16 ` Matteo Facchinetti
2010-07-15 9:11 ` 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=4C3EBFED.1050306@denx.de \
--to=sbabic@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