From: Wolfgang Denk Date: Fri, 22 Oct 2010 11:47:16 +0200 Subject: [U-Boot] [PATCH 1/2] Move and rename common headers from under board/davinci In-Reply-To: <20101022084641.GD8597@Hardy> References: <1287690158-6055-1-git-send-email-urwithsughosh@gmail.com> <20101021203009.3FDEC1359B7@gemini.denx.de> <20101022072634.GA8597@Hardy> <20101022075601.09379136320@gemini.denx.de> <20101022080434.GC8597@Hardy> <20101022082608.7D3C11359B3@gemini.denx.de> <20101022084641.GD8597@Hardy> Message-ID: <20101022094716.EEF45136320@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Sughosh Ganu, In message <20101022084641.GD8597@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 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.