From patchwork Wed Jul 21 14:16:52 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: 483290 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6210214jao; Wed, 21 Jul 2021 06:45:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6V09mEr0DJeHYWvUoDryTTjHytFRmi6MFXKWhYgJbW+PUh5BGBFCG5tBFVXVDAHLUWMeC X-Received: by 2002:a05:6402:30ba:: with SMTP id df26mr48252093edb.310.1626875135851; Wed, 21 Jul 2021 06:45:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875135; cv=pass; d=google.com; s=arc-20160816; b=hLCK0EzQJicMQ0jwQZUtSqxkbWIVqwJvKoRP1cqD/8aj6XWXrqgVm/aBAN2FdRJBrq yAJVMgEcMf8skXeOxYpd2udprZV0DWPX9DmVHA9pmuGKA6IUqRWq/mH2C3NVnp1o5QjP rFZmBRkZYJvYUtZk8ARugYvp5jCY9q9TB5CkZphl1oxlDp6v7ehc9pb/V3ZE7Uerwch9 6myOg9gU+8PZp01z74aBPqRM7DLlwHyPDjhdhK/LAfqQYrc3s8ozLn2ddq4JiXkmrBds idZjEJATyqN11e1yfXdDhUn1gIu9Vt8KRYHhfw4QuoZ6ypmKrFV6xzWsK7PtIEVKNUVA Gd8g== 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=fRYWZAcdyxPL4PCbvvGZNCoZNrgy55T+j/yEoKhy3zFa/sm7OoFA3LcC4JVOJbECHa ITeBEHg2PBNImDcdEyWJCH9dKw02gvFUvdeXKUoayeQlrxrLH9cQd2z/D33zt69P0FRp 9yhPKE4hurrv0xR8Y1FTidLxquX5y0/9Yl+ctCUO5E+ccFYvILuHjpTjkDl4E9IYjkEj nNmL3uH2QjZniYiNm/o5z+tUTn92RTqyNEuSDOCgo45XE98pr5cYgQ5IIZ4JPNFaKuXQ xQGPqGh4WbSZk2tX55VpgffZ3jwIgE+nuADnhCvch3121WirDJdt8xzGNCJAiYCh2556 pDDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YL8xPtaD; 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 dd21si7035394edb.514.2021.07.21.06.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:45:35 -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=YL8xPtaD; 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 C179A82C90; Wed, 21 Jul 2021 15:44:25 +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="YL8xPtaD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 68CA182C50; Wed, 21 Jul 2021 15:43:53 +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 EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0626.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::626]) (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 E08DE829B9 for ; Wed, 21 Jul 2021 15:43:45 +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=JslY1D8ezFCATx0VN2rwvUdTVpn2lzUA7SmkVBEy9thzuaqzciz+eTqfMksIAkhiY9Fcl5qMvpVKYZa4dk3yVceHT4V8BoQwGDU07Ch9EToldVWDLSfsvL7NIXhuQqqTP9uso9MMABhRE4D0KFrMX6tH6HmOOCWEcnbfTN201C9TsGtkvSbui1+0rZ2AruKpTONERm92myQncQ5O3uU28ye23er1BJTCYr1+RnfmP2igc9M4bNTrIhZW8KwDZJFbomgCjri5U6YwTuBjB24rQPIzvmb3D6KAiTjSD+7cxA97IEjWC+tqBS7W9GI1eJDxaZObsczVQRZhIAhd4EBT9g== 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=hr6cGHbUYonoiWXfOlzuzQCJyHP7MlMuSb0YGMop1Amsd/1IzJMFKVqwewXGuCf5ysI3hrybSxS68BObx1mK6+trR4zKabJQeag4WAu7tdBRbBuId2gq7Wpt06FTD5w4xfBIqnQwLJipsoFko5n+hfW/IVo08cxKhUayuGHYY7LiJb0385X2sAfmQQjqrU630IY/agw73yXBh2V9omw1YQ+8kHUsPszU8S8Z4utwtTLH+m+h4aMaRvZWyurBo7ADSfHM9mAjwVbYKBtFfIp9MUL8w7S43h1Y3ADhMSoY+Qd0yz2JhrkeMqj3Re+2gLDaj34hiIGQozFib9Wxao+LSw== 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=YL8xPtaDYmiNYrp4TeUpLI55YC4LHIu8PKqzjeB4O94Y9wtqkqBPuH5NDBVdt4HjwENy4k9oWe+hNxWUEwOudDJWUApllqUmjAKXf2iIAAF3DzCSdQOS+QuDnmOkku9+0Mka5DegfmLrE3ynGLroQS387NHMHptBRvuyv7mVRkQ= 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 DB8PR04MB5802.eurprd04.prod.outlook.com (2603:10a6:10:a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Wed, 21 Jul 2021 13:43:44 +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.4331.034; Wed, 21 Jul 2021 13:43:44 +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 V4 11/44] arm: imx: move container Kconfig under mach-imx Date: Wed, 21 Jul 2021 22:16:52 +0800 Message-Id: <20210721141725.23346-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210721141725.23346-1-peng.fan@oss.nxp.com> References: <20210721141725.23346-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) 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 SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Wed, 21 Jul 2021 13:43:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 09ef779d-7fd8-49ca-e938-08d94c4d8ebe X-MS-TrafficTypeDiagnostic: DB8PR04MB5802: 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-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rIqGeU0QviX3umrPDFZHh65s5N2jUCEo2Q9pMmpqA2pE6SZNj/zPZT//uAQIUQDkcD1SmL/sJPsgJ4Y9gCRwxJbCbZo+6MUo+Pa/6913Bo+cg2bNH9VJDvlVTYMt9rZgxpBKwLdx05Rc978ET/mRgKJhzMYcRi/mBOK3W1rgB+SzmSdvLgQAQxKUjjjiA5i/ZZ6HpGFmX1ZmenYb5/P7Lgi5uh1WUmRGndPJQdFoR9qvqvlicFwVhrhgYo14sf8o0I1heQla85FzNCmPg9ygMFRgd4u7BZ4HUDwirQnXcsopvzwOZZeAN81YvLVOzCj/rAPJocL4H1usFAQFgVynCt1ZfOpzMHW+AlGXdCf3CylK/UM3/8fd9oSdlXBMCHzlp0n+IHvacTfMNh/2nYLyFqbqG9D+1HBKKLUGg9R/Fhfao1gq78NmzaMb//38DlvPRvencglCRwlKDjXEbEyp2ZO6cBCbM5bxEc6cD7No+djQ51s6tuTg9Gk3JFALoerVcBgJ+WV5h4Yliw84iMu9jfVbA9cXF0H73l6Feqd0rWu4muzD0hBZBz+tSoQGxQROT5TPQ28jQPTb2lbCSsKAsZVVI9hA6tEdzKcBQVHa/ORD6NApk2NU5m2C417V955KvKvMtE6DLlPvNxSM7CjSHRrhlK7FSxVKL3QeOalV63SQbzCua7QvbZIL5xtDPWbJkiSvHTJOzaLbmvFvMnisAw== 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)(366004)(376002)(39860400002)(396003)(346002)(136003)(6666004)(8936002)(6512007)(4326008)(5660300002)(8676002)(2906002)(1076003)(38350700002)(38100700002)(956004)(66556008)(66476007)(66946007)(316002)(86362001)(6486002)(26005)(83380400001)(52116002)(2616005)(186003)(6506007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hL82DTZOORoFxYQhFE9fv2Qmdw4Zn2V+q5g2d2w4vmeHvydI9Ov3aicJzwy8KG2+jqbryle4ULmNbtJXr6GtZhXYiRw8vfPERRxLCkqubrQZR+YpuzIqBX4B/6BxflgIbMQWSbPAHlFU6zYAG33f4r8sbBtKzmVXDCsG2z6+T0gWv7xLTL55g3xLXKe0A6um1jt0sK29Gkpv0Lb9JEfPtmp+IRZeaLi/6VO4jwj6JZlorFteDzwcImFTxi8lqOLzWmkkIoEUQ3nc+mgpOAo4yfMTYoOxecs7zFToghW10+8Phs3bphDDHRXBNGTrl2dqeU+bpj6vO3alUq2IXHZoBq6ef5r+63GE8iZRDbrDVWscoqwr2FEbnlj5QLG82C1SL1/tb9z4hPfNW/61STMdzV938RgFFvVWu7CvqYgEDMF/WmkgFD78cIFpo+KU5tEzeTi9FLG1/WNz6yuvp7pTfe4zuIoa5DF9p8Amr5u3LNNr2UxHipp2FeBc4T7M26xH6MCdFBYZwPnKU0vDch+U1MIW2/npWmYVstYIyDVIpF28WFThwxIFjWSGUDbMn5weUZEy7Z4QOcIfLzbNrhPEJOg9xSGsHrfoVIjLxjoC3tE81v3h6RTRMg6P5d0Vpch7s6TdLNN4lJvfk+jHzQV0Y5sSJd2AsXzuya89kHw7Ky/W9hYA0ys8ynWE0n/cb5//rkQoqwz5xaqp+Fqr57zrOU8ZbBjiF+r4cbjdcza6fyrixEZFZKCX1KJCaORDO6z9Tu0voWKqxuDqwildbX65s6FPbvlg7Otq1R1jdJNTaXSz88MUtV5dznkLhkpkFHZXG1kfqTWukXqm8f6Z76/njQCbau9uHG5boWskH5vSwAi4982twUiU2KQToS9bHb5bsIhHC6wX6eBodAI9zU1Z7x6VU95l5z3G4JzH+dZ+1DsQMWo4tGjbjsnZUO9V9I+M50U0s551RUovjM9KNQmp+Y5G5ad/X5wE1+1w4f+GLGqRZqWC8JwmCaAEyPDp+QUr5NSj0JkcSOQMKAHlwG/7ZuueMcc47UZwBP9xvk6NKeSVSXzdEPZFm+snLyLfmNs9+T0+13dMAUd0/YBp/8qAuJPbtQL8Za+YS+up+7t+jzESFZ8L2Do2g7Pa0TAlmIokfWgKaEu2UXovokXLcyBq4w8rpgy4tZaS84geGAfBRqDvtUZMWOjTZICeY/o4+XWPfv2hX/WcWE+xhd5E6mQ79Inwg4GD3p+QV5u/HshWJO/rMTrzmsJJNAx7aMDy10u9t+In3o1rBUbnXPpRDg8C5D+comlt3vtS08jooa+fFTjcZzoIXGVTrefUoWrg8o7W X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09ef779d-7fd8-49ca-e938-08d94c4d8ebe X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 13:43:44.2983 (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: gNBU7xr90QGd8hxHXHiRC62fKo5eZlSao/sbV3FqXKZq0KR5n6GuP70gmmBkJuEN7critKBy5EyRV3cKsBiLbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5802 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