From patchwork Wed Nov 22 13:11:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867361 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=n7IMZt11; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1qb3RVWz1yRq for ; Thu, 23 Nov 2023 00:12:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 36DA4875CC; Wed, 22 Nov 2023 14:12:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="n7IMZt11"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6803875B2; Wed, 22 Nov 2023 14:12:01 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CACB686C31 for ; Wed, 22 Nov 2023 14:11:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-db3fd3e971cso797702276.3 for ; Wed, 22 Nov 2023 05:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658716; x=1701263516; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=E8WIlJV7muZSySw2twiGmLmx2R+WNIeLg5nBHvKYYTw=; b=n7IMZt11iAcwpg+wqVJ6MvsqZgpbRWG04/yb9ytNbdOLOi6aMVjXtW/KiOQ53rspV0 giP5PDqncvcFSNvqwv19zqZd0YiL3+e3c3PlRfoXQNiKIJ/0KawE7BL7rd/oqQBmVISL tv+KXVDu9hUdUbqGZv7IEXkmNpE72PP42k6ys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658716; x=1701263516; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E8WIlJV7muZSySw2twiGmLmx2R+WNIeLg5nBHvKYYTw=; b=rMccGHmH31+9hJqaKMHIikK9BIAZbT3WieWtwuvRuDOW2dWV1jOO2iW9P/1/fhciU4 uOMxinel4b49r6tLTN/LFziTfoVnj/JmV5hf2dxN3+klvMJ212m1r8k41E0B8o8wwO4u 5hS+9uTK3kvdA7i1t0sHJsOcBSEHt+kiKjakRWtWI2hnP2ai9wE+CYqPmh572fGo/BFl stj/EkgLPs8m+TEwJRyaE5vRE/I/3JYmkS+ocXxNcwavZyhjEea7c7SUROOfzzpiaAbi aOPyRHnlsO5HDADEG0+nAQNSq69zZxxpPzfaoIgr+LPEku/RupL5GQ5qhyqEsLKdYCPk RvJw== X-Gm-Message-State: AOJu0Yzg2r59f6PPyHBgL0bQeU3cy4JsDY5/HV2HeppOtSAtCM6/Cy0s SGx3o+gC+SZ3o8ENXFMzuEBf5ju1sVaeenGYD4bI6Q== X-Google-Smtp-Source: AGHT+IG7NGClopnC3VKGcTpnktAAedFFEFXktIoAlh4d11eBdZl6ijXF9bbNRz1DmUeSOzlE3l4CxA== X-Received: by 2002:a25:abe4:0:b0:da0:3d48:aa68 with SMTP id v91-20020a25abe4000000b00da03d48aa68mr1833368ybi.50.1700658716034; Wed, 22 Nov 2023 05:11:56 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:55 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 01/11] global: Remove duplicate common.h inclusions Date: Wed, 22 Nov 2023 08:11:44 -0500 Message-Id: <20231122131154.2444690-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean These files include twice. Start by removing the second inclusion of the file. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- board/data_modul/common/common.c | 1 - board/grinn/liteboard/board.c | 1 - board/toradex/colibri_imx7/colibri_imx7.c | 1 - board/wandboard/wandboard.c | 1 - drivers/gpio/gpio-aspeed.c | 1 - drivers/spi/fsl_dspi.c | 1 - drivers/video/exynos/exynos_dp.c | 1 - 7 files changed, 7 deletions(-) diff --git a/board/data_modul/common/common.c b/board/data_modul/common/common.c index bf9a11472d11..4f308dad2e4d 100644 --- a/board/data_modul/common/common.c +++ b/board/data_modul/common/common.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/board/grinn/liteboard/board.c b/board/grinn/liteboard/board.c index 48392c48e5cc..cf1d7cee9252 100644 --- a/board/grinn/liteboard/board.c +++ b/board/grinn/liteboard/board.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index f0356af0082b..3c4a14148719 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 48914450a294..8be62c86695d 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index 2c5415c671d1..1c3d18796b3a 100644 --- a/drivers/gpio/gpio-aspeed.c +++ b/drivers/gpio/gpio-aspeed.c @@ -11,7 +11,6 @@ #include #include -#include #include #include #include diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index f8ec268812ca..041abe57e355 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c index a532d5ae1abb..59838da6c926 100644 --- a/drivers/video/exynos/exynos_dp.c +++ b/drivers/video/exynos/exynos_dp.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include From patchwork Wed Nov 22 13:11:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867362 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=tadcY1eA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1ql38J2z1yRq for ; Thu, 23 Nov 2023 00:12:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B941E86C31; Wed, 22 Nov 2023 14:12:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="tadcY1eA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25A80875B5; Wed, 22 Nov 2023 14:12:02 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B597D86F83 for ; Wed, 22 Nov 2023 14:11:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-da37522a363so6314197276.0 for ; Wed, 22 Nov 2023 05:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658717; x=1701263517; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XyaJ7vvMA3H10SLV0/5ISIpxEkyLI82xmSBBf5MmOeM=; b=tadcY1eAaTyIT8KT3euBojfCPeoxCH9gySLCKoxUfQomcn4oGiNihxc4rCUV4ZNVNF WsFfSBGNV1taEm6u1QsilI/L2eyA7+b5kdiMt3n3kDL91XjE0e4P2o2ujXjA/2pJFuD1 DiTeU9N4mp6IXFWYQC80Q4stVcKx7Z+KnDgK0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658717; x=1701263517; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XyaJ7vvMA3H10SLV0/5ISIpxEkyLI82xmSBBf5MmOeM=; b=inmuJvkB1rM39XnOCZzcFBe3pcY9K3WGSLDaW3GVMweAVGWHHfGf6oIpfJbdBziSsc GKKoVRe1uBjMV/W1FSQ4AmRtgYb/9+ZN6fs1wS0C/4LDmOPlceW2BHvugN0sCIAvPcYB 6TCagVsnRgDeytfY7+EyRy0C/0IJHLebFH3orDbVW4ySTB71v1zA6558ryVfcYBkE5B1 f7Hf3YULg35R7vPoTb0r3PXgGxUN91nlyydbP8YaJ8oTjAlExlAkPqoh+zf4ejSrZhiI 6OifaFvo93oYUDGSEZhNzF3Uh9CMqxL5BoK30MuKi2GzBeTPS1G/I95fxjMN+ZMed6Se CmVA== X-Gm-Message-State: AOJu0YwcLrtUUQq4ESvWpRRdeEih5+hWkmD0sbreygzR4cw4zNreII5g KOtcEmGiUXkLesUaxgzEmlHIaVQowFVxyGGWqkwQ5g== X-Google-Smtp-Source: AGHT+IHKSk9K/wZjC6cpOD/uy3k1wOdqIiOkBbozhguX4Yawmm+mHFO3LuEjD7mHz4WkqCl3/+WveA== X-Received: by 2002:a25:8241:0:b0:db4:1dc5:7a83 with SMTP id d1-20020a258241000000b00db41dc57a83mr188283ybn.52.1700658717052; Wed, 22 Nov 2023 05:11:57 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:56 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 02/11] arm: Remove from asm/global_data.h Date: Wed, 22 Nov 2023 08:11:45 -0500 Message-Id: <20231122131154.2444690-2-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean We need and include and this in turn already includes , so drop it here. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/include/asm/global_data.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 75bd9d56f893..2bb978d66839 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -11,7 +11,6 @@ #include -#include #include /* Architecture-specific global data */ From patchwork Wed Nov 22 13:11:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867368 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=suh6CiGH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1rf1P3nz1yRq for ; Thu, 23 Nov 2023 00:13:06 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0477587605; Wed, 22 Nov 2023 14:12:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="suh6CiGH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5C71286F67; Wed, 22 Nov 2023 14:12:06 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B63AB87250 for ; Wed, 22 Nov 2023 14:11:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-db40898721fso485724276.3 for ; Wed, 22 Nov 2023 05:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658718; x=1701263518; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3IBH/fB3H0/3uZi2Chn+IjerEZBGBPrCa9MBcMvq9yw=; b=suh6CiGHTuuN/NKpV5EeqZa6WUtTvOuwuN8wd0F/dn496o1i3E0ilA8L5vr7ktijEw l81TkOamWCjm/2boEGsSZfKORPBUHJs/CLngEUKX+EHU/MjnyPPzWFOR40byL9pRZwaU a8coZm864Ez1iExT1sWBocWVu9m1u47f1zpNU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658718; x=1701263518; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3IBH/fB3H0/3uZi2Chn+IjerEZBGBPrCa9MBcMvq9yw=; b=AtmnoRbYh+F3K2bLEUcKgfwvXzR9h4eQt4dsPeAQgxMX4eNZ1G+6kcc6I1G1GIVnzg j1sNEygga0Q+TTWHc95CKTfVq4D0hMlZ4joBjQutH1wXLoh0iVOax6N1tMidYSWcOVte 98GXRr1PkcN1MtlJYQgHKmoVY3+EBoJGUuZCjPiYmgNoLKF2VKsJhEb/qmvKpqALWgVS uFECfUQuDLfVegWjc7vOsI5c2VHbmDWbx9pCrInvyblTKCDjCa5j8XPyUr+eGMLc5kkH dnYjB36z1/DTyu4rbedV8x2eHBCejhvgFzzr0+aAYD3DAqV/ZU6yLQ9YNx1WJcxv+a9t p2gg== X-Gm-Message-State: AOJu0YxW5UAayl2aLQEG3dXDdxaqS+UzEwWtqU9lAFmDpypjgOuPaOQY al/eLor01IDgst/eIkCN2Q8QpO14Xd9l4zNTNhvnqg== X-Google-Smtp-Source: AGHT+IFYZXLh0kFFgqtOrZflJ4s5kowXQmoCgoP1bxCskd+OREDctxmUGMZ/mBE1Erf19uNmkkx8Ag== X-Received: by 2002:a25:ec0c:0:b0:d9a:45d7:4eae with SMTP id j12-20020a25ec0c000000b00d9a45d74eaemr1954793ybh.62.1700658717988; Wed, 22 Nov 2023 05:11:57 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:57 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: [PATCH 03/11] sandbox: Add to asm/global_data.h and asm/io.h Date: Wed, 22 Nov 2023 08:11:46 -0500 Message-Id: <20231122131154.2444690-3-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean We need in these files as we reference Linux types. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- Cc: Simon Glass --- arch/sandbox/include/asm/global_data.h | 2 ++ arch/sandbox/include/asm/io.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h index c6977735029d..001b2b53c1c8 100644 --- a/arch/sandbox/include/asm/global_data.h +++ b/arch/sandbox/include/asm/global_data.h @@ -9,6 +9,8 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H +#include + /* Architecture-specific global data */ struct arch_global_data { uint8_t *ram_buf; /* emulated RAM buffer */ diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h index 31ab7289b4bd..1ccb25a0fe1e 100644 --- a/arch/sandbox/include/asm/io.h +++ b/arch/sandbox/include/asm/io.h @@ -6,6 +6,8 @@ #ifndef __SANDBOX_ASM_IO_H #define __SANDBOX_ASM_IO_H +#include + enum sandboxio_size_t { SB_SIZE_8, SB_SIZE_16, From patchwork Wed Nov 22 13:11:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867364 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=GCvpk2tB; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1rJ2VlBz1yRq for ; Thu, 23 Nov 2023 00:12:48 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AC2F5875FA; Wed, 22 Nov 2023 14:12:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="GCvpk2tB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C005875F7; Wed, 22 Nov 2023 14:12:05 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7F93C87463 for ; Wed, 22 Nov 2023 14:12:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-da7ea62e76cso6670251276.3 for ; Wed, 22 Nov 2023 05:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658719; x=1701263519; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tzVpN9PR44jGSVKImklEQOO2+WjWbexXA7YedtkDPng=; b=GCvpk2tBE9o8x2FPa3LjtquZQQH7IbUA6u4Y5wI35O6Wzb74A+WZY0cgfYn37ZCg1s km7Ra3jL7mbPL5cG1y1jQIQq/s2oYyPZAQnq75F1CSLngYVS4sLmsoQfifQeshYExmWz vScIV2Ia4ECtbey9i8m9B5U58GwBiviDnuXrc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658719; x=1701263519; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tzVpN9PR44jGSVKImklEQOO2+WjWbexXA7YedtkDPng=; b=oh+bNdTgO4qkOmrFg+F6Aw3iIO+ZcEvwDVfJ+vPfjNbYYITjOTK2xdqIXOKbtlos0s 6UYnAF3BOrQX8MhSWpxXVG2dJnE4C+CAOmCBG7IPRIvO9Cr3JHd2F3LS0FVrv95wmpxW ovZWBhlV6BbweTniYTpW4o+rNPC+DE5voif0sA/WsptlnqNjnXNu9/KoeOW7Qq23kxpI xaCR2hohwhnoDNJiXrhhKcH7N3qHwnUkfn3fHrucOhGa1fNNI1F7bmmSI3XWZIc5aaMO lTTnYsS9d3tbN8tm3fHHucO8CAp5TtZKl9bmyZQQdTRQ5yXKma0CovRozj9xypWp8R7y 9eeg== X-Gm-Message-State: AOJu0YxvNjXY7ySqwKP+9cdTdaq3QIoKKHRsyB9yAF2fpswRk/xu3XYx A1ACMffEkPLoDlqpWhta92pvbJ1Mcku9NbJCfInhbA== X-Google-Smtp-Source: AGHT+IEOfF7xb6wFnCNraWJc0iq0MqZWaAy3w4KogAeJIA2/Adm/kuAC/Qa0NT8GXEVKhN1XrXrLhg== X-Received: by 2002:a05:6902:3cd:b0:da0:3510:d46b with SMTP id g13-20020a05690203cd00b00da03510d46bmr1908687ybs.52.1700658718885; Wed, 22 Nov 2023 05:11:58 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:58 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Huan Wang , Angelo Dureghello Subject: [PATCH 04/11] m68k: Rework asm/global_data.h slightly Date: Wed, 22 Nov 2023 08:11:47 -0500 Message-Id: <20231122131154.2444690-4-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean In the architecture global data, replace the one case of u32 with unsigned long. Now, we can drop config.h here but then do need to add it in two m68k-centric spaces. Signed-off-by: Tom Rini Acked-by: Angelo Dureghello --- Cc: Huan Wang Cc: Angelo Dureghello --- arch/m68k/include/asm/cache.h | 2 ++ arch/m68k/include/asm/global_data.h | 4 +--- arch/m68k/lib/traps.c | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/m68k/include/asm/cache.h b/arch/m68k/include/asm/cache.h index 8ed2b4dbab47..6ef7f7be1af8 100644 --- a/arch/m68k/include/asm/cache.h +++ b/arch/m68k/include/asm/cache.h @@ -9,6 +9,8 @@ #ifndef __CACHE_H #define __CACHE_H +#include + #if defined(CONFIG_MCF520x) || defined(CONFIG_MCF523x) || \ defined(CONFIG_MCF52x2) #define CFG_CF_V2 diff --git a/arch/m68k/include/asm/global_data.h b/arch/m68k/include/asm/global_data.h index 5f576ba16f9a..c2ef5770a3df 100644 --- a/arch/m68k/include/asm/global_data.h +++ b/arch/m68k/include/asm/global_data.h @@ -7,8 +7,6 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H -#include - /* Architecture-specific global data */ struct arch_global_data { #ifdef CONFIG_SYS_I2C_FSL @@ -24,7 +22,7 @@ struct arch_global_data { unsigned long sdhc_clk; #endif #if defined(CONFIG_FSL_ESDHC) - u32 sdhc_per_clk; + unsigned long sdhc_per_clk; #endif }; diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c index c283351181d8..2a025c5a6e86 100644 --- a/arch/m68k/lib/traps.c +++ b/arch/m68k/lib/traps.c @@ -7,6 +7,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ +#include #include #include #include From patchwork Wed Nov 22 13:11:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867363 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=H4NRbSbf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1r83KMNz1yRq for ; Thu, 23 Nov 2023 00:12:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43B9387479; Wed, 22 Nov 2023 14:12:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="H4NRbSbf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B64D9875F2; Wed, 22 Nov 2023 14:12:04 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 82846875CB for ; Wed, 22 Nov 2023 14:12:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-db029574f13so6582555276.1 for ; Wed, 22 Nov 2023 05:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658719; x=1701263519; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=k1ABau3ytv5IlzWnSTidL79BKOABx2FP1+W0cvwMdzU=; b=H4NRbSbfVhzBInOXPOXVu3PgCXo9yr3PkK77XfBjNmGQpGKO+O7arX1lIHmZl97v1S UsK2a6E/v/kXqGo+kC/xIRpqxRhyxFO3SoPTLLgis5MBHmEYgASoGkTYHKsD0H6HUBOq px3ockjKrWbeMubTgwianlpl+WPu+fW7NKbWs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658719; x=1701263519; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k1ABau3ytv5IlzWnSTidL79BKOABx2FP1+W0cvwMdzU=; b=Zdwg3rPqJI1e05d8rxWbIb3G4/Bj4hdUhWYDEHb22/0WK7wr6HK0VjO9vOiYEEpoWG 895R4Oe5aU0l/1g+RgExpn1oPY87OFOT6oEV8gxn5eGp2XPfHAcFwl5bkQ4TOqRpIX+H 36AE+zuWwv9FXPVhiXn3sssNPHsKhudPrQpgYtisXABxHdJkiKLiJ90Wxq7NQDtcdVFA jh3JW9ngJ4isF14Y/qtrTVc1YaTsXQGsi7Ik7pPzNmP/0bgaALvmiIikmIaFmoNMi1Qm PnkmVBhioURwyYSLENZJYVe9KGUIKMd0cCIYvDGP0rF0bIaIDuSgoQqTDjeq0ovpjy98 aPdQ== X-Gm-Message-State: AOJu0YxID+GAjNZmcM2l3tbs6D+vGfjdrouXQwdPYX/5Wmi5Hz1aw5Yd N+cMkfKH1sKQKhyTfyK0gGd+5sROCpp0w5m+N1vDXA== X-Google-Smtp-Source: AGHT+IEN4/a6O40ab4YlThst2rtHb1ULMSxvz6FbabTwOh5xIivFlzJj5AerDB4uVOzJb8xukFR3cA== X-Received: by 2002:a25:bfd1:0:b0:d9a:4cc2:1961 with SMTP id q17-20020a25bfd1000000b00d9a4cc21961mr2190875ybm.26.1700658719563; Wed, 22 Nov 2023 05:11:59 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:59 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 05/11] global: Rework architecture global_data.h to include Date: Wed, 22 Nov 2023 08:11:48 -0500 Message-Id: <20231122131154.2444690-5-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean In most cases, the architecture global data currently makes use of assorted linux types, but does not include to provide them. Add instead of relying on indirect inclusion. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/mips/include/asm/global_data.h | 2 +- arch/nios2/include/asm/global_data.h | 2 ++ arch/powerpc/include/asm/global_data.h | 3 +-- arch/riscv/include/asm/global_data.h | 1 + arch/x86/include/asm/global_data.h | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index f0d3b07bf1eb..34b7e0bed945 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -7,8 +7,8 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H +#include #include -#include struct octeon_eeprom_mac_addr { u8 mac_addr_base[6]; diff --git a/arch/nios2/include/asm/global_data.h b/arch/nios2/include/asm/global_data.h index 1a0e7d25fa3b..b56e8a5078e0 100644 --- a/arch/nios2/include/asm/global_data.h +++ b/arch/nios2/include/asm/global_data.h @@ -6,6 +6,8 @@ #ifndef __ASM_NIOS2_GLOBALDATA_H_ #define __ASM_NIOS2_GLOBALDATA_H_ +#include + /* Architecture-specific global data */ struct arch_global_data { u32 dcache_line_size; diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h index 6ed21c781fe4..f7860122a00b 100644 --- a/arch/powerpc/include/asm/global_data.h +++ b/arch/powerpc/include/asm/global_data.h @@ -8,8 +8,7 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H -#include -#include "asm/types.h" +#include /* Architecture-specific global data */ struct arch_global_data { diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h index 937fa4d15446..d00247ad9536 100644 --- a/arch/riscv/include/asm/global_data.h +++ b/arch/riscv/include/asm/global_data.h @@ -10,6 +10,7 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H +#include #include #include #include diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index 6f4a7130f1da..1ef7f1f0349e 100644 --- a/arch/x86/include/asm/global_data.h +++ b/arch/x86/include/asm/global_data.h @@ -9,6 +9,7 @@ #ifndef __ASSEMBLY__ +#include #include #include From patchwork Wed Nov 22 13:11:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867367 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=DnizQoVj; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1rQ1V2nz1yRq for ; Thu, 23 Nov 2023 00:12:54 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8873187604; Wed, 22 Nov 2023 14:12:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="DnizQoVj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0BD72875F7; Wed, 22 Nov 2023 14:12:06 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0B5C286F67 for ; Wed, 22 Nov 2023 14:12:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-da7238b3eb4so6673572276.1 for ; Wed, 22 Nov 2023 05:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658720; x=1701263520; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PX6OnGo2Dk61xlqOrXgicr6eu8fcWEI9cwKkfmMt5Mk=; b=DnizQoVjpJuRr2WxKX75TuEag33y1RFkFIvyR2NFGEJH032FRiJc3XHljGpK4N3UdW BomYpePiatwzAFOl5j5IBZ8pO6ibMXVrWGNCKdS0jIXA5sK/f10UmKnbVpj1+b6OKv9C ik4lXXqqKp69HdHtbKb6qhgvXnOMIeFiaQC2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658720; x=1701263520; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PX6OnGo2Dk61xlqOrXgicr6eu8fcWEI9cwKkfmMt5Mk=; b=qz2EDHOxb/6gx2izFVLH3H5aq5y5H5BIxCPGsA7uzod/6BnKD43H1ZEyAsetRhlT2c rnuYwpX3oDVUEEIgcwN8OZLhtd36EO+WiFNwBtDFH7A0efMXe8C+yWvo4yuBpjNwOjZ3 tvIdHpC5cxz2y9J4wTjUQAvALIm/LMTDnt3JVdxBPQVnSI1vtpj2Vju7TFpm8vHeBJI0 oQDdC5wTLZugot1oSiMk4+2Fl9mB5nyRvHQRLg3E9P4V1BVRRKLJlzHsvsISxyYKHblV nC3B09tC2XRBFM1b2dfdB9fXrSGaAqeULF4PIBHe/BUtbNWF5wu1bsbrHTY1wE1V8bfK /8qA== X-Gm-Message-State: AOJu0YwnTYqBcmASf5hpsfD2XCAxaAW+1uJrRKZ3GZY6BnSi9SkoJKYW 8CN85aGviddQvUVQmzCQcsupKqbEHt4H+axUU7nZGQ== X-Google-Smtp-Source: AGHT+IH+00znSW51VpmMx5/CIAnaFZuaTBiOatCO7yRppTgw8UuDwVN1EhcGayXo+Szl2QR9Dlw/Og== X-Received: by 2002:a5b:94b:0:b0:da0:7936:5265 with SMTP id x11-20020a5b094b000000b00da079365265mr1924664ybq.56.1700658720585; Wed, 22 Nov 2023 05:12:00 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.11.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:11:59 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 06/11] lib/sha*.c: Update header list Date: Wed, 22 Nov 2023 08:11:49 -0500 Message-Id: <20231122131154.2444690-6-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Cleanup the list of headers we include here. For the tools build we only need to exclude as that's used by the target build for the prototype for schedule(), and we don't need to get that via . We can also make use of our intentionally existing as a redirection to to reduce ifdef'd lines. Signed-off-by: Tom Rini --- lib/sha1.c | 7 ++----- lib/sha256.c | 7 ++----- lib/sha512.c | 6 +----- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/lib/sha1.c b/lib/sha1.c index 8d0740789349..7ef536f4b5db 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -17,12 +17,9 @@ #endif #ifndef USE_HOSTCC -#include -#include -#else -#include +#include #endif /* USE_HOSTCC */ -#include +#include #include #include diff --git a/lib/sha256.c b/lib/sha256.c index 4d26aea1c8ce..665ba6f152e5 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -6,12 +6,9 @@ */ #ifndef USE_HOSTCC -#include -#include -#else -#include +#include #endif /* USE_HOSTCC */ -#include +#include #include #include diff --git a/lib/sha512.c b/lib/sha512.c index fbe8d5f5bfe9..ffe2c5cd9642 100644 --- a/lib/sha512.c +++ b/lib/sha512.c @@ -11,13 +11,9 @@ */ #ifndef USE_HOSTCC -#include -#include -#else -#include +#include #endif /* USE_HOSTCC */ #include -#include #include const uint8_t sha384_der_prefix[SHA384_DER_LEN] = { From patchwork Wed Nov 22 13:11:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867369 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=tjrJ/myi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1rt1fGJz1yRq for ; Thu, 23 Nov 2023 00:13:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7AC2F87617; Wed, 22 Nov 2023 14:12:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="tjrJ/myi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9135D86F42; Wed, 22 Nov 2023 14:12:06 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7FF5B87097 for ; Wed, 22 Nov 2023 14:12:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d9caf5cc948so6325889276.0 for ; Wed, 22 Nov 2023 05:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658721; x=1701263521; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LmQl4T3hSNFLEDqQtaz6kiwsS9fwlqq7wH5Wez33+L8=; b=tjrJ/myiK8f6wWwrjO+IJi26XbRqX1Ay5BBlnX0ecNijklNrmOFG2VX/fH8xOkdzIe Fu3X2SASJ3BTXLNh8ExI76FcGJNZ2WJ1v8XCBTmThl1sr9AAkbk+NURLERHKDTdAvYmA K61Eq2O4EyWG9wI6OB7v8hMUFM8ezGLyv+ZeQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658721; x=1701263521; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LmQl4T3hSNFLEDqQtaz6kiwsS9fwlqq7wH5Wez33+L8=; b=FAgUYl7+JWQ+n9gJfgtAvirUaH9lzuDApogxpuDqtEhId/84eDchtj1S2Ga1QGD5F0 t9CKU/WSXcAm50bjCUa1086WacCpLAc90i5Tzj7xhGsYs62Tjgg53LdpBQruEYv/tGBO 4IVMgDoGuMwPXwKSC5UeV8Bs8d1jnaQAKoV3CMYQWyE1DL5jAXDha8Ft+stFO9AZmalK cv5k1gX5oJUO7wu2Nc/EvvyjIbeuJXzgkHveEP7c4OILVWrwfB8YtHWnyP6TE0DWsoJc R9o4skDpa1OcMDVjXob/Kfaa+Lzz2y8tPeOEBakgMbyDkNO1g8EdR4gd+W+Qt+tiXwzO x7Uw== X-Gm-Message-State: AOJu0YydX3bJ8RkPt5oSNQqKe6wHQgSBr8K11b/0azt19jJoh41M/Rgu SshkkNSuqA94Dfskqigw4nCjX3HPlDYlJobkjJLqzg== X-Google-Smtp-Source: AGHT+IFway0eevzLAN7cUFAPKKHOEfPGBsBAp4p8lCe//K49RrH6FPwTfwkkZPEw3k5vsGbfMEqrYQ== X-Received: by 2002:a25:aac1:0:b0:da0:514a:8f42 with SMTP id t59-20020a25aac1000000b00da0514a8f42mr2239026ybi.32.1700658721471; Wed, 22 Nov 2023 05:12:01 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:12:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Nobuhiro Iwamatsu , Marek Vasut , Paul Barker Subject: [PATCH 07/11] rmobile: Add to cpu_info-rzg2l.c Date: Wed, 22 Nov 2023 08:11:50 -0500 Message-Id: <20231122131154.2444690-7-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean In order for RMOBILE_CPU_TYPE_R9A07G044L to be defined we need to include here. Signed-off-by: Tom Rini Reviewed-by: Marek Vasut --- Cc: Nobuhiro Iwamatsu Cc: Marek Vasut Cc: Paul Barker --- arch/arm/mach-rmobile/cpu_info-rzg2l.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rmobile/cpu_info-rzg2l.c b/arch/arm/mach-rmobile/cpu_info-rzg2l.c index f69649dc7eaf..bd3146fb011f 100644 --- a/arch/arm/mach-rmobile/cpu_info-rzg2l.c +++ b/arch/arm/mach-rmobile/cpu_info-rzg2l.c @@ -4,6 +4,7 @@ * */ +#include #include #include From patchwork Wed Nov 22 13:11:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867371 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=bNRz2Xty; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1sJ4CrKz1yRq for ; Thu, 23 Nov 2023 00:13:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4A9E587097; Wed, 22 Nov 2023 14:12:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="bNRz2Xty"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 75909875EF; Wed, 22 Nov 2023 14:12:09 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B5EA0875F1 for ; Wed, 22 Nov 2023 14:12:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-d9beb865a40so6324715276.1 for ; Wed, 22 Nov 2023 05:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658722; x=1701263522; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mMCett7Kq6K4rtf381amf8Y5X5SPwVppeytC3u9nbxw=; b=bNRz2XtyRo7Fph2M/MAU0KrcE6pc7laEmYBkNSgx431uCgwFTDoSW1QtMwbFzKBkMk ggS9uO5vSgh1j33Mz8xG5GcztKIM6/4iMCBFZnIwqdOwgVbG1HuxQIaMExg/5RsXiO4o PQ2W/5wBORgmvBLmoXvHwe95DKmSwaz14fvas= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658722; x=1701263522; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mMCett7Kq6K4rtf381amf8Y5X5SPwVppeytC3u9nbxw=; b=bCOmKiDNRFtB798UCWDtcupfVVzGE0AzK+s/sXh1QyR8xgQSp/3Ch/n/U0aDsqZP/L 6ZvqXdFGCd25cpvRmltSqg3KrQKjcAMXcdt7uzaod+gJOBr0MqjS2YmmWmUKwD75KO7W GCMM3aniaMbCuTMjFykDUF9Lnm0Y09vAs+UMlob4V6oNlDcA3EvQ992z7qr5/rfeU2Jw SMIkOj0xxB6dxASYvt0mAiNfSoU802YE5VCkdN0e0YHOeq5uO0lFpQwPmabVdfmwNRak M8nAt+AJ5Uv/Z7wL+m1O0vburLIHVIPhhW+kqXHi2pe8a+VAus/JXldRAJlcdYskJWPw 25vQ== X-Gm-Message-State: AOJu0YxfNNALq/OsxiU9KTSehyyg3fxsobFSqyyCjfcO+D+eTQ3dGoMu r3dFSd1yujzSKCjVPhHt1Weud7mxepY2ACRxytEdaQ== X-Google-Smtp-Source: AGHT+IEtK8gSo1qlSTbXVR64jxGwDD2DtdtzNdCSc9xesBbdPOP6pryjj6lTDsYELJNhI9idIGjbtA== X-Received: by 2002:a25:c094:0:b0:d9c:7d48:3020 with SMTP id c142-20020a25c094000000b00d9c7d483020mr1917094ybf.20.1700658722483; Wed, 22 Nov 2023 05:12:02 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.12.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:12:01 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas Subject: [PATCH 08/11] efi_loader: Remove Date: Wed, 22 Nov 2023 08:11:51 -0500 Message-Id: <20231122131154.2444690-8-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean We largely do not need in these files, so drop it. The only exception here is that efi_freestanding.c needs and had been getting that via . Signed-off-by: Tom Rini --- Cc: Heinrich Schuchardt Cc: Ilias Apalodimas --- include/efi_loader.h | 1 - lib/efi_loader/dtbdump.c | 1 - lib/efi_loader/efi_acpi.c | 1 - lib/efi_loader/efi_bootmgr.c | 1 - lib/efi_loader/efi_boottime.c | 1 - lib/efi_loader/efi_capsule.c | 1 - lib/efi_loader/efi_conformance.c | 1 - lib/efi_loader/efi_console.c | 1 - lib/efi_loader/efi_device_path.c | 1 - lib/efi_loader/efi_device_path_to_text.c | 1 - lib/efi_loader/efi_device_path_utilities.c | 1 - lib/efi_loader/efi_disk.c | 1 - lib/efi_loader/efi_dt_fixup.c | 1 - lib/efi_loader/efi_esrt.c | 1 - lib/efi_loader/efi_file.c | 1 - lib/efi_loader/efi_firmware.c | 1 - lib/efi_loader/efi_freestanding.c | 2 +- lib/efi_loader/efi_gop.c | 1 - lib/efi_loader/efi_helper.c | 1 - lib/efi_loader/efi_hii.c | 1 - lib/efi_loader/efi_hii_config.c | 1 - lib/efi_loader/efi_image_loader.c | 1 - lib/efi_loader/efi_load_initrd.c | 1 - lib/efi_loader/efi_load_options.c | 1 - lib/efi_loader/efi_memory.c | 1 - lib/efi_loader/efi_net.c | 1 - lib/efi_loader/efi_riscv.c | 1 - lib/efi_loader/efi_rng.c | 1 - lib/efi_loader/efi_root_node.c | 1 - lib/efi_loader/efi_runtime.c | 1 - lib/efi_loader/efi_setup.c | 1 - lib/efi_loader/efi_signature.c | 1 - lib/efi_loader/efi_smbios.c | 1 - lib/efi_loader/efi_string.c | 1 - lib/efi_loader/efi_tcg2.c | 1 - lib/efi_loader/efi_unicode_collation.c | 1 - lib/efi_loader/efi_var_common.c | 1 - lib/efi_loader/efi_var_file.c | 1 - lib/efi_loader/efi_var_mem.c | 1 - lib/efi_loader/efi_variable.c | 1 - lib/efi_loader/efi_variable_tee.c | 1 - lib/efi_loader/efi_watchdog.c | 1 - lib/efi_loader/initrddump.c | 1 - 43 files changed, 1 insertion(+), 43 deletions(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index e24410505f40..247be060e1c0 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -8,7 +8,6 @@ #ifndef _EFI_LOADER_H #define _EFI_LOADER_H 1 -#include #include #include #include diff --git a/lib/efi_loader/dtbdump.c b/lib/efi_loader/dtbdump.c index 3ce2a07f9eb0..5f39cf22da79 100644 --- a/lib/efi_loader/dtbdump.c +++ b/lib/efi_loader/dtbdump.c @@ -6,7 +6,6 @@ * to a file. */ -#include #include #include #include diff --git a/lib/efi_loader/efi_acpi.c b/lib/efi_loader/efi_acpi.c index f755af76f866..67bbd2a01c0b 100644 --- a/lib/efi_loader/efi_acpi.c +++ b/lib/efi_loader/efi_acpi.c @@ -5,7 +5,6 @@ * Copyright (C) 2018, Bin Meng */ -#include #include #include #include diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c index a40762c74c83..47691d8a3d4d 100644 --- a/lib/efi_loader/efi_bootmgr.c +++ b/lib/efi_loader/efi_bootmgr.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 0b7579cb5af1..f82b1a809f8f 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -5,7 +5,6 @@ * Copyright (c) 2016 Alexander Graf */ -#include #include #include #include diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c index af8a2ee940ce..de0d49ebebda 100644 --- a/lib/efi_loader/efi_capsule.c +++ b/lib/efi_loader/efi_capsule.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_conformance.c b/lib/efi_loader/efi_conformance.c index 0ca26f57a7f2..167067e26cd1 100644 --- a/lib/efi_loader/efi_conformance.c +++ b/lib/efi_loader/efi_conformance.c @@ -5,7 +5,6 @@ * Copyright (C) 2022 Arm Ltd. */ -#include #include #include #include diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index a2d137d7a9e1..03dece51aeaa 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_EFI #include -#include #include #include #include diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index ed7214f3a347..8dbd8105ae26 100644 --- a/lib/efi_loader/efi_device_path.c +++ b/lib/efi_loader/efi_device_path.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/efi_loader/efi_device_path_to_text.c index 8c76d8be605d..0c7b30a26e7e 100644 --- a/lib/efi_loader/efi_device_path_to_text.c +++ b/lib/efi_loader/efi_device_path_to_text.c @@ -5,7 +5,6 @@ * Copyright (c) 2017 Heinrich Schuchardt */ -#include #include #include #include diff --git a/lib/efi_loader/efi_device_path_utilities.c b/lib/efi_loader/efi_device_path_utilities.c index a07d9bab3a3c..844d8acd67c0 100644 --- a/lib/efi_loader/efi_device_path_utilities.c +++ b/lib/efi_loader/efi_device_path_utilities.c @@ -5,7 +5,6 @@ * Copyright (c) 2017 Leif Lindholm */ -#include #include const efi_guid_t efi_guid_device_path_utilities_protocol = diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index f0d76113b001..321f9b82b73c 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib/efi_loader/efi_disk.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_dt_fixup.c b/lib/efi_loader/efi_dt_fixup.c index 838023c78ff7..2176388f4207 100644 --- a/lib/efi_loader/efi_dt_fixup.c +++ b/lib/efi_loader/efi_dt_fixup.c @@ -5,7 +5,6 @@ * Copyright (c) 2020 Heinrich Schuchardt */ -#include #include #include #include diff --git a/lib/efi_loader/efi_esrt.c b/lib/efi_loader/efi_esrt.c index 7f46d651e6f2..dafd447b6d76 100644 --- a/lib/efi_loader/efi_esrt.c +++ b/lib/efi_loader/efi_esrt.c @@ -5,7 +5,6 @@ * Copyright (C) 2021 Arm Ltd. */ -#include #include #include #include diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 3c56cebf9653..222001d6a3b5 100644 --- a/lib/efi_loader/efi_file.c +++ b/lib/efi_loader/efi_file.c @@ -5,7 +5,6 @@ * Copyright (c) 2017 Rob Clark */ -#include #include #include #include diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 9abb29f1dff1..1fde1885e3ca 100644 --- a/lib/efi_loader/efi_firmware.c +++ b/lib/efi_loader/efi_firmware.c @@ -6,7 +6,6 @@ * Author: AKASHI Takahiro */ -#include #include #include #include diff --git a/lib/efi_loader/efi_freestanding.c b/lib/efi_loader/efi_freestanding.c index 4b65fc64dd04..b2786095c323 100644 --- a/lib/efi_loader/efi_freestanding.c +++ b/lib/efi_loader/efi_freestanding.c @@ -8,7 +8,7 @@ * memset(), and memcmp(). */ -#include +#include /** * memcmp() - compare memory areas diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index a09db31eb465..41e12fa72460 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -5,7 +5,6 @@ * Copyright (c) 2016 Alexander Graf */ -#include #include #include #include diff --git a/lib/efi_loader/efi_helper.c b/lib/efi_loader/efi_helper.c index cdfd16ea7742..17f27ca1a0b2 100644 --- a/lib/efi_loader/efi_helper.c +++ b/lib/efi_loader/efi_helper.c @@ -4,7 +4,6 @@ */ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_hii.c b/lib/efi_loader/efi_hii.c index 3b54ecb11ac1..74e402df1b8a 100644 --- a/lib/efi_loader/efi_hii.c +++ b/lib/efi_loader/efi_hii.c @@ -6,7 +6,6 @@ * Copyright (c) 2018 AKASHI Takahiro, Linaro Limited */ -#include #include #include #include diff --git a/lib/efi_loader/efi_hii_config.c b/lib/efi_loader/efi_hii_config.c index 31b0c97eb286..ae0f3ecd3b18 100644 --- a/lib/efi_loader/efi_hii_config.c +++ b/lib/efi_loader/efi_hii_config.c @@ -10,7 +10,6 @@ * the Makefile. */ -#include #include const efi_guid_t efi_guid_hii_config_routing_protocol diff --git a/lib/efi_loader/efi_image_loader.c b/lib/efi_loader/efi_image_loader.c index 97547571ce33..604243603289 100644 --- a/lib/efi_loader/efi_image_loader.c +++ b/lib/efi_loader/efi_image_loader.c @@ -9,7 +9,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index 193433782c24..2b467b554810 100644 --- a/lib/efi_loader/efi_load_initrd.c +++ b/lib/efi_loader/efi_load_initrd.c @@ -4,7 +4,6 @@ */ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_load_options.c b/lib/efi_loader/efi_load_options.c index 5f62184da1cd..01984235e248 100644 --- a/lib/efi_loader/efi_load_options.c +++ b/lib/efi_loader/efi_load_options.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index f752703b438e..edfad2d95a1d 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 96a5bcca2758..7cd536705f43 100644 --- a/lib/efi_loader/efi_net.c +++ b/lib/efi_loader/efi_net.c @@ -15,7 +15,6 @@ * Reset(): EfiSimpleNetworkInitialized -> EfiSimpleNetworkInitialized */ -#include #include #include #include diff --git a/lib/efi_loader/efi_riscv.c b/lib/efi_loader/efi_riscv.c index 064172755b95..4d398c5be348 100644 --- a/lib/efi_loader/efi_riscv.c +++ b/lib/efi_loader/efi_riscv.c @@ -7,7 +7,6 @@ */ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_rng.c b/lib/efi_loader/efi_rng.c index bb11d8d0e0cb..9bad7ed69317 100644 --- a/lib/efi_loader/efi_rng.c +++ b/lib/efi_loader/efi_rng.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_root_node.c b/lib/efi_loader/efi_root_node.c index 108c14b95bd6..4d7fb74b5d6f 100644 --- a/lib/efi_loader/efi_root_node.c +++ b/lib/efi_loader/efi_root_node.c @@ -5,7 +5,6 @@ * Copyright (c) 2018 Heinrich Schuchardt */ -#include #include #include #include diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index bf54d6ad871d..18da6892e796 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -5,7 +5,6 @@ * Copyright (c) 2016 Alexander Graf */ -#include #include #include #include diff --git a/lib/efi_loader/efi_setup.c b/lib/efi_loader/efi_setup.c index e6de685e8795..36f66c51921b 100644 --- a/lib/efi_loader/efi_setup.c +++ b/lib/efi_loader/efi_setup.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_signature.c b/lib/efi_loader/efi_signature.c index 742d8919402c..f338e7327599 100644 --- a/lib/efi_loader/efi_signature.c +++ b/lib/efi_loader/efi_signature.c @@ -4,7 +4,6 @@ * Copyright (c) 2019 Linaro Limited, Author: AKASHI Takahiro */ -#include #include #include #include diff --git a/lib/efi_loader/efi_smbios.c b/lib/efi_loader/efi_smbios.c index 48446f654d9b..2a79c0b1ba60 100644 --- a/lib/efi_loader/efi_smbios.c +++ b/lib/efi_loader/efi_smbios.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_string.c b/lib/efi_loader/efi_string.c index e21e09c94617..413e329b600c 100644 --- a/lib/efi_loader/efi_string.c +++ b/lib/efi_loader/efi_string.c @@ -5,7 +5,6 @@ * Copyright (c) 2020 AKASHI Takahiro, Linaro Limited */ -#include #include #include #include diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 463ea4c15416..8db35d0b3c85 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -8,7 +8,6 @@ */ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_unicode_collation.c b/lib/efi_loader/efi_unicode_collation.c index c4c75720634a..2b6912c50921 100644 --- a/lib/efi_loader/efi_unicode_collation.c +++ b/lib/efi_loader/efi_unicode_collation.c @@ -5,7 +5,6 @@ * Copyright (c) 2018 Heinrich Schuchardt */ -#include #include #include #include diff --git a/lib/efi_loader/efi_var_common.c b/lib/efi_loader/efi_var_common.c index ad50bffd2b26..d528747f3fb4 100644 --- a/lib/efi_loader/efi_var_common.c +++ b/lib/efi_loader/efi_var_common.c @@ -6,7 +6,6 @@ * Copyright (c) 2020 Linaro Limited, Author: AKASHI Takahiro */ -#include #include #include #include diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c index d7dba050710a..532b6b40eefe 100644 --- a/lib/efi_loader/efi_var_file.c +++ b/lib/efi_loader/efi_var_file.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_var_mem.c b/lib/efi_loader/efi_var_mem.c index 5fa7dcb8d3ed..6c21cec5d457 100644 --- a/lib/efi_loader/efi_var_mem.c +++ b/lib/efi_loader/efi_var_mem.c @@ -5,7 +5,6 @@ * Copyright (c) 2020, Heinrich Schuchardt */ -#include #include #include #include diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index be95ed44e6ef..40f7a0fb10d5 100644 --- a/lib/efi_loader/efi_variable.c +++ b/lib/efi_loader/efi_variable.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY LOGC_EFI -#include #include #include #include diff --git a/lib/efi_loader/efi_variable_tee.c b/lib/efi_loader/efi_variable_tee.c index 09d03c0eee78..dde135fd9f81 100644 --- a/lib/efi_loader/efi_variable_tee.c +++ b/lib/efi_loader/efi_variable_tee.c @@ -10,7 +10,6 @@ * Abdellatif El Khlifi */ -#include #if CONFIG_IS_ENABLED(ARM_FFA_TRANSPORT) #include #endif diff --git a/lib/efi_loader/efi_watchdog.c b/lib/efi_loader/efi_watchdog.c index d741076dcdd9..f5fb9117717c 100644 --- a/lib/efi_loader/efi_watchdog.c +++ b/lib/efi_loader/efi_watchdog.c @@ -5,7 +5,6 @@ * Copyright (c) 2017 Heinrich Schuchardt */ -#include #include /* Conversion factor from seconds to multiples of 100ns */ diff --git a/lib/efi_loader/initrddump.c b/lib/efi_loader/initrddump.c index 5b470f481946..0004b6b042b4 100644 --- a/lib/efi_loader/initrddump.c +++ b/lib/efi_loader/initrddump.c @@ -9,7 +9,6 @@ * clearing of the screen. */ -#include #include #include From patchwork Wed Nov 22 13:11:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867373 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=KBkNGSJ6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1sl6WB5z1yRq for ; Thu, 23 Nov 2023 00:14:03 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EC708760E; Wed, 22 Nov 2023 14:12:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="KBkNGSJ6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AB4A486F42; Wed, 22 Nov 2023 14:12:10 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EA042875F2 for ; Wed, 22 Nov 2023 14:12:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb30.google.com with SMTP id 3f1490d57ef6-da7ea62e76cso6670349276.3 for ; Wed, 22 Nov 2023 05:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658723; x=1701263523; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=hhuia0tBC2GLY2t6pyxGI1aa5S3Y3VJAmqfPQNaJW0E=; b=KBkNGSJ6PAQcYc8qCZhJBKpgyUXMairJSPrNJoKTu8jv3ohTn1D2KnSegFykww+yx1 cfiJSxDDZ5wok2P6Rr4v12bxKKwG3JdWoeBUvBsxCwPnyQBVYyYi8I14RghMWbUsjQtr lkaQLOvjFxcEe1xJnKjfHaaEOE2EEG1OZlN9U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658723; x=1701263523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hhuia0tBC2GLY2t6pyxGI1aa5S3Y3VJAmqfPQNaJW0E=; b=X8JrrnFErpad/UPsl+rnxAAXvmkvPqayANvEjxPY2t/VOTQAl0+BeiFCd9yWVQt/6L K5xxot0jrlwAVBeY53DTGIeTz9KKWtQoD3PHvtrHIfreRN/EHHKrDIa+pTCGbj7/9b7a LNIdLxmdFXwi5fbYYx3WNotGgaZVaSBWGJJDf9p35LFATJqRAb5giKV0lqMuIAl6Z8sE jeVOfv5TFuPPvN2TO28lv3RH7TBddRW31LJejkqzEjEm298VE55AkwcBKj/9EFyHhz5i IpyWKgrgyLLrx3lz6PQgdmkFismz5+lUWNFxrtRagwGVMRns63rvdh0DSi0zwCeIcwL4 2pXQ== X-Gm-Message-State: AOJu0Yx6srd5vG8daR1dvd1PrqV+SX1OlF1v9tubtLH5AmkUFCibO+Wz EjEOuEW45k4ovWsgwVEFS7JRy/Z5q3Ws88niULe8eA== X-Google-Smtp-Source: AGHT+IEJ685sPRB3RIx9k0m0BvOv5t83S6wS4UynxGCK4i2ur/u5ZcLX2CExlc1RfX0WrJVyy/uqpw== X-Received: by 2002:a25:3d1:0:b0:da0:3684:cad9 with SMTP id 200-20020a2503d1000000b00da03684cad9mr1742357ybd.59.1700658723257; Wed, 22 Nov 2023 05:12:03 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.12.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:12:02 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 09/11] display_options: Clean up headers Date: Wed, 22 Nov 2023 08:11:52 -0500 Message-Id: <20231122131154.2444690-9-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean In include/display_options.h we cannot include ourself, but do need directly. Then in lib/display_options.c we further clean the list to remove common.h. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- include/display_options.h | 3 ++- lib/display_options.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/display_options.h b/include/display_options.h index 85dacbc75902..66e596077370 100644 --- a/include/display_options.h +++ b/include/display_options.h @@ -9,6 +9,8 @@ #ifndef __DISPLAY_OPTIONS_H #define __DISPLAY_OPTIONS_H +#include + /** * print_size() - Print a size with a suffix * @@ -19,7 +21,6 @@ * @size: Size to print * @suffix String to print after the size */ -#include void print_size(uint64_t size, const char *suffix); /** diff --git a/lib/display_options.c b/lib/display_options.c index 80def5201f96..d6b93553dcb5 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -4,14 +4,15 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include #include #include #include +#include #include +#include char *display_options_get_banner_priv(bool newlines, const char *build_tag, char *buf, int size) From patchwork Wed Nov 22 13:11:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867370 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=UZor0T3j; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1s569Tkz1yRq for ; Thu, 23 Nov 2023 00:13:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E18F0875F2; Wed, 22 Nov 2023 14:12:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="UZor0T3j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB6FB875B2; Wed, 22 Nov 2023 14:12:07 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B069E87463 for ; Wed, 22 Nov 2023 14:12:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-d9fe0a598d8so6165728276.2 for ; Wed, 22 Nov 2023 05:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658724; x=1701263524; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lXfv1nqlvb5uQr+uPTdtXZDX2AZkw8g3Z8uEe+hKb74=; b=UZor0T3jfMaAQo/PsOhzu/y3FXABcdQCmDGDZnBlup/Zv/oCLQ9vscRJzZpzl/RfkP jxAC6q2SFzcHVOmOm+YiAruM3QurcltAttDV9aH8W35+bfyxURvEvp8DGj9a5+tAqONN yQaWL0vlDmIgCHzRfoX2DObxHjm5PFipA2118= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658724; x=1701263524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lXfv1nqlvb5uQr+uPTdtXZDX2AZkw8g3Z8uEe+hKb74=; b=fIrvsNKeGNXhVoDPlwwYSxJHmuMItGhIJVIMGYAeGiEINj26tURzM0RETbgJlNSxmZ KvkWar4V5YIToAsJT+7mSFbbej1mAxX5wKFND9DvULG8LrWpsSY0lJkkmlnjTRTUGJp6 J6ZNY2DO8gCUqp5i/OdaaV5UX9zx5Hd3X0mL5IoH2DKQVrePbWjf1q1tlH4UvuCumrUN ptUlmZmYj9McZSHjLV2LibZ0ZwXFQPRAwEGfMJ7E4mN/14MTBzBbJR504tWXaXhtHqvu nXyxG9p0YyLLr0lP2hPyRLlpS51RT6qwjz5x9eLtmicXAv5YqRrO5nPk36ih2oTS7Pz6 F2sw== X-Gm-Message-State: AOJu0YyEVP1bY5yzc1wZ3oG5KDBIL+6IX0QhwuwhhtbT2S271rJCy2NQ ev2gx0kerTR6/diL5RKI1Fup/I4OQteDENPo4x99Cg== X-Google-Smtp-Source: AGHT+IHqymRch0WfWeqhA7vo6dUOXp4nfS+m1iCPCxGRL/oAQ+ACW8QIDMni4Jhp/08J6wqaEntJjA== X-Received: by 2002:a25:5589:0:b0:da0:50f9:dc32 with SMTP id j131-20020a255589000000b00da050f9dc32mr1703016ybb.33.1700658724110; Wed, 22 Nov 2023 05:12:04 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.12.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:12:03 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 10/11] include: Further cleanup includes Date: Wed, 22 Nov 2023 08:11:53 -0500 Message-Id: <20231122131154.2444690-10-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Add some missing headers such as or or to header files that make direct usage of things provided by these headers. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- include/atmel_lcd.h | 2 ++ include/getopt.h | 2 ++ include/mapmem.h | 2 ++ include/memalign.h | 1 + include/net6.h | 1 + include/rtc.h | 1 + 6 files changed, 9 insertions(+) diff --git a/include/atmel_lcd.h b/include/atmel_lcd.h index 66436b9b2772..a115d6c17014 100644 --- a/include/atmel_lcd.h +++ b/include/atmel_lcd.h @@ -9,6 +9,8 @@ #ifndef _ATMEL_LCD_H_ #define _ATMEL_LCD_H_ +#include + /** * struct atmel_lcd_plat - platform data for Atmel LCDs with driver model * diff --git a/include/getopt.h b/include/getopt.h index 6f5811e64be9..8645082da2a7 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -9,6 +9,8 @@ #ifndef __GETOPT_H #define __GETOPT_H +#include + /** * struct getopt_state - Saved state across getopt() calls */ diff --git a/include/mapmem.h b/include/mapmem.h index 2134c8004d94..bb68b4c11afd 100644 --- a/include/mapmem.h +++ b/include/mapmem.h @@ -13,6 +13,8 @@ # ifdef CONFIG_ARCH_MAP_SYSMEM #include # else +#include + static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) { return (void *)(uintptr_t)paddr; diff --git a/include/memalign.h b/include/memalign.h index f67f0a74f2e8..eaa9f6b5cbd6 100644 --- a/include/memalign.h +++ b/include/memalign.h @@ -11,6 +11,7 @@ * is used to align DMA buffers. */ #ifndef __ASSEMBLY__ +#include #include #include diff --git a/include/net6.h b/include/net6.h index 1e766aa72092..1ed989e584ae 100644 --- a/include/net6.h +++ b/include/net6.h @@ -12,6 +12,7 @@ #include #include +#include /* struct in6_addr - 128 bits long IPv6 address */ struct in6_addr { diff --git a/include/rtc.h b/include/rtc.h index b6fdbb60dc2b..22f6d3705917 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -16,6 +16,7 @@ #include #include #include +#include typedef int64_t time64_t; struct udevice; From patchwork Wed Nov 22 13:11:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1867372 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=C4JBfMnR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb1sW47Btz1yRq for ; Thu, 23 Nov 2023 00:13:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B064E875F9; Wed, 22 Nov 2023 14:12:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="C4JBfMnR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A5BED87619; Wed, 22 Nov 2023 14:12:10 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F393486F42 for ; Wed, 22 Nov 2023 14:12:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-daf7ed42ea6so6624654276.0 for ; Wed, 22 Nov 2023 05:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1700658725; x=1701263525; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=olYEpX0P2NK2py1SB7rBXm8/6zD8r2tNOaiorp95vzg=; b=C4JBfMnRMAF8PLA1ZnlDJ8gXYFJGKrnHw28/hhh2gh03pZkrqV/YY0QdAs6Po2ui9c /lTjHM9QJJyAu81eHbAoH/IMN+DGClwchlAlYI/I91c6A05BSGRj45k+EecdwpGEobYt A+in1tP6hToKnevSFlhBijnyvAW0f2OmkDdtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700658725; x=1701263525; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=olYEpX0P2NK2py1SB7rBXm8/6zD8r2tNOaiorp95vzg=; b=nhYBFiPJUqUucGIHpz4fKtGk4ztookFPlLCxfa3S5JpuR3BBSjinlOwBI2l06cgbBx O4MBl775CfWRGPv15pLQm5skGihynguB5VIGY02QOc3l+xt4YKTru+KBkzqfUMqj4NN0 qpq2egmUMWWS/k32CGWya219coFEbkKCK68eePaWbBctIbCKxZWK83Rx19Se4vLWdjHw iFCSJxSJcJPRYtB1az5HKx8j4/5ry3qQJFnNMj3VC6AtePkDiuPaCwPYCQFgwvsjiYYk jxcT/7IMgY0ntL8MF7DL3J0iSTQTWA0iLyIZru+A/e/rG1rU+vXp5N7M2IhyVGYXMrPx H4dw== X-Gm-Message-State: AOJu0YxGMiZjisa7EXfoRnCs696VaCHcVmOJeGAteadgYZ63QOdv77d7 h3V3eg9I2ffPrUdnFyshiLNKPISDMVNu2rFIlGdmJA== X-Google-Smtp-Source: AGHT+IHuZE1ZcmOFOuESzk/Jl9LzMgvkFhSrfFQdi/LQh66dW1GI4ouQkWgo/SouyFfhKnZhPhnqgg== X-Received: by 2002:a25:760e:0:b0:daf:198e:f6f7 with SMTP id r14-20020a25760e000000b00daf198ef6f7mr2008171ybc.40.1700658725077; Wed, 22 Nov 2023 05:12:05 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-999e-39fe-b112-e0fa.res6.spectrum.com. [2603:6081:7b00:6400:999e:39fe:b112:e0fa]) by smtp.gmail.com with ESMTPSA id x63-20020a254a42000000b00c64533e4e20sm1367511yba.33.2023.11.22.05.12.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 05:12:04 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 11/11] lib: Remove inclusion from these files Date: Wed, 22 Nov 2023 08:11:54 -0500 Message-Id: <20231122131154.2444690-11-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231122131154.2444690-1-trini@konsulko.com> References: <20231122131154.2444690-1-trini@konsulko.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean After some header file cleanups to add missing include files, remove common.h from all files in the lib directory. This primarily means just dropping the line but in a few cases we need to add in other header files now. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- lib/abuf.c | 1 - lib/acpi/acpi.c | 1 - lib/acpi/acpi_device.c | 1 - lib/acpi/acpi_dp.c | 1 - lib/acpi/acpi_table.c | 1 - lib/acpi/acpi_writer.c | 2 +- lib/acpi/acpigen.c | 1 - lib/acpi/base.c | 3 ++- lib/acpi/csrt.c | 2 +- lib/acpi/dsdt.c | 2 +- lib/acpi/facs.c | 2 +- lib/acpi/mcfg.c | 4 +++- lib/acpi/ssdt.c | 3 ++- lib/addr_map.c | 1 - lib/aes.c | 2 +- lib/aes/aes-decrypt.c | 1 - lib/asm-offsets.c | 2 +- lib/at91/at91.c | 1 - lib/bch.c | 1 - lib/binman.c | 1 - lib/bzip2/bzlib.c | 3 +-- lib/bzip2/bzlib_decompress.c | 1 - lib/charset.c | 1 - lib/circbuf.c | 1 - lib/crc16-ccitt.c | 2 -- lib/crc32.c | 1 - lib/crc32c.c | 1 - lib/crc8.c | 2 -- lib/crypt/crypt-port.h | 3 +++ lib/crypt/crypt.c | 1 - lib/crypto/x509_public_key.c | 1 - lib/date.c | 1 - lib/dhry/cmd_dhry.c | 3 ++- lib/dhry/dhry_1.c | 2 +- lib/dhry/dhry_2.c | 2 +- lib/efi/efi.c | 1 - lib/efi/efi_app.c | 1 - lib/efi/efi_info.c | 1 - lib/efi/efi_stub.c | 1 - lib/efi_driver/efi_block_device.c | 1 - lib/efi_driver/efi_uclass.c | 1 - lib/efi_selftest/efi_selftest_esrt.c | 1 - lib/efi_selftest/efi_selftest_miniapp_exception.c | 1 - lib/efi_selftest/efi_selftest_miniapp_exit.c | 1 - lib/efi_selftest/efi_selftest_miniapp_return.c | 1 - lib/elf.c | 1 - lib/errno_str.c | 2 +- lib/fdtdec.c | 1 - lib/fdtdec_common.c | 1 - lib/fdtdec_test.c | 1 - lib/getopt.c | 2 +- lib/gunzip.c | 1 - lib/gzip.c | 1 - lib/hang.c | 2 +- lib/hash-checksum.c | 1 - lib/hashtable.c | 1 - lib/hexdump.c | 2 +- lib/image-sparse.c | 1 - lib/initcall.c | 1 - lib/linux_compat.c | 1 - lib/list_sort.c | 1 - lib/lmb.c | 1 - lib/lz4.c | 1 - lib/lz4_wrapper.c | 1 - lib/lzma/LzmaDec.c | 1 - lib/lzma/LzmaTools.c | 1 - lib/lzo/lzo1x_decompress.c | 3 ++- lib/md5.c | 1 - lib/membuff.c | 1 - lib/net_utils.c | 2 +- lib/of_live.c | 1 - lib/optee/optee.c | 1 - lib/panic.c | 1 - lib/physmem.c | 2 +- lib/qsort.c | 1 - lib/rand.c | 1 - lib/rc4.c | 3 --- lib/rsa/rsa-keyprop.c | 1 - lib/rsa/rsa-mod-exp.c | 1 - lib/rsa/rsa-verify.c | 1 - lib/rtc-lib.c | 1 - lib/semihosting.c | 3 ++- lib/slre.c | 2 +- lib/smbios-parser.c | 1 - lib/smbios.c | 1 - lib/strto.c | 2 +- lib/tables_csum.c | 3 +-- lib/time.c | 1 - lib/tiny-printf.c | 1 - lib/tpm-common.c | 1 - lib/tpm-v1.c | 1 - lib/tpm-v2.c | 1 - lib/tpm_api.c | 1 - lib/trace.c | 2 +- lib/uuid.c | 2 -- lib/vsprintf.c | 1 - lib/zstd/zstd.c | 2 +- 97 files changed, 36 insertions(+), 103 deletions(-) diff --git a/lib/abuf.c b/lib/abuf.c index ce2cff53dc93..937c3df351e9 100644 --- a/lib/abuf.c +++ b/lib/abuf.c @@ -7,7 +7,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/acpi/acpi.c b/lib/acpi/acpi.c index 14b15754f492..40a8ccc0a2df 100644 --- a/lib/acpi/acpi.c +++ b/lib/acpi/acpi.c @@ -5,7 +5,6 @@ * Copyright 2023 Google LLC */ -#include #include #include #include diff --git a/lib/acpi/acpi_device.c b/lib/acpi/acpi_device.c index 1b838fdbd6f0..ed94194346d5 100644 --- a/lib/acpi/acpi_device.c +++ b/lib/acpi/acpi_device.c @@ -6,7 +6,6 @@ * Mostly taken from coreboot file of the same name */ -#include #include #include #include diff --git a/lib/acpi/acpi_dp.c b/lib/acpi/acpi_dp.c index 7e3e3259d8d4..6733809986ae 100644 --- a/lib/acpi/acpi_dp.c +++ b/lib/acpi/acpi_dp.c @@ -6,7 +6,6 @@ * Mostly taken from coreboot file acpi_device.c */ -#include #include #include #include diff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_table.c index a8d4b470001d..e74522e9972e 100644 --- a/lib/acpi/acpi_table.c +++ b/lib/acpi/acpi_table.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/lib/acpi/acpi_writer.c b/lib/acpi/acpi_writer.c index 946f90e8e7b1..a8dc207557b4 100644 --- a/lib/acpi/acpi_writer.c +++ b/lib/acpi/acpi_writer.c @@ -7,13 +7,13 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/lib/acpi/acpigen.c b/lib/acpi/acpigen.c index e395226e3de3..b95cabb91493 100644 --- a/lib/acpi/acpigen.c +++ b/lib/acpi/acpigen.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include diff --git a/lib/acpi/base.c b/lib/acpi/base.c index 2057bd2bef88..63758c99b15e 100644 --- a/lib/acpi/base.c +++ b/lib/acpi/base.c @@ -7,11 +7,12 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include #include +#include +#include void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt, struct acpi_xsdt *xsdt) diff --git a/lib/acpi/csrt.c b/lib/acpi/csrt.c index 2ba86f229529..00927e534063 100644 --- a/lib/acpi/csrt.c +++ b/lib/acpi/csrt.c @@ -7,11 +7,11 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include #include +#include __weak int acpi_fill_csrt(struct acpi_ctx *ctx) { diff --git a/lib/acpi/dsdt.c b/lib/acpi/dsdt.c index db98cc20e1d0..206e1e2678ff 100644 --- a/lib/acpi/dsdt.c +++ b/lib/acpi/dsdt.c @@ -7,10 +7,10 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include +#include /* * IASL compiles the dsdt entries and writes the hex values diff --git a/lib/acpi/facs.c b/lib/acpi/facs.c index e89f43ca5c91..86c28120c7e3 100644 --- a/lib/acpi/facs.c +++ b/lib/acpi/facs.c @@ -7,9 +7,9 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include +#include int acpi_write_facs(struct acpi_ctx *ctx, const struct acpi_writer *entry) { diff --git a/lib/acpi/mcfg.c b/lib/acpi/mcfg.c index 7404ae586ab7..8b8a5bfafae2 100644 --- a/lib/acpi/mcfg.c +++ b/lib/acpi/mcfg.c @@ -7,11 +7,13 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include #include +#include +#include +#include int acpi_create_mcfg_mmconfig(struct acpi_mcfg_mmconfig *mmconfig, u32 base, u16 seg_nr, u8 start, u8 end) diff --git a/lib/acpi/ssdt.c b/lib/acpi/ssdt.c index 659c1aad406b..4c7a715f75db 100644 --- a/lib/acpi/ssdt.c +++ b/lib/acpi/ssdt.c @@ -7,10 +7,11 @@ #define LOG_CATEGORY LOGC_ACPI -#include #include #include #include +#include +#include int acpi_write_ssdt(struct acpi_ctx *ctx, const struct acpi_writer *entry) { diff --git a/lib/addr_map.c b/lib/addr_map.c index 86e932e4b561..f85fb0c7fb1b 100644 --- a/lib/addr_map.c +++ b/lib/addr_map.c @@ -3,7 +3,6 @@ * Copyright 2008 Freescale Semiconductor, Inc. */ -#include #include #include diff --git a/lib/aes.c b/lib/aes.c index 4fca85ebee26..39ad4a990f07 100644 --- a/lib/aes.c +++ b/lib/aes.c @@ -22,9 +22,9 @@ */ #ifndef USE_HOSTCC -#include #include #include +#include #else #include #endif diff --git a/lib/aes/aes-decrypt.c b/lib/aes/aes-decrypt.c index 345029fa7847..741102a4723b 100644 --- a/lib/aes/aes-decrypt.c +++ b/lib/aes/aes-decrypt.c @@ -4,7 +4,6 @@ */ #ifndef USE_HOSTCC -#include #include #endif #include diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index 216d9716d0d6..4e2dbda9a710 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -11,9 +11,9 @@ * #defines from the assembly-language output. */ -#include #include #include +#include #include diff --git a/lib/at91/at91.c b/lib/at91/at91.c index 048597690b1d..bd31e9e41dc1 100644 --- a/lib/at91/at91.c +++ b/lib/at91/at91.c @@ -4,7 +4,6 @@ * Wenyou.Yang */ -#include #include #include "atmel_logo_8bpp.h" diff --git a/lib/bch.c b/lib/bch.c index 72b4fdcc9c44..a309a8dfcba4 100644 --- a/lib/bch.c +++ b/lib/bch.c @@ -54,7 +54,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/binman.c b/lib/binman.c index cfe1e5f80710..9047f5275f32 100644 --- a/lib/binman.c +++ b/lib/binman.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/lib/bzip2/bzlib.c b/lib/bzip2/bzlib.c index bd589aa810c1..f7318b7886e0 100644 --- a/lib/bzip2/bzlib.c +++ b/lib/bzip2/bzlib.c @@ -1,7 +1,6 @@ -#include -#include #include #include +#include /* * This file is a modified version of bzlib.c from the bzip2-1.0.2 diff --git a/lib/bzip2/bzlib_decompress.c b/lib/bzip2/bzlib_decompress.c index 3b417d57b276..e56ab6674b05 100644 --- a/lib/bzip2/bzlib_decompress.c +++ b/lib/bzip2/bzlib_decompress.c @@ -1,5 +1,4 @@ #include -#include #include /*-------------------------------------------------------------*/ diff --git a/lib/charset.c b/lib/charset.c index 5e4c4f948a4a..89057ef7ce22 100644 --- a/lib/charset.c +++ b/lib/charset.c @@ -5,7 +5,6 @@ * Copyright (c) 2017 Rob Clark */ -#include #include #include #include diff --git a/lib/circbuf.c b/lib/circbuf.c index fa79c148dae4..2e161ae8d8ba 100644 --- a/lib/circbuf.c +++ b/lib/circbuf.c @@ -4,7 +4,6 @@ * Gerry Hamel, geh@ti.com, Texas Instruments */ -#include #include #include diff --git a/lib/crc16-ccitt.c b/lib/crc16-ccitt.c index 6cadbc103d3e..6fa4e93ed17c 100644 --- a/lib/crc16-ccitt.c +++ b/lib/crc16-ccitt.c @@ -24,8 +24,6 @@ #ifdef USE_HOSTCC #include -#else -#include #endif #include diff --git a/lib/crc32.c b/lib/crc32.c index f6fad8c15dfc..f36f1763064f 100644 --- a/lib/crc32.c +++ b/lib/crc32.c @@ -11,7 +11,6 @@ #ifdef USE_HOSTCC #include #else -#include #include #endif #include diff --git a/lib/crc32c.c b/lib/crc32c.c index 016b34a523b8..7026ac4c330e 100644 --- a/lib/crc32c.c +++ b/lib/crc32c.c @@ -10,7 +10,6 @@ * any later version. */ -#include #include uint32_t crc32c_cal(uint32_t crc, const char *data, int length, diff --git a/lib/crc8.c b/lib/crc8.c index 87b87b675b27..20d46d161472 100644 --- a/lib/crc8.c +++ b/lib/crc8.c @@ -5,8 +5,6 @@ #ifdef USE_HOSTCC #include -#else -#include #endif #include diff --git a/lib/crypt/crypt-port.h b/lib/crypt/crypt-port.h index 6b9542d75bc2..50dde68b5cde 100644 --- a/lib/crypt/crypt-port.h +++ b/lib/crypt/crypt-port.h @@ -1,6 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 2020 Steffen Jaeckel */ +#include +#include +#include #include #include diff --git a/lib/crypt/crypt.c b/lib/crypt/crypt.c index 247c34b2a9c3..8f5fadb582ed 100644 --- a/lib/crypt/crypt.c +++ b/lib/crypt/crypt.c @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2020 Steffen Jaeckel */ -#include #include #include "crypt-port.h" diff --git a/lib/crypto/x509_public_key.c b/lib/crypto/x509_public_key.c index 30071233ee79..a10145a7cdcf 100644 --- a/lib/crypto/x509_public_key.c +++ b/lib/crypto/x509_public_key.c @@ -7,7 +7,6 @@ #define pr_fmt(fmt) "X.509: "fmt #ifdef __UBOOT__ -#include #include #include #include diff --git a/lib/date.c b/lib/date.c index e3d22459cd05..0deac8a1bee1 100644 --- a/lib/date.c +++ b/lib/date.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include diff --git a/lib/dhry/cmd_dhry.c b/lib/dhry/cmd_dhry.c index 77b52a23003c..e52beaeaadc7 100644 --- a/lib/dhry/cmd_dhry.c +++ b/lib/dhry/cmd_dhry.c @@ -3,9 +3,10 @@ * (C) Copyright 2015 Google, Inc */ -#include #include #include +#include +#include #include "dhry.h" static int do_dhry(struct cmd_tbl *cmdtp, int flag, int argc, diff --git a/lib/dhry/dhry_1.c b/lib/dhry/dhry_1.c index dcc224fb387d..252cd14a656e 100644 --- a/lib/dhry/dhry_1.c +++ b/lib/dhry/dhry_1.c @@ -42,8 +42,8 @@ ***************************************************************************/ char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21"; -#include #include +#include #include "dhry.h" diff --git a/lib/dhry/dhry_2.c b/lib/dhry/dhry_2.c index 1ba879673e30..a74197d884de 100644 --- a/lib/dhry/dhry_2.c +++ b/lib/dhry/dhry_2.c @@ -39,7 +39,7 @@ ****************************************************************************/ /* SCCSid is defined in dhry_1.c */ -#include +#include #include "dhry.h" #ifndef REG diff --git a/lib/efi/efi.c b/lib/efi/efi.c index aa42f1842f33..bcb34d67465d 100644 --- a/lib/efi/efi.c +++ b/lib/efi/efi.c @@ -10,7 +10,6 @@ * Common EFI functions */ -#include #include #include #include diff --git a/lib/efi/efi_app.c b/lib/efi/efi_app.c index 2209410f35b5..a5ffa53b5a4e 100644 --- a/lib/efi/efi_app.c +++ b/lib/efi/efi_app.c @@ -8,7 +8,6 @@ * This file implements U-Boot running as an EFI application. */ -#include #include #include #include diff --git a/lib/efi/efi_info.c b/lib/efi/efi_info.c index 4d78923c4d40..5b564c5651d5 100644 --- a/lib/efi/efi_info.c +++ b/lib/efi/efi_info.c @@ -5,7 +5,6 @@ * Access to the EFI information table */ -#include #include #include #include diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.c index c9eb32ec1046..40fc29d9adf7 100644 --- a/lib/efi/efi_stub.c +++ b/lib/efi/efi_stub.c @@ -9,7 +9,6 @@ * EFI application. It can be built either in 32-bit or 64-bit mode. */ -#include #include #include #include diff --git a/lib/efi_driver/efi_block_device.c b/lib/efi_driver/efi_block_device.c index e3abd90275c8..34a0365739d7 100644 --- a/lib/efi_driver/efi_block_device.c +++ b/lib/efi_driver/efi_block_device.c @@ -28,7 +28,6 @@ * iPXE uses the simple file protocol to load Grub or the Linux Kernel. */ -#include #include #include #include diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c index 66a45e156d60..e1e28df20b2c 100644 --- a/lib/efi_driver/efi_uclass.c +++ b/lib/efi_driver/efi_uclass.c @@ -17,7 +17,6 @@ * controllers. */ -#include #include #include #include diff --git a/lib/efi_selftest/efi_selftest_esrt.c b/lib/efi_selftest/efi_selftest_esrt.c index 922ff253c72c..b7688deb4964 100644 --- a/lib/efi_selftest/efi_selftest_esrt.c +++ b/lib/efi_selftest/efi_selftest_esrt.c @@ -4,7 +4,6 @@ * * Copyright (C) 2021 Arm Ltd. */ -#include #include #include diff --git a/lib/efi_selftest/efi_selftest_miniapp_exception.c b/lib/efi_selftest/efi_selftest_miniapp_exception.c index a9ad381001f9..f668cdac4ab2 100644 --- a/lib/efi_selftest/efi_selftest_miniapp_exception.c +++ b/lib/efi_selftest/efi_selftest_miniapp_exception.c @@ -7,7 +7,6 @@ * This EFI application triggers an exception. */ -#include #include #include diff --git a/lib/efi_selftest/efi_selftest_miniapp_exit.c b/lib/efi_selftest/efi_selftest_miniapp_exit.c index 1c42d6dd400f..8b2e60cc7114 100644 --- a/lib/efi_selftest/efi_selftest_miniapp_exit.c +++ b/lib/efi_selftest/efi_selftest_miniapp_exit.c @@ -8,7 +8,6 @@ * It uses the Exit boot service to return. */ -#include #include static efi_guid_t loaded_image_protocol_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID; diff --git a/lib/efi_selftest/efi_selftest_miniapp_return.c b/lib/efi_selftest/efi_selftest_miniapp_return.c index 45366aa9c638..8792d78ab30f 100644 --- a/lib/efi_selftest/efi_selftest_miniapp_return.c +++ b/lib/efi_selftest/efi_selftest_miniapp_return.c @@ -8,7 +8,6 @@ * It returns directly without calling the Exit boot service. */ -#include #include /* diff --git a/lib/elf.c b/lib/elf.c index 0476b2614c33..9a794f9cba89 100644 --- a/lib/elf.c +++ b/lib/elf.c @@ -3,7 +3,6 @@ Copyright (c) 2001 William L. Pitts */ -#include #include #include #include diff --git a/lib/errno_str.c b/lib/errno_str.c index 2e5f4a887d5b..752d4eb47aa6 100644 --- a/lib/errno_str.c +++ b/lib/errno_str.c @@ -4,8 +4,8 @@ * * SDPX-License-Identifier: GPL-2.0+ */ -#include #include +#include #define ERRNO_MSG(errno, msg) msg #define SAME_AS(x) (const char *)&errno_message[x] diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 7a6916764835..4016bf3c1130 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -7,7 +7,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/fdtdec_common.c b/lib/fdtdec_common.c index ddaca0087e19..ca36ff15952b 100644 --- a/lib/fdtdec_common.c +++ b/lib/fdtdec_common.c @@ -8,7 +8,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/fdtdec_test.c b/lib/fdtdec_test.c index 85351c75ca29..1e4d5fc83264 100644 --- a/lib/fdtdec_test.c +++ b/lib/fdtdec_test.c @@ -6,7 +6,6 @@ * Copyright (c) 2011 The Chromium OS Authors. */ -#include #include #include #include diff --git a/lib/getopt.c b/lib/getopt.c index 8b4515dc1967..e9175e2fff49 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -8,9 +8,9 @@ #define LOG_CATEGORY LOGC_CORE -#include #include #include +#include void getopt_init_state(struct getopt_state *gs) { diff --git a/lib/gunzip.c b/lib/gunzip.c index 932e3e8036d1..e71d8d00ccb5 100644 --- a/lib/gunzip.c +++ b/lib/gunzip.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include diff --git a/lib/gzip.c b/lib/gzip.c index 2595b2d04b42..5d9c19598d5e 100644 --- a/lib/gzip.c +++ b/lib/gzip.c @@ -4,7 +4,6 @@ * Lei Wen , Marvell Inc. */ -#include #include #include #include diff --git a/lib/hang.c b/lib/hang.c index 2735774f9a40..3cfb06e9ca8d 100644 --- a/lib/hang.c +++ b/lib/hang.c @@ -7,9 +7,9 @@ * u-boot. */ -#include #include #include +#include #include /** diff --git a/lib/hash-checksum.c b/lib/hash-checksum.c index 68c290d64d86..1970a741294d 100644 --- a/lib/hash-checksum.c +++ b/lib/hash-checksum.c @@ -4,7 +4,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/hashtable.c b/lib/hashtable.c index f2d36bd34b4c..a0060f6a0d63 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -30,7 +30,6 @@ # endif # endif #else /* U-Boot build */ -# include # include # include #endif diff --git a/lib/hexdump.c b/lib/hexdump.c index 149c93ead8b8..33e3e6e51824 100644 --- a/lib/hexdump.c +++ b/lib/hexdump.c @@ -8,9 +8,9 @@ * more details. */ -#include #include #include +#include #include #include #include diff --git a/lib/image-sparse.c b/lib/image-sparse.c index 323aad981c64..f82890646920 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -35,7 +35,6 @@ */ #include -#include #include #include #include diff --git a/lib/initcall.c b/lib/initcall.c index 33b7d761dc7e..ce317af213ab 100644 --- a/lib/initcall.c +++ b/lib/initcall.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 The Chromium OS Authors. */ -#include #include #include #include diff --git a/lib/linux_compat.c b/lib/linux_compat.c index c83426f59dc2..985e88eb3976 100644 --- a/lib/linux_compat.c +++ b/lib/linux_compat.c @@ -1,5 +1,4 @@ -#include #include #include #include diff --git a/lib/list_sort.c b/lib/list_sort.c index 1c9e06173270..a6e54d5bc46e 100644 --- a/lib/list_sort.c +++ b/lib/list_sort.c @@ -6,7 +6,6 @@ #include #else #include -#include #include #include #endif diff --git a/lib/lmb.c b/lib/lmb.c index da924c6789ac..44f982053101 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -6,7 +6,6 @@ * Copyright (C) 2001 Peter Bergner. */ -#include #include #include #include diff --git a/lib/lz4.c b/lib/lz4.c index 5337842126c8..d365dc727cfd 100644 --- a/lib/lz4.c +++ b/lib/lz4.c @@ -27,7 +27,6 @@ * - LZ4 homepage : http://www.lz4.org * - LZ4 source repository : https://github.com/lz4/lz4 */ -#include #include #include #include diff --git a/lib/lz4_wrapper.c b/lib/lz4_wrapper.c index 67dea2ff3904..4d48e7b0e8bf 100644 --- a/lib/lz4_wrapper.c +++ b/lib/lz4_wrapper.c @@ -3,7 +3,6 @@ * Copyright 2015 Google Inc. */ -#include #include #include #include diff --git a/lib/lzma/LzmaDec.c b/lib/lzma/LzmaDec.c index a90b35c6a993..1da3f0a14a7d 100644 --- a/lib/lzma/LzmaDec.c +++ b/lib/lzma/LzmaDec.c @@ -2,7 +2,6 @@ 2009-09-20 : Igor Pavlov : Public domain */ #include -#include #include #include "LzmaDec.h" diff --git a/lib/lzma/LzmaTools.c b/lib/lzma/LzmaTools.c index 55f64cd28908..400d606784ea 100644 --- a/lib/lzma/LzmaTools.c +++ b/lib/lzma/LzmaTools.c @@ -18,7 +18,6 @@ */ #include -#include #include #include diff --git a/lib/lzo/lzo1x_decompress.c b/lib/lzo/lzo1x_decompress.c index 65fef0b0eb90..5d70fa413379 100644 --- a/lib/lzo/lzo1x_decompress.c +++ b/lib/lzo/lzo1x_decompress.c @@ -11,8 +11,9 @@ * Richard Purdie */ -#include +#include #include +#include #include #include #include "lzodefs.h" diff --git a/lib/md5.c b/lib/md5.c index 1636ab936619..faf3f78ab1ed 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -28,7 +28,6 @@ #include "compiler.h" #ifndef USE_HOSTCC -#include #include #endif /* USE_HOSTCC */ #include diff --git a/lib/membuff.c b/lib/membuff.c index 36dc43a523fb..3c6c0ae125c4 100644 --- a/lib/membuff.c +++ b/lib/membuff.c @@ -6,7 +6,6 @@ * Copyright (c) 1992 Simon Glass */ -#include #include #include #include diff --git a/lib/net_utils.c b/lib/net_utils.c index 4283c13a31d9..c70fef0d991b 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c @@ -9,9 +9,9 @@ * Copyright 2009 Dirk Behme, dirk.behme@googlemail.com */ -#include #include #include +#include struct in_addr string_to_ip(const char *s) { diff --git a/lib/of_live.c b/lib/of_live.c index 812c488f6067..90b9459ede31 100644 --- a/lib/of_live.c +++ b/lib/of_live.c @@ -10,7 +10,6 @@ #define LOG_CATEGORY LOGC_DT -#include #include #include #include diff --git a/lib/optee/optee.c b/lib/optee/optee.c index b03622404469..393f2715a9c1 100644 --- a/lib/optee/optee.c +++ b/lib/optee/optee.c @@ -4,7 +4,6 @@ * Bryan O'Donoghue */ -#include #include #include #include diff --git a/lib/panic.c b/lib/panic.c index 66ae17f3df99..0f578b5b5131 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -9,7 +9,6 @@ * Wirzenius wrote this portably, Torvalds fucked it up :-) */ -#include #include #if !defined(CONFIG_PANIC_HANG) #include diff --git a/lib/physmem.c b/lib/physmem.c index fc90ce4d7cfd..562c74d37f31 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -8,11 +8,11 @@ * Software Foundation. */ -#include #include #include #include #include +#include phys_addr_t __weak arch_phys_memset(phys_addr_t s, int c, phys_size_t n) { diff --git a/lib/qsort.c b/lib/qsort.c index 2f18588dfccd..a2562c4942ea 100644 --- a/lib/qsort.c +++ b/lib/qsort.c @@ -17,7 +17,6 @@ #include #include -#include #include #include diff --git a/lib/rand.c b/lib/rand.c index d256baf5cee7..d6f2977e8dcc 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -7,7 +7,6 @@ * Michael Walle */ -#include #include static unsigned int y = 1U; diff --git a/lib/rc4.c b/lib/rc4.c index 720112d1fd8e..3839924a2b2c 100644 --- a/lib/rc4.c +++ b/lib/rc4.c @@ -7,9 +7,6 @@ * Rivest Cipher 4 (RC4) implementation */ -#ifndef USE_HOSTCC -#include -#endif #include void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16]) diff --git a/lib/rsa/rsa-keyprop.c b/lib/rsa/rsa-keyprop.c index 98855f67b890..80d0594a4303 100644 --- a/lib/rsa/rsa-keyprop.c +++ b/lib/rsa/rsa-keyprop.c @@ -9,7 +9,6 @@ * Copyright (c) 2016 Thomas Pornin */ -#include #include #include #include diff --git a/lib/rsa/rsa-mod-exp.c b/lib/rsa/rsa-mod-exp.c index d259b2aedf27..5b3ea02f82f8 100644 --- a/lib/rsa/rsa-mod-exp.c +++ b/lib/rsa/rsa-mod-exp.c @@ -4,7 +4,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index 2f3b34403913..e194e5433138 100644 --- a/lib/rsa/rsa-verify.c +++ b/lib/rsa/rsa-verify.c @@ -4,7 +4,6 @@ */ #ifndef USE_HOSTCC -#include #include #include #include diff --git a/lib/rtc-lib.c b/lib/rtc-lib.c index 1f7bdade298a..46dcfba27157 100644 --- a/lib/rtc-lib.c +++ b/lib/rtc-lib.c @@ -10,7 +10,6 @@ * - January is month 1. */ -#include #include #include diff --git a/lib/semihosting.c b/lib/semihosting.c index 831774e35664..9be5bffd3012 100644 --- a/lib/semihosting.c +++ b/lib/semihosting.c @@ -4,9 +4,10 @@ * Copyright 2014 Broadcom Corporation */ -#include #include #include +#include +#include #define SYSOPEN 0x01 #define SYSCLOSE 0x02 diff --git a/lib/slre.c b/lib/slre.c index e82a9e7635b1..7d5ed905e4bf 100644 --- a/lib/slre.c +++ b/lib/slre.c @@ -21,8 +21,8 @@ #include #else #include -#include #include +#include #endif /* SLRE_TEST */ #include diff --git a/lib/smbios-parser.c b/lib/smbios-parser.c index 2b9392936b99..b578c3084081 100644 --- a/lib/smbios-parser.c +++ b/lib/smbios-parser.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY LOGC_BOOT -#include #include static inline int verify_checksum(const struct smbios_entry *e) diff --git a/lib/smbios.c b/lib/smbios.c index d7f4999e8b2a..807a021770cb 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -5,7 +5,6 @@ * Adapted from coreboot src/arch/x86/smbios.c */ -#include #include #include #include diff --git a/lib/strto.c b/lib/strto.c index 154921165cb2..5157332d6c1d 100644 --- a/lib/strto.c +++ b/lib/strto.c @@ -9,9 +9,9 @@ * Wirzenius wrote this portably, Torvalds fucked it up :-) */ -#include #include #include +#include #include /* from lib/kstrtox.c */ diff --git a/lib/tables_csum.c b/lib/tables_csum.c index e2630d57d912..636aa5967681 100644 --- a/lib/tables_csum.c +++ b/lib/tables_csum.c @@ -3,8 +3,7 @@ * Copyright (C) 2015, Bin Meng */ -#include -#include +#include u8 table_compute_checksum(void *v, int len) { diff --git a/lib/time.c b/lib/time.c index 00f4a1ac8fb3..872f73d521e1 100644 --- a/lib/time.c +++ b/lib/time.c @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index f661fc65054a..9a70c6095b31 100644 --- a/lib/tiny-printf.c +++ b/lib/tiny-printf.c @@ -8,7 +8,6 @@ * Copyright (C) 2004,2008 Kustaa Nyholm */ -#include #include #include #include diff --git a/lib/tpm-common.c b/lib/tpm-common.c index 82ffdc5341bc..b592c22bfc13 100644 --- a/lib/tpm-common.c +++ b/lib/tpm-common.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_TPM -#include #include #include #include diff --git a/lib/tpm-v1.c b/lib/tpm-v1.c index 60a18ca50400..e66023da5e67 100644 --- a/lib/tpm-v1.c +++ b/lib/tpm-v1.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_TPM -#include #include #include #include diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index bd0fb078dc3c..68eaaa639f89 100644 --- a/lib/tpm-v2.c +++ b/lib/tpm-v2.c @@ -5,7 +5,6 @@ * Author: Miquel Raynal */ -#include #include #include #include diff --git a/lib/tpm_api.c b/lib/tpm_api.c index 3ef5e811794f..39a5121e3028 100644 --- a/lib/tpm_api.c +++ b/lib/tpm_api.c @@ -3,7 +3,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/lib/trace.c b/lib/trace.c index 4874bef861bf..cabbe47b58a3 100644 --- a/lib/trace.c +++ b/lib/trace.c @@ -3,10 +3,10 @@ * Copyright (c) 2012 The Chromium OS Authors. */ -#include #include #include #include +#include #include #include #include diff --git a/lib/uuid.c b/lib/uuid.c index afb40bff507a..0be22bc05f78 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -9,7 +9,6 @@ #define LOG_CATEGOT LOGC_CORE -#include #include #include #include @@ -18,7 +17,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/vsprintf.c b/lib/vsprintf.c index e14c6ca9f966..27ea9c907a32 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -13,7 +13,6 @@ * from hush: simple_itoa() was lifted from boa-0.93.15 */ -#include #include #include #include diff --git a/lib/zstd/zstd.c b/lib/zstd/zstd.c index 3a2abc836734..14bde369068d 100644 --- a/lib/zstd/zstd.c +++ b/lib/zstd/zstd.c @@ -5,10 +5,10 @@ #define LOG_CATEGORY LOGC_BOOT -#include #include #include #include +#include #include int zstd_decompress(struct abuf *in, struct abuf *out)