From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)? Date: Tue, 31 Jan 2012 10:10:00 +0000 Message-ID: <20120131101000.GA1275@n2100.arm.linux.org.uk> References: <20120117133918.GE11475@arm.com> <20120127173029.GA3281@arm.com> <4F277A6E.9070107@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:41377 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753696Ab2AaKKm (ORCPT ); Tue, 31 Jan 2012 05:10:42 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Catalin Marinas Cc: "Shilimkar, Santosh" , "linux-omap@vger.kernel.org" , Aneesh V , linux-arm , Joe Woodward On Tue, Jan 31, 2012 at 09:53:25AM +0000, Catalin Marinas wrote: > Maybe we could factor out the CPU-specific settings from proc-v*.S > into a separate arch/arm/boot/preload directory. We keep proc-v*.S > entirely generic and the implementation-defined bits setting in the > preload code. You could have an option to link the preload with the > kernel but we could recommend that people run this code from > boot-loader before invoking the kernel. You've seen the resistance from uboot to stuff we do with the kernel, this will be no different. There's also quite a number of boot loaders out there which aren't capable of running a binary, returning and then loading and running the kernel. Plus, of course, it's far from friendly towards TFTP setups.