From patchwork Tue Dec 12 18:02:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 121618 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4442953qgn; Tue, 12 Dec 2017 10:03:27 -0800 (PST) X-Google-Smtp-Source: ACJfBotKtxm/1XNqR/+Ui9VoTmfh/b+Tv+91QjL6Y8+6EFb5qPcPFTeHJB12JVDkOzKpy+g/Ympy X-Received: by 10.159.254.8 with SMTP id r8mr2884938pls.291.1513101807009; Tue, 12 Dec 2017 10:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513101807; cv=none; d=google.com; s=arc-20160816; b=crZNLweilxv8RaCHK/QpJeC3gkCeIvM8ToNnoiuvhiV+Uv4ApSnSIMl+mPYZB2tGat +akYw0jOphcb3ruvEOJs/qEZJ4CKkW9Pp9UM6eMzKEmD3lkv98i2cOakuaLSn5kio4qb MGPKDBZ06rnJEOXwckGriJSn/kGAUu+PM8g/n6I9lZWBSffWGMe9k5fzCYqvXGm5TPzp kSgK4xrSMuAzAwy+O8OS2XhpLIUn0xEZII2YD1cQbIdmrGZC9Y3Lmynlfuy42EAvAvGe NTF0VYVhgSSH5mhfJe2YnzuW+EW92HIHpvLUMK+CIG4Lz31dQagBNOVeGwEGgpBNcNiV z46A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=z8662MIZ5dwQLcq3oHHl9m+/8POmU0rU74la9cpMTys=; b=hq7Te4dM1Ivv5a4feE92s6jdGTJDC94JcZ+ZcSZkIwRy6dmzcjsw9nk88G+c9hiMry wKz1oUki7qlL1YSHBoRdXHDmffVvCR3yp8j2Y9KRLDYpSrAFUvreyr3oW81guF7YoDJY U+qaG+Yzw2ODlmhVYljHet8AbtAKU2Ut3fsCiXprDpUGmIQrqrRIzt8BIR68sEl/jKAR AuchrlA+o+YgzocR2VzSBB/jL3EG6mgp4QIWiudbscCJR8JtbCYDkU5CRXdIxLsMH7Lp dZBysXan3sUnXUuCXJapoBLI75OVrKFi3E+kdtm3mnX+GquLdpKNPZFWvDtaAOmfOfGp 4FTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si9400569plz.214.2017.12.12.10.03.26; Tue, 12 Dec 2017 10:03:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752599AbdLLSDZ (ORCPT + 6 others); Tue, 12 Dec 2017 13:03:25 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:64259 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752593AbdLLSDV (ORCPT ); Tue, 12 Dec 2017 13:03:21 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vBCHxbeG000412; Tue, 12 Dec 2017 19:02:29 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2etarru26g-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 12 Dec 2017 19:02:29 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1AC6634; Tue, 12 Dec 2017 18:02:29 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EBECE5255; Tue, 12 Dec 2017 18:02:28 +0000 (GMT) Received: from localhost (10.75.127.50) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 12 Dec 2017 19:02:28 +0100 From: Alexandre Torgue To: Maxime Coquelin , , , , , , CC: , Subject: [PATCH 2/3] ARM: configs: stm32: Enable ARM_MPU Date: Tue, 12 Dec 2017 19:02:25 +0100 Message-ID: <1513101746-18030-3-git-send-email-alexandre.torgue@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513101746-18030-1-git-send-email-alexandre.torgue@st.com> References: <1513101746-18030-1-git-send-email-alexandre.torgue@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-12_10:, , signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org STM32 MCUs embed a Memory Protection Unit. Enabling this setting will allow the Kernel to configure the MPU according to devicetree. Signed-off-by: Alexandre Torgue -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index bb358ff..e642bdf9 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -24,6 +24,7 @@ CONFIG_SET_MEM_PARAM=y CONFIG_DRAM_BASE=0x90000000 CONFIG_FLASH_MEM_BASE=0x08000000 CONFIG_FLASH_SIZE=0x00200000 +CONFIG_ARM_MPU=y CONFIG_PREEMPT=y # CONFIG_ATAGS is not set CONFIG_ZBOOT_ROM_TEXT=0x0