From patchwork Wed Jul 21 14:16:42 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: 483283 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6208636jao; Wed, 21 Jul 2021 06:43:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw74+xrWiQ8TwlWlfffgY0Z1k+Cph3wkEKrlUeNB5R2r8w9WZ3FhIzClKKHmD0ys6c8MgKC X-Received: by 2002:aa7:cb56:: with SMTP id w22mr10052809edt.234.1626875014460; Wed, 21 Jul 2021 06:43:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875014; cv=pass; d=google.com; s=arc-20160816; b=AxNsmY6+ns5vmcd0KOEsguZslnBE0WnzRj4qxpilSfVf7ys2I++Sq1wq6rDlBtA3eu APlA7vmu8dUna+AgaRUPaBEO9KVm6plKXmot7hhC/Kxm/D5kLkowMdD2t+RqD4SKwzEP TvM523aWj5pcXV+wEpYTefYRP+lOK0QwirZE7dwLdNKLndv4Bb+wt8luWZ9yCxHsjdAx cvqiniJoDHaksWMwXKq5jodRMoyDhj6DDhehyHfGcDPo8wiBa27igBgfpwrktrywU6m4 RejL14Ejw1Rqj+scuhCvtsaqj4ffjWpaa/C5PbWeXUJReAXULMYTClDpcErxu8/jbrdc ZwmA== 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=SQVVXw0P5PaQ+Ja1JzdHNN+hJKyRbRmyldMjOGY51bM=; b=W3DLO4csGX7ERa0ltQcYpsrM/XxNs5jKOLzMD+YEgOFLXDNqQav9htTfG+c70sbhoZ 0BoxD1bVWSXsMTP2fWsWr/vZJbGmnPXoAqPYWY/TZyS8WX7d+DppssUJyT39tIadlgsj V5JvyAS3VcrOSsoHOPjEhll6zzwFmaoCC4Y99BvZEm8/MYYXgBTo1XJtw6DYxM5d71xm PhZ8l+CXqm/C36K/7coDM+ArBvssBF1GmbI8geonIrPt4Ion94p+EDau91HZDuH4ka49 8OSooGs1Kswov9OPlpkOxM7zoiayIvD8/jguvbxRsElEHwmTuXBGnOZsOcXqsRQLS0IW Udcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=BrckwZUD; 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 j18si26949420edq.104.2021.07.21.06.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:43:34 -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=BrckwZUD; 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 CC34B82BE5; Wed, 21 Jul 2021 15:43:29 +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="BrckwZUD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4BBCE829EC; Wed, 21 Jul 2021 15:43:24 +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-ve1eur02on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::620]) (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 324FF81E8F for ; Wed, 21 Jul 2021 15:43:21 +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=iX0GbqZJsX82FzF7S6rFdeuCZSyhchLDp+yA3OlVQzHR2ELUmQjwTpBJUZp4Qqsx8SlcE4RXC0eXn9E37Ormjz7m4NRRlJ7Wy0uUUMgz5Q+b0ftPJRWaNYVdPUpSQQdvX+Bd+wg1lHKf9vvjms1+8bwzgRc6z5y8qI8ukJUm8aL+Yug04PugP+dGL1J67UPCO6WsBofD0wiZhLyL2kZkGzDXtTVOdhlXUGzBD9dPPvficZDWSpSPsyhPPYXOk1KsyG3zKkFok9rfiusTRzqnqgrOtGxK9RPIogWI3viviwbeuTAiZFyMkxgc1nj3VtrZp4JL0rLGr5qzHBsJuqtVoQ== 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=SQVVXw0P5PaQ+Ja1JzdHNN+hJKyRbRmyldMjOGY51bM=; b=UWe5ZeGFSDRmTjtb+mBzH6dIkRVDxQUxMPLKjAnALUSyFGhj8IXsbFxlIOqInBqgWNhMts34doAMMM6S526QVCgItJGYCSKEA75T8e7K1YREuzumy4cluMoh6pfsiDu7Ylpqu6AlYdFlikvrRCFgZbEegwGiTA4+jL9pHbL4Vnz7vOi+u3yYJLhoBaqdXFHStczxzKJ7dBKl5YXsaF103gialuc+4X05tyb0AjiLSr/dW2kJhIoDq4EMlVcAZdA+SM7VwGBRSDiXsl9ZBeRI7SJRnaukxI5y8Qqgtp2E9IwVtPBvEWNphytN/sKz/AUM4v6Ttjj7otN2iyABZO9Sbw== 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=SQVVXw0P5PaQ+Ja1JzdHNN+hJKyRbRmyldMjOGY51bM=; b=BrckwZUD1uJs4mVBy8A1t8zu1P/x2URlic6RQCI8D9e9jxmP2MMQsCZarRNGgAS3h3fBdKPu5DMITJ3CQVnTHMAdgXyerH0Qd+a7REzz2w3eRuzvMXRB1G3HAUk8qbX6sY35Cd+9Nfl6uE6e1sXfHUsUsqq+xRLRfAi0VOYZYdk= 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:18 +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:18 +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 01/44] arm: imx: add i.MX8ULP basic Kconfig option Date: Wed, 21 Jul 2021 22:16:42 +0800 Message-Id: <20210721141725.23346-2-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:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9a87e89-6300-4086-8bf1-08d94c4d7f79 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:183; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1kJ//HdSUX/6yuf7ncRpLntwDOd/4irH3EM1pTScr6xEaDFFFSatbMNivBWxpEkXQTDw1a8Mq+j7EDGLKFY56muzyNnajJmsFOBJbk6yvSeFj8g4f7EHxWCiddNu0mx+YNhsqo8kYqF64Da8ztBBwDNdMrW8Gdwo9SEt061/vwINyX/PtENjUB24YvIj+h9ENVGlzF3Pcx/FV0u++XPdQOAItTotVIH0vX45lzvO4pDbIqMI2h3B80WBTsZw////ezWkeb2pDkJy5G3cOS0A+1YIbJcpqs1maRc2IGoTkWc5P9jxwYK4kg/6DMI4YgaYk3+0CM/UVpj0Z58Wv0M8Q9I02Wt01B1Qp8N0Vx0wfxT+DZZbkJqWQ4HoJ85JyxuG3YgWXm0LZNkXAXZc5AW0pk4BJnEP+/Us4DevehIGY3MufxXj5J+Dl1ZEm8FdQCY3QWNcySrmrAgaZ2pxH32ahPqWMq1ueE1LfHA5jvQjaYksVBNF4LgJJ6OHrCteXT1oXHI8ZztJijZ3vIc034bKPiQegdCi5NHix0zXqE/qvj7qtwHFZ8XH7s0INmuvO1eC9yp0UdyuYelxHVxfJmomLMFDKDmWpdWwCBUaD4nY/f0yoyJNz4rN2tlBLRjH/5B4f7UEzDLP8NTwTshEikV5J9rb0X4ivGugbzXbXgWcD/2wF8HVpC72CIMh9kxPvBd/mfcwl64sZAsJyiFtiWdvbg== 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)(52116002)(2616005)(186003)(6506007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jTOONT3ybTr2oe2MbwkV4gBgATDrRLMv0sHWTBzaCfXRkhp/fy1wnZyAa1T6ojVp6t1NfxPqAfUhU7/9X0cgys1EsOqkPieIVnPZaIGGnXt+nhgFAmZVy74sNsWmCzZKuMGL+EFDKA7xTdwthpqrnrHfyQKDZ1t5PFeS55OmGgEvMRlAjh4bNHbbi+EEfmtXLcec3pgOIIEpCeKRp5XNfBxojVh6uB/wj9wqNlfqtTyf28bOFo1mq2Z5yp/J5NAM+X3Tt2vDpZw9UexxWekYJaOmI048rSKlTXqwv76/Ljlir7SPP9LD5PyUeY+GKdn5b8z6bNGqN+CYPgGGhdr8IxIOMUHpEhnOi74mDfCdVGdsLH80d91fZ4aVI4MnrutLuXsFo1pyS9z7ygfHeuAktXY5lCB5IgIxuKJv1KNQaKTfM/Hpka9zqIdiV6T/Y76x1jC2p2WYEV0HEVa/TQBxcFQB6IaOTT0flMlXkri0H7f/6TeDkSHA9JTWYcG98I3EdG1ossHA/Pw4l+9qLEAFMBEtHLM3Eb6ScXPvLqspkpsY/ta0BgPGForvTQaWchArSBOzSr0D9FnTgeHUb1uCStJpnRePB/j7zPI7VejmdBET9i3VKnUUrLXqQ2ZaYlWjOh3do+7ZTZv1Eo2GT90zhDNLnjxTPL878IggxV9mTEmoKr+BGz2WiA/hk700Wrw3FroyqqbyYcZebeUqYaRt35Jj0rO5ZPyO/SuAjGvREh/HH9d0sZfrYThKuDs0WfyPvCqAC6NHWqBpWET8/EWB76xd5xx/D+PnWt7JLRpKFmYrFYKf3jNVsziV6FgssMVsDtfbNd4C428dMBtuXtebeSuckBqJfRku/ymlLmPoiKZxMgPjDSwmTZ+8f2o/MoD1V2lSo4lTXunIOszCI84si3MflbbnYOijD1sFZlR5C9RuOTz/imdpFe7yEwYylUSDo25Mb1EZ94Rb3YOYUzE3NorVEFzZgWZZbjpIywSxpwgIH8sH1FxhWEQj2ARkfgF2QqcML0dvkj0pHnPKmX9VM7cYwHfp/dYXpqdpdKpyRIlOly9fmUAGzuT7Cw+1yumzYVqBTPHXmVm9mPE0gHsavFFeb2z1FImiYJKwLa2A4PMZkcGaBCu6LqVkQX8MVKzAWqyUR+P52Pp+wQ7T5E6Ktw994rP8xibTVU07f/gpEP8NGe7BsdNIrUE1tr1Z3tkNsnYahLntHw8CNHZ0CRWGE+llyGQ/EkqMqu281w8UyMqYJ1hJ5A6wAEhJw9T2tq3HdkICuSncmkVSQQPM+6CFb3y0Py9V4SGSk+IsvQOGBv6LZURRjPwdxxS3WxFJdQls X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9a87e89-6300-4086-8bf1-08d94c4d7f79 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:18.7079 (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: wmJI1kcNYvuSqBHvBpVyE+4xgwDLR5S5qFPk3Tq81I/RPDQlwlldKo7MVmxb09ehuawRIbNTm/YU4aJuF6v40A== 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 Add i.MX8ULP related basic Kconfig option, which will be used later. Signed-off-by: Peng Fan --- arch/arm/Kconfig | 11 +++++++++++ arch/arm/mach-imx/imx8ulp/Kconfig | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm/mach-imx/imx8ulp/Kconfig -- 2.30.0 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7f493a8e8f..57f5a1eff7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -800,6 +800,15 @@ config ARCH_IMX8M select SUPPORT_SPL imply CMD_DM +config ARCH_IMX8ULP + bool "NXP i.MX8ULP platform" + select ARM64 + select DM + select OF_CONTROL + select SUPPORT_SPL + select GPIO_EXTRA_HEADER + imply CMD_DM + config ARCH_IMXRT bool "NXP i.MXRT platform" select CPU_V7M @@ -1979,6 +1988,8 @@ source "arch/arm/mach-imx/imx8/Kconfig" source "arch/arm/mach-imx/imx8m/Kconfig" +source "arch/arm/mach-imx/imx8ulp/Kconfig" + source "arch/arm/mach-imx/imxrt/Kconfig" source "arch/arm/mach-imx/mxs/Kconfig" diff --git a/arch/arm/mach-imx/imx8ulp/Kconfig b/arch/arm/mach-imx/imx8ulp/Kconfig new file mode 100644 index 0000000000..167dbb3fb1 --- /dev/null +++ b/arch/arm/mach-imx/imx8ulp/Kconfig @@ -0,0 +1,16 @@ +if ARCH_IMX8ULP + +config IMX8ULP + bool + select ARMV8_SPL_EXCEPTION_VECTORS + +config SYS_SOC + default "imx8ulp" + +choice + prompt "i.MX8ULP board select" + optional + +endchoice + +endif