From patchwork Fri Jan 29 06:43:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 75665 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o0T6qRAD015424 for ; Fri, 29 Jan 2010 06:52:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828Ab0A2Gw0 (ORCPT ); Fri, 29 Jan 2010 01:52:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752807Ab0A2GwZ (ORCPT ); Fri, 29 Jan 2010 01:52:25 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:60425 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751262Ab0A2GwZ (ORCPT ); Fri, 29 Jan 2010 01:52:25 -0500 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1NakiM-0005SZ-Bj; Fri, 29 Jan 2010 07:52:22 +0100 Received: from [12.23.106.106] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1NakAP-0004Zn-71; Fri, 29 Jan 2010 15:17:17 +0900 From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org Cc: ben-linux@fluff.org, linux-omap@vger.kernel.org, Kukjin Kim Subject: [PATCH RE-SEND-3] ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig Date: Fri, 29 Jan 2010 15:43:35 +0900 Message-Id: <1264747415-6711-1-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.6.2.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 29 Jan 2010 06:52:28 +0000 (UTC) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a5602ec..13c07a6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -161,6 +161,11 @@ config ARCH_MTD_XIP config GENERIC_HARDIRQS_NO__DO_IRQ def_bool y +config ARM_L1_CACHE_SHIFT_6 + bool + help + Setting ARM L1 cache line size to 64 Bytes. + if OPROFILE config OPROFILE_ARMV6 @@ -646,6 +651,7 @@ config ARCH_S5PC1XX select GENERIC_GPIO select HAVE_CLK select CPU_V7 + select ARM_L1_CACHE_SHIFT_6 help Samsung S5PC1XX series based systems diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 91617f7..8ca9fb7 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -779,5 +779,5 @@ config CACHE_XSC3L2 config ARM_L1_CACHE_SHIFT int - default 6 if ARCH_OMAP3 || ARCH_S5PC1XX + default 6 if ARM_L1_CACHE_SHIFT_6 default 5 diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index e2ea04a..2e3eec6 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -22,6 +22,7 @@ config ARCH_OMAP3 bool "TI OMAP3" select CPU_V7 select COMMON_CLKDEV + select ARM_L1_CACHE_SHIFT_6 config ARCH_OMAP4 bool "TI OMAP4"