[U-Boot] [PATCH 1/2] Move and rename common headers from under board/davinci

Wolfgang Denk wd at denx.de
Fri Oct 22 11:47:16 CEST 2010


Dear Sughosh Ganu,

In message <20101022084641.GD8597 at Hardy> you wrote:
>
> > Please don't. Assume that all config.mk files are candidates for
> > removal.
> > 
> > Rather put commonly used header files in places where they can be
> > found easily.
> 
>   Which is what i was trying in the first place :). Any place other
>   than the include directory would need us to specifiy the path to the
>   files. Where can we put such information then, if not
>   config.mk. Please let me know.

If you have common code and local header files that are only needed by
that code you should place this into the
arch/arm/cpu/arm926ejs/davinci/ directory, and use the #include "..."
notation.

Headers that are architecture specific, but otherwise global for all
boards, should probably go to arch/arm/include/asm/arch-davinci/, in
which case you can use #include <asm/arch/...>

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
On a clear disk you can seek forever.


More information about the U-Boot mailing list