From patchwork Tue Oct 2 16:36:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11961 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5C44323EFF for ; Tue, 2 Oct 2012 16:37:31 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0F1C9A18710 for ; Tue, 2 Oct 2012 16:37:30 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so14608949iej.11 for ; Tue, 02 Oct 2012 09:37:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=8NkSpe/qRC562B7ma21+fd8KnitFBJ1x/ALSzORgi4c=; b=fuAvclwZtDjHY3gQ+rwqP9R8jNgZM+duLobyb1gd5RW4OUYfa+KaiSXRufALTdugQI DxvVFUZnwxLBZfdGesQ+qt+/TseCpCeQm58G9PTl5PxT9E1y/hsKB8s7+zqd1GeiF6ZX sXbB+u5S66UnTT5z9JVOjzL2/cSjka18PZ3U5WEeSI42t9LLulqZY1I58ghm9wi9pOvj /cXEXhw0Ii2Jw4fS37+VedqOyudqO15QdFyf+IELHHdkfRmt2kkAAJj3Kl7q7pzPCq+c W/n+Ik+oJlNga1ivaV0YmltdrjdO7jvL1xSFqxqO7sW+FqDl/jN0LjZtn2BP2wBzj9oq ymdw== Received: by 10.50.154.227 with SMTP id vr3mr9383948igb.43.1349195850690; Tue, 02 Oct 2012 09:37:30 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp92094igc; Tue, 2 Oct 2012 09:37:29 -0700 (PDT) Received: by 10.180.99.133 with SMTP id eq5mr23099990wib.21.1349195849340; Tue, 02 Oct 2012 09:37:29 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.187]) by mx.google.com with ESMTPS id z38si1741585wep.4.2012.10.02.09.37.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 09:37:29 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.187; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from localhost.localdomain (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LuJK3-1TSPVS1nD5-011LiK; Tue, 02 Oct 2012 18:37:09 +0200 From: Arnd Bergmann To: linux-arm-kernel@infradead.org Cc: arm@kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Paul Mundt , Magnus Damm , linux-sh@vger.kernel.org, Simon Horman Subject: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig Date: Tue, 2 Oct 2012 18:36:40 +0200 Message-Id: <1349195816-2225-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349195816-2225-1-git-send-email-arnd@arndb.de> References: <1349195816-2225-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:FCHkoPYSKGioiHuzLEza/Lf8DvM3j96fmzTiHKMl9wd V/6//BVK+HD3gIi7fjNk8TF3pTn0MGOAN6imH8DpAbczOh+3rC lX1ohh5WDsTmoyXRYNMwafGqKGyK38SSaLB8Z0U0ALfleqCCpv VlmCXT0Jp7AjwmgQFCtJEdtgl2LizvHbADWRkweQ8sEh1QdT9P OzL5gR3k87yprd/TMqZESLizaNQdu9zcxrHXWusTPSwVH8X0mp j7vK4vw0nJuWikcn6CuDSdaGPzsuXLTKutkCgcYTQ2E8cWJhSa 07TE4hiimB3NgG2QGavxELLB+DkN3uzIZjGdLHK1/AkmsiaQzA +Y4ZEycK9PEg+hUIGRMHUvYJ1uouzONiFj2UjnfvWeTpI8YjZ8 c0e5BuJ3Fh5xw== X-Gm-Message-State: ALoCoQl6v5gOXRTnKYK1NqWsImL4z9mzH5/tRqp4jVVtnEOBHtALD4oRfpV+BHmB1dkr5QOJTHOT The CONFIG_MEMORY_SIZE value is interpreted as a 32 bit integer, which makes sense on a system without PAE. I'm assuming 0x10000000 (256 MB) is the correct size, because that is used on most other shmobile boards. Without this patch, building kota2_defconfig results in: /home/arnd/linux-arm/arch/arm/kernel/setup.c:790:2: warning: large integer implicitly truncated to unsigned type [-Woverflow] Signed-off-by: Arnd Bergmann Cc: Paul Mundt Cc: Magnus Damm Cc: linux-sh@vger.kernel.org Cc: Simon Horman --- arch/arm/configs/kota2_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/kota2_defconfig b/arch/arm/configs/kota2_defconfig index b7735d6..0ea4c90 100644 --- a/arch/arm/configs/kota2_defconfig +++ b/arch/arm/configs/kota2_defconfig @@ -21,7 +21,7 @@ CONFIG_ARCH_SHMOBILE=y CONFIG_KEYBOARD_GPIO_POLLED=y CONFIG_ARCH_SH73A0=y CONFIG_MACH_KOTA2=y -CONFIG_MEMORY_SIZE=0x1e0000000 +CONFIG_MEMORY_SIZE=0x10000000 # CONFIG_SH_TIMER_TMU is not set # CONFIG_SWP_EMULATE is not set CONFIG_CPU_BPREDICT_DISABLE=y