From: Nishanth Menon Subject: [PATCH 9/9] omap: id: add feature check for omap1 Date: Tue, 22 Jun 2010 21:16:15 -0500 Message-ID: <1277259375-18521-10-git-send-email-nm@ti.com> References: <1277259375-18521-1-git-send-email-nm@ti.com> Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:45150 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750945Ab0FWCQX (ORCPT ); Tue, 22 Jun 2010 22:16:23 -0400 In-Reply-To: <1277259375-18521-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap Cc: Venkatraman S , Senthilvadivu Guruswamy , Tony Lindgren , Nishanth Menon add a minimalist feature - l2cache for omap1. Signed-off-by: Nishanth Menon --- arch/arm/mach-omap1/id.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap1/id.c b/arch/arm/mach-omap1/id.c index 91dbb71..b98a17f 100644 --- a/arch/arm/mach-omap1/id.c +++ b/arch/arm/mach-omap1/id.c @@ -200,5 +200,11 @@ void __init omap1_check_revision(void) printk(KERN_INFO " revision %i handled as %02xxx id: %08x%08x\n", die_rev, omap_revision & 0xff, system_serial_low, system_serial_high); + + /* + * TODO: add a better check feature once we have + * more decent feature check + */ + omap_features |= OMAP_HAS_L2CACHE; } -- 1.6.3.3