From patchwork Tue Oct 21 14:11:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xia Kaixu X-Patchwork-Id: 39151 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC1A9202DB for ; Tue, 21 Oct 2014 14:13:21 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id b13sf892815wgh.8 for ; Tue, 21 Oct 2014 07:13:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=s2gmA8W1ey2lIgFovnsfX5l5AmfGfB769OKsrMzynV8=; b=IMuEw24hC4/UEtQBx3m1ij954cfj+YFiRnzqHrSL45aw0Qi6YZbIdLSiKGWDyOSMOj wJbiAO2cQcE2DU8ptK+bD7bTUNNDepk0n4Ii1vcmQPrujieZhqh0/uJFMBp4nxgzBqnD yh6O2UZ2Zz8tEE/1+4H2tpvu0Oc9ObawnreikXbKwlHlMKseRES66i7LVC/DLRtnfqBU MZ3yMxwcN2chPB20Ggmlwi/jzDYvcSGFWFrdbOyEmLhvdzC2eWC8jlS85QKk85jQLhQX btdqX2ytLt90RY3xVwy+mZOuvTKpTJu0q/fA9+bXdsRoJCXjPU9SUnXLBHTZn5q8IXqG C35Q== X-Gm-Message-State: ALoCoQmmSkPiLQCbdDE+i/HKr5CVy4nnhASDveIXUX0GELmPIGLnyh7F3sv1vI+GSJ78SrFXOTuE X-Received: by 10.194.86.66 with SMTP id n2mr42017wjz.7.1413900800620; Tue, 21 Oct 2014 07:13:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.193 with SMTP id x1ls76701lae.53.gmail; Tue, 21 Oct 2014 07:13:20 -0700 (PDT) X-Received: by 10.112.224.162 with SMTP id rd2mr3700777lbc.95.1413900800303; Tue, 21 Oct 2014 07:13:20 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id yg7si19086051lbb.133.2014.10.21.07.13.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id pn19so1105975lab.14 for ; Tue, 21 Oct 2014 07:13:19 -0700 (PDT) X-Received: by 10.112.221.197 with SMTP id qg5mr34755626lbc.32.1413900799541; Tue, 21 Oct 2014 07:13:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp505926lbz; Tue, 21 Oct 2014 07:13:18 -0700 (PDT) X-Received: by 10.68.76.97 with SMTP id j1mr13526755pbw.22.1413900790699; Tue, 21 Oct 2014 07:13:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xg7si11296905pbc.90.2014.10.21.07.13.10 for ; Tue, 21 Oct 2014 07:13:10 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932925AbaJUONE (ORCPT + 27 others); Tue, 21 Oct 2014 10:13:04 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:57315 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932884AbaJUOMy (ORCPT ); Tue, 21 Oct 2014 10:12:54 -0400 Received: by mail-pd0-f177.google.com with SMTP id v10so1411006pde.36 for ; Tue, 21 Oct 2014 07:12:54 -0700 (PDT) X-Received: by 10.66.129.142 with SMTP id nw14mr5048686pab.119.1413900774361; Tue, 21 Oct 2014 07:12:54 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id c2sm12065981pdf.52.2014.10.21.07.12.51 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:12:53 -0700 (PDT) From: Xia Kaixu To: rmk+kernel@arm.linux.org.uk, arm@kernel.org Cc: kaixu.xia@linaro.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: restrict CPU_BIG_ENDIAN configuration option Date: Tue, 21 Oct 2014 22:11:33 +0800 Message-Id: <1413900694-29571-4-git-send-email-kaixu.xia@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1413900694-29571-1-git-send-email-kaixu.xia@linaro.org> References: <1413900694-29571-1-git-send-email-kaixu.xia@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kaixu.xia@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Some platforms don't work when CPU_BIG_ENDIAN is enabled. So It can get a dependency on !ARCH_MULTIPLATFORM_STRICT. Signed-off-by: Xia Kaixu --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index ae69809..d510448 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -698,6 +698,7 @@ config SWP_EMULATE config CPU_BIG_ENDIAN bool "Build big-endian kernel" depends on ARCH_SUPPORTS_BIG_ENDIAN + depends on !ARCH_MULTIPLATFORM_STRICT help Say Y if you plan on running a kernel in big-endian mode. Note that your board must be properly built and your board