From: Wolfgang Denk Date: Sun, 19 Dec 2010 13:25:00 +0100 Subject: [U-Boot] [PATCH] Blackfin: bf525-ucr2: new board port In-Reply-To: <201012182340.27980.vapier@gentoo.org> References: <1291891702-20707-1-git-send-email-vapier@gentoo.org> <20101218231448.3DEA6B180@gemini.denx.de> <201012182340.27980.vapier@gentoo.org> Message-ID: <20101219122500.DDB3C14EF8A@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 Mike Frysinger, In message <201012182340.27980.vapier@gentoo.org> you wrote: > > > > +++ b/board/bf525-ucr2/config.mk > > > +CONFIG_BFIN_CPU = bf525-0.2 > > > + > > > +# Set some default LDR flags based on boot mode. > > > +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE)) > > > > Can we not move all this into the board config file, and drop the > > config.mk ? > > i dont know what you're referring to. the cpu needs to be available before > autoconf.mk is generated, and LDR_FLAGS is a build setting that makes more > sense to keep in the build .mk. I want to get rid of all these board specific config.mk files. And I don't see a good reason why it would be needed here. Other boards don;t need any of this either. 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 By the way, ALL software projects are done by iterative prototyping. Some companies call their prototypes "releases", that's all.