From patchwork Tue Jun 29 02:32:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 468275 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4505907jao; Mon, 28 Jun 2021 19:01:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzujQnkfHLV89FVb4nvaNVR4B6L+0MyjkpUzTtKxNz1B7d8tuq0vNOQJYtXRsWibc70eYX2 X-Received: by 2002:a17:907:387:: with SMTP id ss7mr27698103ejb.60.1624932100139; Mon, 28 Jun 2021 19:01:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624932100; cv=pass; d=google.com; s=arc-20160816; b=O47x7gl/8YD59iaI2I3sCjgQRo0ujN4luYM6B+VvQLxr1c7VoR8uK+34lcO8G+MeNa M0KiUBRjQ3+4ttFIzEoYW1MtZQnNZKIuOCiCIhHEOEe6P2NBzje/uOg4bpeiB4nb6/ex A+YZxEzaW6lGj5oq+k8ppQV2P2miNQ8Qeb56G1lNGEW0UAVrQI6iLfs3ZADUwedt6NjI 7HA3cdBqkaOfMdfmQo7n05hc+ZZnlfAVKAfJnP+1uko2N2mlzm4sDIAynY1cSRFZhU5h CUUO7WE+jJf4xZ7OQlyss67ZoyKpgPaBaoFC8DxZStUSWCA0pozraimubWovz2feY4of SI3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=VZameo6jnoxGjDJit05e9bVOVbWo3ENTHuGqNSxZqHc=; b=eWWiIJYyoA83CCBLS5wejZWqtlCIKmYSRooO2QCxDI4i+V1YoXKPSP+TMuJEYA9vFP Ow4jqr50xq9/UT3gacfFcY5KnhF6tnQX/8r++Vj2QN49cJm6bhfQBPc7wEJH/1iM+YVw YStEyGO3mBYoe2oF/RhfN6SHWi7nyBOFt/tDmKOZHcXhV/Mq03q77q3CIAm2JM/BN72t vI34qFSSWiK0dMO16tyqCF7oZI5Q6wY4blPtPgP45izRHMF//km43cODXh3gx34H7pxa 0RqgSQFn73t4hjgaZbSj1EnM/v9fYoItsusObD/MGQG84GsnqUGVg74s4f6XmMx25/UH 7vAA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ar7P4me2; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id f26si387081edy.22.2021.06.28.19.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 19:01:40 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ar7P4me2; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4EB8A82EE6; Tue, 29 Jun 2021 03:59:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="ar7P4me2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6EA8882ED4; Tue, 29 Jun 2021 03:59:43 +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=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::615]) (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 2EA0082EA6 for ; Tue, 29 Jun 2021 03:59:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JQBKkGOz+7qxkEtqVD21dnfU7xMYASda+NJPuVmswRXKsn8NmuRE+0pG6QRh2P4iXl8BGLal4aXrD7C0RA85hh7eil0mn05iub7LoFlF1WAPjbRlREBMFATAHj1seROYnDp6cYuSbOe6qE6uTz/NIrVOx+lhO31fUqJ/ShteY0rqP1EF+RGLS6Lou1GVG1PJUPCGQ990LrcRL6JiPLJvk2OQGg1jTTELjaruPnp0c8hVba+vDKB0HHA58mXPDtVTi8+9KoBJi/aY4gY6aeFbyBxI+byTLNlWKCQqXCeBBz3X7YwiEz244O3y3J177ASWPOSmC1uKIJb19YFIscMOow== 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-SenderADCheck; bh=VZameo6jnoxGjDJit05e9bVOVbWo3ENTHuGqNSxZqHc=; b=U0q7qvEz1Va2OBL7Vj4RK0uhyfepkz+encOf1G8kK7kszE+/nVkqVfCgZYcwfG3VCvbnOD2JS8jEHBUUkjiwe/NGRwZVBo4XKDiErmeROehC4ifJDrx8mCRZBVTgDL/t01zucxNxsCHSZCEGHsbCPGY5u6BzdUWxV9rP7CtM5iq5HAoXsIYvcOZqXfXTfln1Ca77N0QTLb2YNQIlGO1aEJaLfbfGjRhGybEfiVEakov74qiXN1YfEls189RaLnlkuC2Zg6yRG+1ikpP4doWv1uMjb1bbnaPlc4CAyI3qNFFJkdKY2fHb7kVp8iDtMiadaC71ZIWCqT2aogCVPzF47A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VZameo6jnoxGjDJit05e9bVOVbWo3ENTHuGqNSxZqHc=; b=ar7P4me2nBSuTOab5J7NthVPtofcMn+TS4aNyqcpodwxXJN/fGyC/zIOh39Q7+o7DjoqsfqwCELAdBAo0zB8ksdVaUoXea2C0KttDjwgA59xcTQpaVMLOwPQvyaAFFmDlGpZWqXeT+90aoKcASRHZJRCwCgzKjhG6hnZCuKoLxU= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4633.eurprd04.prod.outlook.com (2603:10a6:5:36::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Tue, 29 Jun 2021 01:59:38 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 01:59:38 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH V2 11/46] arm: imx: move container Kconfig under mach-imx Date: Tue, 29 Jun 2021 10:32:05 +0800 Message-Id: <20210629023240.22394-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210629023240.22394-1-peng.fan@oss.nxp.com> References: <20210629023240.22394-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19 via Frontend Transport; Tue, 29 Jun 2021 01:59:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ce468a0-ceb1-496a-c1cd-08d93aa18d5c X-MS-TrafficTypeDiagnostic: DB7PR04MB4633: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QHg0W2gfpg3smxiwWglGWicRLgqhpJ2aemP8E4/TcR22rHI7C2DAsyRp8MOm8p+J3+w95tfyLButYXrstySELvXZaGnOUVmz6Fy3l6Vd+z3lVnILNT6n3ACjOxCEMOGEcfxn4roNnpeBgHf2vxQT/OwDsMyzOD3u9HC7RhW+1U2kbF6iV9+j0/MxHYmd8yieOS6EUr1lnDxyNzEMUJKvbQpntQ5ttuJH9Znsjjk71d/V3nj7oR5aox0a7GS/IH8tZ+Qpl+EsQwQKxzhLZGe9rKZ3tde8PM6AJe2TMr3RvvJ3X3uhV8MUQ0/wv8tnWdtPdEZfHqkPScUCLasX8GGr+ZsC4ky7xUVZC3rgCR4ktM9+JvxP8j/sF/zFJRBN0VsRfepruwoEJ9etYTzO35omwe71V+Oj5783eVB5BJZxKJjUZWpz6glN2zVKcfKk/nyWmDjWLv5Cs3zu+BA6R6HE3aEvlxvWmMiV1sCuTR0gVmAE03r7Q786jpvbr0NWMnwtVplZNskRB1MMw/I8bYnqp/Be3ohfEx4Uphj3tRfEN+H6fE1P1zZ1Ee07e0pP2ikXUKPkwUQFxiXm2XjMMepBCmytrJe/gvCruVNn+a5h55I+NjBrCMABcAnc3t27qh81xUq3hpZhI3cAlMBia+pJJc/v+zg+Gxa4po/ETg3sVXZM7z1F0m8NvIOUajwGsiqX9smq9nRGYfTf73zdP3ruEQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39860400002)(136003)(366004)(396003)(16526019)(66946007)(38100700002)(38350700002)(8936002)(6666004)(4326008)(26005)(83380400001)(6506007)(1076003)(186003)(8676002)(2906002)(478600001)(6486002)(2616005)(956004)(5660300002)(52116002)(86362001)(66476007)(6512007)(316002)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bLhYMzD0vYQ5ANoJc8aXplgGTKHazfLErzP0YVlNuKXyZRdMFonaabOXgbbQjNQx6ZtNh1Sx/LYEcKRYm69Gb66frbWEJA27Frc+ctuxicplbZyhbFfgXCNPebb0hjPAcrBeWrlBIMrs+FnHqqfEZ9OrcjT4w5jz09IoJbBIZxPXryN6jKp9hk+R0x4nEG5Mub+z0KunM/HLRHyVNWoE99bPL58JhKcebcAKw40IAbKhmBW0C2gcUPRXNynmMTVEz1YFo8TE3+BYeURylUJpaVkR7b7uIav0Kah+vvExV3n2RKsBBBjNC+1KfCQsDhtKnk39ZRthqQTeHEn0XnUPy9pxOpQ8zJsUeQlKGRFkoWDBUwJGEQ9vtqy/jmj0KLnzBsuBkQto1Om+UFfe1FBjDXUoe391UzRzcaTqyVpwMN5W79B7OLuShkb+nJTeN3p+iQFjTyEJKp7vJJClZaQUUPlnTfJIy8sF8RaPx4fUwtJ8m7sX202PN1ENoaeW++TaUWJlTGM/jpO3LOl6DM/9vUIKe+gxlsp3pr5QzAMnNPOHMdg9THPCuaanhoH2C6zfNaklyurSxILcLqJZOxmtrNXKQB0GcrQu47eqfxa4aeJtK45EIgZe2d6tggRK4L4iz/uaxaWuO+oty88t2g6AKn5JQQaCCxsF0LOw2WnrMHsTR1qFNU8yhMu3/jpOFCxKQFb2TKzRSPIi6wWBW0ZwyGs4eaP9Gn0BWhXdnpK86l2c3001TdZ18HjoaSINW6339QNL2K96Izhfdqx50ez+cFpU6uKcnNg6f2mytpIjeBNx9S2C7b+WqWk5B4ghaVTFA2S7UI+x6J25tWLVBhmpYxXpa90GSJiKYQzUq1xygMnqKBKbSGFdG3AIZ98E3pjeWkOacskMSPwATLTNBHYffnPyFKwN1d/en19ZT3Xj6nu3NjnJGS3hsksxQI038m3FqBFsAhxwQmjkR9QO+G4tCr2FgQYy+XdkeBTtHkV8mt/aae/7dS0TxOI02+OoXM+8iyp8Fy7jLl/zj6na7ICCQhQIgUKoTXrmQsq8Rspvn50RMDwbdT2vXhPiZtdLsW5nzNc1ngoClGSxc1NiwDX4lVtLqk+3EedLcFXY1exHx29sJmIkkIQuS4d1rXS8eDqWAfZwari/40pTvzvE3WPiUtREh5JcNCge73QCZk8w9qVUaKwUxAgK9Xm68yxE1IPgfQ9nhEPeE0OOnngdJ31yuwt/QcIRvfREcd+MYjQCoICfSaHw68KRUUotGua/kFbhSXfziTde4tlJmu9MV3vNixOtIY8SNeEJ1lzN7KYWZzjkfFateFMiO3UZQwMtiQ4C X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ce468a0-ceb1-496a-c1cd-08d93aa18d5c X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 01:59:38.7416 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pHXRpeSLhKuzwQkeIqQX/LDTduZoVjLdcQD9UicC90RuYdnC3hlEPqovP/FqQ/S8MlWyzi2dNjnkGZ2rU2k5cA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4633 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Since i.MX8 and i.MX8ULP reuse common container, so move the Kconfig public to both. Signed-off-by: Peng Fan --- arch/arm/mach-imx/Kconfig | 13 +++++++++++++ arch/arm/mach-imx/imx8/Kconfig | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) -- 2.30.0 diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c089664375..653463ab46 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -172,3 +172,16 @@ config IMX_DCD_ADDR the ROM code to configure the device at early boot stage, is located. This information is shared with the user via mkimage -l just so the image can be signed. + +config SPL_LOAD_IMX_CONTAINER + bool "Enable SPL loading U-Boot as a i.MX Container image" + depends on SPL + help + This is to let SPL could load i.MX Container image + +config IMX_CONTAINER_CFG + string "i.MX Container config file" + depends on SPL + help + This is to specific the cfg file for generating container + image which will be loaded by SPL. diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig index 71221d8d06..b43739e5c6 100644 --- a/arch/arm/mach-imx/imx8/Kconfig +++ b/arch/arm/mach-imx/imx8/Kconfig @@ -31,19 +31,6 @@ config IMX8QXP config SYS_SOC default "imx8" -config SPL_LOAD_IMX_CONTAINER - bool "Enable SPL loading U-Boot as a i.MX Container image" - depends on SPL - help - This is to let SPL could load i.MX8 Container image - -config IMX_CONTAINER_CFG - string "i.MX Container config file" - depends on SPL - help - This is to specific the cfg file for generating container - image which will be loaded by SPL. - config BOOTAUX_RESERVED_MEM_BASE hex "i.MX auxiliary core dram memory base" default 0