From patchwork Thu Jan 28 01:15:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 75556 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0S1MFCR029235 for ; Thu, 28 Jan 2010 01:22:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755825Ab0A1BWO (ORCPT ); Wed, 27 Jan 2010 20:22:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755829Ab0A1BWO (ORCPT ); Wed, 27 Jan 2010 20:22:14 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:46833 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755808Ab0A1BWO (ORCPT ); Wed, 27 Jan 2010 20:22:14 -0500 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1NaJ5D-0002A5-To; Thu, 28 Jan 2010 02:22:07 +0100 Received: from [12.23.106.106] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1NaIZb-0000mU-R1; Thu, 28 Jan 2010 09:49:27 +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-2] ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig Date: Thu, 28 Jan 2010 10:15:32 +0900 Message-Id: <1264641332-30800-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 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"