From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Martin Date: Mon, 14 May 2012 12:39:19 -0700 Subject: [U-Boot] [PATCH] tegra: override compiler flags for cmd_nvedit In-Reply-To: <201205140124.21449.vapier@gentoo.org> References: <1336163380-29679-1-git-send-email-amartin@nvidia.com> <20120505200122.5C3F12001D0@gemini.denx.de> <20120507163600.GA13121@nvidia.com> <201205140124.21449.vapier@gentoo.org> Message-ID: <20120514193918.GA12896@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, May 13, 2012 at 10:24:19PM -0700, Mike Frysinger wrote: > On Monday 07 May 2012 12:36:00 Allen Martin wrote: > > The other option is to compile all of tegra armv4t by modifying > > arch/arm/cpu/armv7/config.mk > > no it's not. arch and board config.mk get sourced, so you can put this > board/arch specific cruft there. we do it for blackfin boards all the time ... > see board/bf537-stamp/config.mk for example. > -mike > Thanks Mike, that definately sounds preferable, I'll take a look. I recently posted a patch series that makes this kind of hack unnecessary for tegra: "split tegra arm7 code into separate SPL". If you get a chance it could definately use a few more eyeballs :^) Especially the following two changes, which are probably the most controversial: tegra2: move tegra2 SoC code to arch/arm/cpu/tegra2-common mkconfig: add support for SPL CPU -Allen -- nvpublic