Message ID | 20221017154512.1652002-2-sean.anderson@seco.com |
---|---|
State | Accepted |
Delegated to: | Peng Fan |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=seco.com header.i=@seco.com header.a=rsa-sha256 header.s=selector1 header.b=GhudGyn7; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrhD70tf9z1ygT for <incoming@patchwork.ozlabs.org>; Tue, 18 Oct 2022 02:45:59 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B4EBE84ECA; Mon, 17 Oct 2022 17:45:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=seco.com header.i=@seco.com header.b="GhudGyn7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3D4A484E06; Mon, 17 Oct 2022 17:45:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B0D8F84EAA for <u-boot@lists.denx.de>; Mon, 17 Oct 2022 17:45:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sean.anderson@seco.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FiDtN3LAAL6WGlqwbvfsYZjdWtPHR1IN3mPokGDUmPJzsqraJ9CJ8gwPxG9yjQ/4wHjLEmf7yk4NBRrwKgcMQlprG6hOGBPMJ7Mad6868ztl1jnR5aRYXDKMLAk6iR7109UpWk0Z2sY45Bi2IMNnXTAQ/W/KSU40lzhHQ5PGKkFUq8SyC7tQ7j1cyRGCEbyVv2qOBvuwifvJ9iLhunPZ0Tgnpl4gMka5Ax4hh6sW6+C2AAKzL04Bj1nfOBdNDnqct1R4pCCfFvZxPAkl/aHpHJI5zqFt4ivfEAzZsTFDIPgQ6crPdpmFl35lOZrmLGI/kbIwhA1RkeBAJWaBvkkLsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ve8SfBTlgOJZ2E+JCLHD31oQI9RrH8M5EdLhnd+aYRk=; b=J1aBih3pxjU0GxCl6HL6rbU8fpNO94uu9h9fYc39toYTtQka5DZ+au8RZwaMBCyZtoiC3SNf6+tAmcMzwB/BFQk1my/XSbyZ9bFIuiH4Nlx3en9XIZHRl6FSh247psAvh/r7Pw8q4CUVDFouhMFenEBjuHXpdCnSp9nxtDvEVmw53mBBJx+IWrof9r1oFXnEIHOps1yBvS43LjRT0HBID6tWUcShliuZvv5qf1wI1xy3PLVoKVQ9iaa++kP/5akP+P2+2Cr2wT/i1FS+EGegKVsmKKEwDC0W2iOwJT0ianC4uMFN2+DA9lDEJVEk4YGezufubwivYbwJM2M9hKgvkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ve8SfBTlgOJZ2E+JCLHD31oQI9RrH8M5EdLhnd+aYRk=; b=GhudGyn7zsEAbfREaxQ8+5DvWjfn+myz0cOc529CxGtNyjPD2PuKgftqyKClsfFQeER4vwmdFMEu5KVsuvtzulgMFV3t+pnRChAtz4sBsluogmCyTPB6qxUh51fe4xrmolbMGSWjR/16GkVf1C1aWoTHLbqdlpRVg+gzvwbSOAw5kdQ00EdCySdzCX9RC0szwzvdB2ADQVmi6B8C2qPfKfBiTyUD9aqHJ+pfPyWOoOj7Td/TiJDcFJMBktRClYlfDIp069EulKHt5JcKCuddz+2VUL2EUV/Jplu6dR13JjroeUwqSu6PHGoRw5uTWBCi7pEBC1u8subyDcmxK7sGgA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by DB4PR03MB9484.eurprd03.prod.outlook.com (2603:10a6:10:3f4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Mon, 17 Oct 2022 15:45:32 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d%6]) with mapi id 15.20.5723.033; Mon, 17 Oct 2022 15:45:32 +0000 From: Sean Anderson <sean.anderson@seco.com> To: Priyanka Jain <priyanka.jain@nxp.com>, Peng Fan <peng.fan@oss.nxp.com>, u-boot@lists.denx.de Cc: Ran Wang <ran.wang_1@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com>, Pramod Kumar <pramod.kumar_1@nxp.com>, Rajesh Bhagat <rajesh.bhagat@nxp.com>, Sean Anderson <sean.anderson@seco.com>, Tom Rini <trini@konsulko.com> Subject: [PATCH v2 1/3] arm: layerscape: Don't select FSL_IFC when booting from SD card Date: Mon, 17 Oct 2022 11:45:10 -0400 Message-Id: <20221017154512.1652002-2-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20221017154512.1652002-1-sean.anderson@seco.com> References: <20221017154512.1652002-1-sean.anderson@seco.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BLAPR03CA0066.namprd03.prod.outlook.com (2603:10b6:208:329::11) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|DB4PR03MB9484:EE_ X-MS-Office365-Filtering-Correlation-Id: 23022106-57ae-498d-4b2c-08dab0569fff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QUqd6erycZQNn7Y25o/IQpGAaR34qVI4sWzA7oXJ+daPQTytaARvsRVFgX6DxhGhV5tbXksNAB26lX9joqfATtGa9kO0lG3yV5CRumaxvOpUIlurRs95HJdyMsTCzRzvqRLZL5tCokV7Q3S463pAXdMgn9nLV7OsQJ0kDIU3eSshoRnF2wgGHdA0dMRxI+rEovP002oHcRf5kVQTsgR8ECE7SAIpoFYKh/hlyp5zvbS3M1nNb+0AsJTDspQ/jDjJo2jnLclfBVt63mc33eDxI6/VrbReuq4z22JQ4UxM3R0y3iDIVhipEpNPHEwFUh68+ioLXTdSlAnm05jBI1rQiVUgTcunxZdys/6vuVE7YaYUvD4uEih6Flven17O4m45xeaf5QoKs2dUME/LpJIcS0kHnRCeLw/M7diyfE8unlP7ZzQl9oK3sVCQv3uwtybi4U+7LSVmmPSD0ySetv/jAkKejEkBHIBHsLyQC5bddg3KFseouTwp1US+G3vSQFq12l6T1z9tyH4zF6APFqQ/XPRB1sfdsdj5hWkN2eujW5wK5iXyiDXmHHHI3xnsul/cLA+ioOcyEWDg/hIl6HwcAM+KpwxgrJGvzhJ5fmDP79q+yZdw0psE7gJsyb0+8Goja/n4v6keTcnHmN34txC7J9MIehtpZgzHqkgqU8Wq7hjbxaLDQ6qFjrj7LmM40sULaNuMuaQUuLyffBpMi296/n1iSE/kZ1ZATelgbocnlIqyMBb6jKEnjVHsiFHGl0J6mXpBIz+icfFFj18i9jDO2Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4972.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(366004)(376002)(39850400004)(346002)(396003)(451199015)(2906002)(2616005)(6486002)(478600001)(1076003)(186003)(41300700001)(6506007)(26005)(66556008)(316002)(4326008)(6666004)(66476007)(86362001)(38100700002)(44832011)(54906003)(38350700002)(66946007)(5660300002)(36756003)(6512007)(110136005)(52116002)(8676002)(8936002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eByw+hlvsqIEkyC+cc2F8IbFsl91OfxNPsxYjuUIWIe6dOCFdvlUc5YB5wNb9elIL+oM3nE1m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sdBoiUySu/c8jgXtn5viP9X5H5asen3Osxat57rdanb3hWVs37z4rBxOZK3b0o65QeRbZp0A/wQQe3UHLfZFeAji/YQFqy5smLDmkb73XF/jjQKksLiqbP9ZYdYwiTuSZ0Q/W5gdwQHhdEUKQF1t8csET4e0FwjBLL4OMJCfAHSTbGk/2Sd46tKXqkWeb1k2wagpFmWODz5dw9+b7ygzcRV+OpMOAo0h4pmpsY5yTH71AkYKoZCU6J9K+ekGZ+kPVoXSt1toeyVex2AaOPUngT/ZY00asKWL9zZN67xKIdat7qisDWBEBg9iDLrHVxFAnhAA0MA9kkovsAri5X2Xy7KWal8sC9+iimTwl/N78oD2rxgGs2/kVFko+aI42owtqk4XuoiC2Nnv0CPN3HPCH1Hrr7r8u3I8BCEL3Fg6NEKz/tRY4ulMehQjyQjCoLr6QQ== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23022106-57ae-498d-4b2c-08dab0569fff X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2022 15:45:32.6518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CXmd+IbE1fPHrxiblmvJEFra8Flr5s0FOWDvp2dTDfCETWiAU0OUBZtWo9zrEQj70CPIacBsbIHWSsL/g+gw5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR03MB9484 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
arm64: layerscape: Various small size reductions for SPL
|
expand
|
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index 80a1642447d..9f76c18feaa 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig @@ -62,7 +62,7 @@ config ARCH_LS1043A bool select ARMV8_SET_SMPEN select ARM_ERRATA_855873 if !TFABOOT - select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI) + select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT) select FSL_LAYERSCAPE select FSL_LSCH2 select GICV2 @@ -98,7 +98,7 @@ config ARCH_LS1043A config ARCH_LS1046A bool select ARMV8_SET_SMPEN - select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI) + select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT) select FSL_LAYERSCAPE select FSL_LSCH2 select GICV2
FSL_IFC should only be selected when booting from NAND flash (or when NAND_FSL_IFC is enabled). The existing logic does this correctly when QSPI is also enabled, but not when just booting from SD. Signed-off-by: Sean Anderson <sean.anderson@seco.com> --- Changes in v2: - Fix using || instead of && for ARCH_LS1043 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)