Message ID | 20210319075718.14181-12-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1141132jai; Fri, 19 Mar 2021 00:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx20dwQWehKizgocI2qrjISabosP2puweGH6Wt1MycnJ4xUrT6MN2GALS7veeK9HgyXecmW X-Received: by 2002:a17:906:2786:: with SMTP id j6mr2757296ejc.157.1616138935656; Fri, 19 Mar 2021 00:28:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616138935; cv=pass; d=google.com; s=arc-20160816; b=v/QlO9fPXbTFz70KkfkFGGNVU1AulxJ/gfgg0VSvo8XH2OoHjB6Qu2QTirmT8sEfFT e7EdtFzBHHV243r+oZY2MsdLMnBYUZsd9PhrqgX25u0X7FzTzMfLUcDtwdV5jjJDBYOJ BCPfztpwAsx7rr4+2yQ1cc96rZeDkz1/lg8AUzLxyW37XeeUw+GM9GI4FOtyqMLT8fuW jbgv1PKjdWkO1hK/j3kShMtaJXDVyFLEWeh9WLTLDVvspA92bwpK0L6SwEyuW0ZpxWeK LD6PIZFNQH0B9TDg76Mxu52Yea3BCBq4xTMkYeou3USsfK31UEqWTF7gZFTmNiEVvnzc l8KA== 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=rTgASruegFawuPpYxYOVcZxDvkA/aGXwrTG3pOmFKu0=; b=uxulJkDBLECs4ElSEh8nQa/4o3gI+7HdFOO5z6ji5fFdScclEN6VguwCkVRCKzO1P2 uni3x3JcwzrFXbc0zrfB3ejVbY/aV4+KVSHfTygymeJwlQgL+MI4hJ53wsLaBbAXKfkC xgbPdp3MhXMTRRQMfhZUiQDqrqe8wYjso3zV3rtHmxHKsGICsWidyGxF8CHHOEURK+RT WE/GpOAd1tpag/0YB2sogQK5Q1ukp4+6PerHcWIdBubnGb4C5sMcZ8zdpgjFWB4RI628 3kLTk3vLWkEuRYXoOoekNAs7MsNOapOx9kEthGM0PdZDJKQo/kuFTJxU8NxmerBkox7S d12A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=bJ6aNcv7; 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: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id f11si3652513ejw.277.2021.03.19.00.28.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 00:28:55 -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=bJ6aNcv7; 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 94FAB82894; Fri, 19 Mar 2021 08:28:00 +0100 (CET) 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="bJ6aNcv7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A8E5C828F7; Fri, 19 Mar 2021 08:27:03 +0100 (CET) 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-db3eur04on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::609]) (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 C5F7E828E9 for <u-boot@lists.denx.de>; Fri, 19 Mar 2021 08:26:56 +0100 (CET) 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=F9cITGytdoUD0z40t4JyNOkN5PhyH4Zb40AlNxl3pIwOnILPkoGGttG/u066AXY5+1Wy4Zq27wrL9d689S1Wp2qRoBmKxubK7saaEZ2z5yWRBNz5r4MnKn5NQ6OHaV/rtfhAJDqCNFgJRdxJBgi0XgfE3wXWgIAPdRMQvWEcH0Z+QRMQ047v5NWbDWyNygkXIMKY4UlWW4pPHaaA8fGuJF9DLoDJDQLp07Wa5Etp6Gjv7YBwZYt1JSFmFpKSOI2+05I7frkPmu79JoyKvjqfO+YBmO5CoSaODXc+iR3iKV/zS5mCdxg5PFW3MgmWDRLE1qULKOjYyccrLVrxzSEnQQ== 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=rTgASruegFawuPpYxYOVcZxDvkA/aGXwrTG3pOmFKu0=; b=fh4NZDkBQQCLBmo4bsptcesRxojo56ymfzZxYKZVVnvvJmu3kEBVUU5tTQA2SgohqZwj3kpkGw1v5SOWxXhx/x9gJzIRExyICMyHKkkm37BdBeliRdgttYTWr0XdwzbXdaNjjioii5Y4DTgMmBeYNnyV8CwyqufCgXNAPh17Elzc8djeLAucu/dVfvE5iUnGMS/knJxBXsRCZhZYYy/L14A+jTY4ttrOGty73Q5vX5vpV0yvpuU4YbDY+dm7HZF9HlRZK+H01gzmvZWK1wjMl/crUaIutbc60ut/M828bQHClaodqQDyKM1CSc9u5E8URayXg4ekG2xU4c14AwL0UA== 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=rTgASruegFawuPpYxYOVcZxDvkA/aGXwrTG3pOmFKu0=; b=bJ6aNcv7LZ+UgmXVfVAh5qJWzEsuw5ORXAmraMzJ41m2nQpBEv9DC7A36aymutsDvstwBDeQYDbQkL20ZHSzA79tndZicojYMTh6AgMtgJGzDEO728MSzddFSrDoT4v2fFDVa4o2Ig6V+4K6T5hykLIWgb5M8aG6oO/V4bWaRmc= 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 DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1b0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Fri, 19 Mar 2021 07:26:55 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3933.032; Fri, 19 Mar 2021 07:26:55 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 11/26] imx8mp_evk: spl: clean up including headers Date: Fri, 19 Mar 2021 15:57:03 +0800 Message-Id: <20210319075718.14181-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210319075718.14181-1-peng.fan@oss.nxp.com> References: <20210319075718.14181-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: MA1PR01CA0170.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::20) 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 MA1PR01CA0170.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Fri, 19 Mar 2021 07:26:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ce590f16-4275-46c0-af48-08d8eaa85fac X-MS-TrafficTypeDiagnostic: DBAPR04MB7223: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DBAPR04MB7223C7ACFB78A9940DFCACEDC9689@DBAPR04MB7223.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:626; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7IrQjCSK+zG0Z6LpEJGcxCg06nx0IKC5nR91EMoyTcfOyeqFwSQqrfww9+8KIW/CgoWsTh3SyoPvz4cK8h0RQjLNjq94ttsFBv4lB/QYcX9rBVwtYHTqhWafPxa8SeCQFXGJkyBZHho56Q+sVGbYlwxjIRHDXULfy7agc+Kad7p4sHjmizOTBXDZfNMgVyqNG4iGEfp8NmLr5tRqQzB10B/6tQ1vtbDZ0H+rqWS3D5dxxia3VAxRGCSKZnrF45cY5WkfLp/g/tVTb70MQv+Sw4qbiOibKLECzjIaw8GQHnyjVzjaI70cvHwVkZ1ZjLah4TnFCkNiVG1NOnhqn/oVSq1UWQnN8yu4tnJp7pBJnIZup/ECI8R9H8NXUwWpRliGyuODOKApAxjGg3W7AhklUdnufkgK/54I/L3DK+bJMmPJQxcbtqwU3NWZt6+trJOrjl2RXdn6VqJqaU7+EQHX48BZsJpMQ4i2hBOficuO5iepdh1tIcxMZcGji/rt5yb9BtdbGYWcpxemQG8Cpji8Xh3X3lB73zwIkc+Y2u/n4zmgrgVXu7x+9cYi8pUFHmLT3GobU92EtXn+D5afwUde1CFErEiYzE8ng6ii5kCKOSXEHchK3PJySLozxAtFxQjDcaXJjJroOrhIiYQRRzCc6YWYs6am9Ci0OkSBzHrDxTc= 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)(346002)(396003)(136003)(366004)(39860400002)(2906002)(6512007)(6486002)(26005)(4326008)(52116002)(6506007)(5660300002)(86362001)(1076003)(83380400001)(6666004)(66476007)(66556008)(16526019)(186003)(8936002)(316002)(8676002)(478600001)(2616005)(66946007)(38100700001)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 1EOcQRvzxuUW2otW/TcS8nBFRG63neRM3lx8m1+vatFDDtUI8hSjuluihjC6kGzeS/lELm/ytlekA0VztyP0X0B1R7/NXSxGFTpZq33j+/M8pBxh4YX7N3UUFqbBXI/grQYenvVjKGI5oDFCTt8hZoo+MX6Qudq6p0Mvi6pg1FPWACsviP9i0qnFrnwZ5GpDUtzPLDNhbkQiWr1RmaAqdj6hdui5mCj8xZs/dIDkYMQr0kVh0MlxGYF0ZVPYMrb65VSgR6KpE5qOBAotTR1ImFrPUKu8SB9IAW9/3JAu3FaQDo4NQ91KraW4hS3CNfDcYGoiq/7MKYMvCNQOffxxLO0G43NOYstTN1lXkrzaQVs4s+hJwXLdju5ImpO34awetiZJmQfPqc1eF2bVYChE+cV3WJ29W2PhND9ERUe9lFrC9zhlRjiZnuUub0IWmpCoFf23fE98NIeSWIWCS/hWtBHCarBWa3yP4BQ6TnLFHDsK2A+0YgFd/nILuSngrzXXqDhkG2hkh8+DCdEdz+pZjt/drl3S+B3m818VUp8gCWDe+e6pfPlxWtHVMKqmH9s373C45Y160Kw7k4QwA9eVinyW4PcVfs71nncLp56C17O1IPEB6CNF4GxJN45d3Jcqz5AygLSrwaR/SFdz/p3MpbLs5QmMRK4wQkNJio8mP8OIs7aZddZwAFLM75nmB6193/Ad4MP12xkyknsTKo6Bcjz8460rMfb0riOegydOIb2EzpXRJDn/JepdpDD4C5hW6I+mi50yAHaPR8wXrO0TmLezpxeSLibW6gWQQsQvdhjve9x6ewZMaJHTZyRlWIbGEOgz+uupD2vXGfjg1UPDD8Ne5eLJNNkObqZrOCgqu4yNnb0hAUi1zRD0VjGFPY5a9sg40OYcPjc+YrmJfWnyVncPQ+1xMhoc+ekc2x+aZs4nHjaQWcnKy82HWMxuvZHW9nwJza4t5A44VUrGSXQGpMX8VY4UvpIdPZ/Yry59F7rt1z/ZrFnG+x5V4B6lwSv7zE00dLUCFJPob78Q1iTXHxeaq9LILzEzVDuw/MvOQSz0WW6Ub0As1lCtXLVYbjayRX1JEjhQ5FCbi+FqVq3llEeBGbao3xp4juSkCaeSdmNjJMp1jcGLPViA80foZpfDik5CNQe2VTU9dSdtPLdqeU8Pt6eAcU+7vyHXst04zsy4ynKx4HN2sEg0XjWZXZ9NbVD2WLUei8kfK8EVjGuaAkIxAJSSRgPzgaOPgsbNoADdy+rBuLAOnPBlsw/v2rZHe5UWO4NyIU/rUuIikIfBGcMJ0fP7AuiQVeU97VnmDdstFTGU1VfmmvW5o+U2GOMWJdYSLevEfpSJiec31BpNSQ== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce590f16-4275-46c0-af48-08d8eaa85fac X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2021 07:26:55.6751 (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: sfxSCVoaG6E9VIAZRymvXxV1iEST8ZM+uI0D1NQJvV3X4B5W9CTvfyiZSuV50xTe+1uheFFDe5JKuwp1EEZMNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
imx: update for i.MX8M
|
expand
|
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c index 3f043c2b2e..ef14cfc227 100644 --- a/board/freescale/imx8mp_evk/spl.c +++ b/board/freescale/imx8mp_evk/spl.c @@ -5,30 +5,21 @@ */ #include <common.h> -#include <command.h> -#include <cpu_func.h> #include <hang.h> -#include <image.h> #include <init.h> #include <log.h> #include <spl.h> #include <asm/global_data.h> -#include <asm/io.h> -#include <errno.h> -#include <asm/io.h> -#include <asm/mach-imx/iomux-v3.h> +#include <asm/arch/clock.h> #include <asm/arch/imx8mp_pins.h> #include <asm/arch/sys_proto.h> #include <asm/mach-imx/boot_mode.h> -#include <power/pmic.h> - -#include <power/pca9450.h> -#include <asm/arch/clock.h> #include <asm/mach-imx/gpio.h> +#include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> -#include <fsl_esdhc.h> -#include <mmc.h> #include <asm/arch/ddr.h> +#include <power/pmic.h> +#include <power/pca9450.h> DECLARE_GLOBAL_DATA_PTR;