From: Mike Frysinger Date: Thu, 13 Oct 2011 19:34:25 -0400 Subject: [U-Boot] [PATCH 1/9] tegra2: Add arch_cpu_init() to fire up Cortex-A9 In-Reply-To: References: <1318539963-3329-1-git-send-email-sjg@chromium.org> <201110131852.06983.vapier@gentoo.org> Message-ID: <201110131934.26975.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 13 October 2011 19:18:22 Simon Glass wrote: > On Thu, Oct 13, 2011 at 3:52 PM, Mike Frysinger wrote: > > On Thursday 13 October 2011 17:05:55 Simon Glass wrote: > >> --- a/arch/arm/lib/Makefile > >> +++ b/arch/arm/lib/Makefile > >> > >> +# Tegra has an ARMv4T CPU which runs board_init_f(), so we must build > >> this +# file with compatible flags > >> +ifdef CONFIG_TEGRA2 > >> +CFLAGS_arch/arm/lib/board.o += -march=armv4t > >> +endif > > > > all Tegra SoC's have an ARMv4T inside of the package ? that's a bit > > crazy. isn't there a tegra-specific config.mk somewhere we could add > > this instead ? > > Well that same line can't go into the tegra-specific config.mk as it > will not be seen when compiling arch/arm/lib. why not ? arch/arm/lib/Makefile includes topdir/config.mk topdir/config.mk includes topdir/$(CPUDIR)/$(SOC)/config.mk isn't tegra your SOC here ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111013/13153f7f/attachment.pgp