From patchwork Mon Apr 12 12:12:40 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: 419542 Delivered-To: patch@linaro.org Received: by 2002:a02:c4d2:0:0:0:0:0 with SMTP id h18csp1660059jaj; Mon, 12 Apr 2021 04:44:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnvuXfup/VbAAt1HnAKI6LmCWKoSaNXwF3s4SdLX3T7A2G7wr/9dlE+9SQVSfSLF5+Coid X-Received: by 2002:a05:6402:3079:: with SMTP id bs25mr18065199edb.369.1618227852826; Mon, 12 Apr 2021 04:44:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618227852; cv=pass; d=google.com; s=arc-20160816; b=ukjLpIVlLIQMgzt/EFW7DjsvwB1AH8QGYhGy0XmKUyryx1HafrXk+vOKlU0XkCwlgl WIgJzUPvlEqNZzE2bt+1SlHAI0luQ5PZUEyRE59E6Sz+rIimWEqH0yFY2B/tNreffx8W GXUaLS2tv/VSPhmWP9YizWGrgVYXJGuVHBXJiMZr0XWoJtpErowfWw5e5sb03QlCkbMD FTWCt/7Zt+TTgfOM4I5e4p10y9hzWjGJJJH0m42x61trDQgtTnmFdcm9GSXRnUBVUfgl +XmNmq39AAszh4P4PnsAELLmMUfG0Du2R64g7k5wjAELcdNt0cZj7v9Itc7YKZ0OyPje ZMXw== 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=AbCdaQKiRxoYFbQvL0geRTMdiB73U4KDQWlNmwb2ipM=; b=EQV1PYf6ZQNmhOrySPdKqR2PnlwB6Xge/RHcRUF3mn7VpEBf5Vr5yvH7CyEY2kdcv5 ao8TDeZKYFf3AfVz+Dc8dUssCXqumoxOQstqAG7iuK0/yBy39nYP9cjSonpcTLTvw4oB 3I59SzTe95nRXn2FA9sB6CnjiFOY5lBVu/LwcUutteMgdY27RtnySxZKIerrTJYQFZad VdTpcsIkEaaWt539d67yoBS2C0FDUTqhdMbIo/ZoPZqQ/L0i3nR8DgkLhyccAQq/7brL T5oQcZbE0iXlw8BrT96ehMUyHBMHf5HnpDKAEyK87KQv8BlMEm1eZheo7fFGzwAFUtkQ aPyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AI4Rjn2h; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id ds7si8281138ejc.534.2021.04.12.04.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 04:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AI4Rjn2h; 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 85.214.62.61 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 A49D882022; Mon, 12 Apr 2021 13:43:46 +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="AI4Rjn2h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2233781FB2; Mon, 12 Apr 2021 13:42:25 +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=1.0 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 EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0602.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::602]) (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 CB32E81FB2 for ; Mon, 12 Apr 2021 13:41:55 +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=EfEhZJVXBxt2D96R7lLw8WDjHd42JrP5PCD37uofQZfIOgRfbiXxPSUsUl8YeLD84DHF34YTNd3SaCtbwwAlWrlOovttIyIbBsxQPMTeQDo50vTvGCGsopl1oYpUlg1Q6boPy1WZxUnhWikCMaE5GznTxVafs3j9vaQ8pYKgKzF4F37Ykn96P9V6u4/S9Wd6Zte1NCplP6q/mhxpsbB3bU0yuOv7bQNrcLQfV536KHi3tEkotVIzaEmcAYON6gydwvlhyVfJDRBqHStdUj/btY5y31zA6nDvlSweRfW7bAlw3+xX7n0QXvgTZ3RffpLmbRlpp6lFWiVE+pVU1lju4Q== 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=AbCdaQKiRxoYFbQvL0geRTMdiB73U4KDQWlNmwb2ipM=; b=PXjUt1QOj2gF6UYwffVoPi/N7l9w8J6IhbA6I/X+AC4GrOtQSJ8yIcAi3p6F2qAtKULYjWE96kXY/vk05TPk+2Am/VFIkJirvC9FzexKuQdjJ88RwOfbqV+QpQpuiUzxN5OZRHRvT06DJIWhRCVU8BJoE0jet8xyfZWdrLpCl3+/8dXleEa1qqZNZJjqQ84vcLfLNDJbkMK7hhKph1d1KQnC+lhVZSEBWT17o57WxgGClkUMgONCQNrJ6uwaOxmW4EDZsEeC2nUwLGQUBgbtxstfay2O7DXihmPBrejZH5v1EFM9/L5ZnGBOSqn75eTz28Hf8ERrOj2pbP5oImvh2w== 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=AbCdaQKiRxoYFbQvL0geRTMdiB73U4KDQWlNmwb2ipM=; b=AI4Rjn2h/idVJkXTw8TLHRM/iK2J9ZG48pmWbpx2v9pfOqHrF2C8fdCWDOvEsgRec/1UCcL/TBIcYmbmfRaOC4j3SN42VJ0JuPg9g9KE5jJQyXslG1r9LoCXpIdZ0Q8O2oo72OT4n2upPBZ9pvpPQKsBeu69a5HgQLMxYTlv5/k= 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 DB7PR04MB4233.eurprd04.prod.outlook.com (2603:10a6:5:25::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Mon, 12 Apr 2021 11:41:54 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Mon, 12 Apr 2021 11:41:54 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan Subject: [PATCH 11/37] arm: imx: move container Kconfig under mach-imx Date: Mon, 12 Apr 2021 20:12:40 +0800 Message-Id: <20210412121306.11484-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210412121306.11484-1-peng.fan@oss.nxp.com> References: <20210412121306.11484-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) 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 HK2PR0401CA0009.apcprd04.prod.outlook.com (2603:1096:202:2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16 via Frontend Transport; Mon, 12 Apr 2021 11:41:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c2e9628-c612-4202-7be8-08d8fda7f842 X-MS-TrafficTypeDiagnostic: DB7PR04MB4233: 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: hMrSR+jFP3Zz7jT1/qZu8YwtudoGtsKLRK5SBv5/4CFDE1fibJkhhI61pPcXCBH6WIfpDbrhNMKN10j+OJriYMAdDKfI1C+ajItuIo32bOo6V/E4NDvdv3vvfAkS8TAD4dDQSEU7qG4tmEzgHFJtFtzXQcrRPYu7dLuW9dfnW+M8zj1o4y9JqQosc3lCW91OhXNZyl3ABdwxh17NWtiUholUfYDNIQcv21nf/TF8Da6Q7GsRKC+g8/qNKaa9sVHBXAvWf5XnW7HaePcN81hm+i1nSmmt9tJdVw0NmlvhHn3xms7Y+GR0lFMWMRHwWwHOG1ZeZYXtyQcftpTUb2nJcreNO9IFmcKERbpHcB5LYqTJem6TXNSb2Pfsp8HzkGh+I+JuU2/WYVeEvXcSOfueeWFKNadMT1JkAiKacAnDMrVZRwXbFtuoyIgcnrZD1lW6OdWKTIvivHs4GFASnLFQ2t7AdgyHiy6mO+jyTB+lXMrb0m7wBywRz160Ueznv3PReYuwKFJTdfrmBOhMxv1jLzxYRT8kITZqshY5YRRKbKQA8zYzfMAKjyNCFnFOmGHJAKVDAbYySyRVQV3V6pv0+LlrBU8mzjm64h7G3C8hcDN6WFenceZvbkbeB7rkZHck3+0JLhooeIOH/XjQDprTKd9sjNoBIpGZ+7xCTGAJUWE= 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)(376002)(396003)(39860400002)(136003)(346002)(366004)(52116002)(83380400001)(956004)(86362001)(2616005)(6506007)(66476007)(8676002)(66556008)(1076003)(2906002)(4326008)(16526019)(316002)(26005)(5660300002)(6512007)(186003)(8936002)(38350700002)(38100700002)(478600001)(6666004)(6486002)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 6PmhN6cpEbyhp5C6c0ji7Pz1HQpJLumP8VOQCPdMATroyhmOCEzogfTsiYJYxvwzGu4ryG9624o0iWiggH0pitqnu+pJgPKbnGXXJssXzAOBc25T//kafUvR/PiFEUp2ex4jtboDBA5rpHs854bj/9syOjQbDOqGNWCFMVZJfSVMPhuvkl/J6K/BTPCxt1gPOejivCpLwMfPYYdIaIw1jidXZI4xE9x/gIKo/RlpyI1MKsQ7ge0phaMhsCCnFQSdq3xtvT9+1rpO8pgkvMeEMm2gp0OPDJGr77vbmBdzWjjR8sDNP93ucrh04o8fOYBPqyuPnjZJada2rDff89ugw0j5lfD+l/4qhGlBquPVOHom/g1rokmCWpuEubmDms2Rw067BvIbOnxkILMcwZ1RQPeQ3A0oLTHMlCPfaQAJgZgbz4BoRlSMuBvZX2Uut4h1wJ9Z7C8BWHOOJWod0/3yDHo98vya8pbjM4NXCTrN2EAhfIQxBlFV1vaSfZ6hfv7aAN8tprsUwGfydrlQq3JdkkoFKh8fCuvRqCt42yTh6AnWn/+rgg1/XZHgM7WaAB0BvQLX1KMK1wbccydu85465LPpgwvCvC4SO8HMVzAXJDZ2+IEqx/TmzciVk6/SHtWRNu+wKyGWwZHWFtHtFL4bRbBbvepIOC9PLROBXE2M9cmAwwLnGU8DDDpAXMj0CnLXF+a7zxiU1bwOgy3YiHp1XOqhbhoxIccJcKHcAjy/0kEBbq6Fuioub61AA82YkQKJaI8GRPEZxNWIM9Bc8CkbNqT1FPg9PwxiNQqA+kletNMkH4gKQD7nHLdtauW7d58vPfqq+KFNM87xcTUEzBD7Y9Twq1anooyVvJNJ/ga5aWcMRthCjIQ6oEovVOaJDCfE5cyz4tgsYgRSLdDDS3HdqyRzspvpavOxAPF2uAPeQlitSzlRHKSH8KzD05WMbfISGOU/n7CfjGrbocsGlPjcXvjbUX49cxKeQP2crS5ETiawS1QGU1xf5VD4VW/UpQpKgJZzD7A0Xh9TV+ptGXpoesh1L754rbyrHmlRaYKzCSTb4TwfGchJfQG8Vmj/WLVPwTWIeTEYVIgZaAk6IMymy1DRelrB7pmtGbiOl6h+UZS5+14mDcBsFqjP6RgkxbKzoKBtE3lpJ9j//TkNiDGyT+gCefpQpt0yc34qUO7VsjilKCA3L7mVEZW6WNA9hm6W0JfJ+ii5PtCpbQy/QVjHu/NKW0LlZAdJZ6uyP0Zw57/0tSaW11XOAEoMWJcSior5/a6XjJpX2ygBxGwLsSapMj95pFQsJ2mXVKBkK8sZ26WVPFqZHjCyP10cW28iEq1iS9u3ZDoe9RSAZoreUsNVEA== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c2e9628-c612-4202-7be8-08d8fda7f842 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2021 11:41:54.0766 (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: DZxfJYX4bchc3cFKv8QO0zxwaX2JbG+aCB3g+PMPekcnUIk5Dc5lVjy0sQb1Xz+vfZTkE4hNEGgg/FTic6XyBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4233 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.102.4 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 4e76612d05..4ad9ca8191 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