From: Wolfgang Denk Date: Fri, 22 Oct 2010 09:56:01 +0200 Subject: [U-Boot] [PATCH 1/2] Move and rename common headers from under board/davinci In-Reply-To: <20101022072634.GA8597@Hardy> References: <1287690158-6055-1-git-send-email-urwithsughosh@gmail.com> <20101021203009.3FDEC1359B7@gemini.denx.de> <20101022072634.GA8597@Hardy> Message-ID: <20101022075601.09379136320@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 <20101022072634.GA8597@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.