[U-Boot] [PATCH 1/2] Move and rename common headers from under board/davinci
Wolfgang Denk
wd at denx.de
Fri Oct 22 09:56:01 CEST 2010
Dear Sughosh Ganu,
In message <20101022072634.GA8597 at Hardy> you wrote:
>
> > > This patch is needed for adding board support for the hawkboard which
> > > uses nand_spl based boot mechanism.
> >
> > Why would that be the case?
>
> The board file is symlinked under the nand_spl/board directory and
> we cannot do relative path based file inclusion.
Which points out where the actual problem comes from: relative path
based file inclusion is a Bad Thing and should be avoided.
> > If these headers are indeed common to all davinci boards, they should
> > probably be moved to arch/arm/cpu/arm926ejs/davinci/
>
> Ok. In that case, i guess i can keep them in the same place. Would
> rename them as davinci_misc.h and da8xx_common.h, and add the
> include path in my board's config.mk. Is this fine.
I don't understand what you man by "keep them in the same place".
Where?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The goal of science is to build better mousetraps. The goal of nature
is to build better mice.
More information about the U-Boot
mailing list