From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Subject: Re: [PATCH 6/6] omap3: beagle: get rid of unused omap2/omap4 specific code/data Date: Tue, 21 Dec 2010 22:57:43 +0100 Message-ID: <20101221225743.0953365a@surf> References: <1292955604-8809-1-git-send-email-thomas.petazzoni@free-electrons.com> <1292955604-8809-7-git-send-email-thomas.petazzoni@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Return-path: Received: from mail.free-electrons.com ([88.190.12.23]:34392 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076Ab0LUV5v (ORCPT ); Tue, 21 Dec 2010 16:57:51 -0500 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Menon, Nishanth" Cc: linux-omap@vger.kernel.org, Thomas Petazzoni On Tue, 21 Dec 2010 13:15:23 -0600 "Menon, Nishanth" wrote: > Potentially a dumb idea: given that silicon wont change after boot, > cant we make it independent of the board file - I mean some common > file with cpu_is check and free of conditional sections accordingly? Yes, definitely. The current location in the BeagleBoard board code was just to make a quick test. It belongs somewhere in the CPU detection code. Thanks for your feedback! Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com