Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 20B59C001DC for ; Mon, 31 Jul 2023 03:06:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D480186AB2; Mon, 31 Jul 2023 05:03:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="Xy9aH4cB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B0DB86A4B; Mon, 31 Jul 2023 05:02:49 +0200 (CEST) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 E8FED86A53 for ; Mon, 31 Jul 2023 05:02:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-790976d86a1so66240239f.2 for ; Sun, 30 Jul 2023 20:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690772560; x=1691377360; 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=KBH8UdqZ91sxpMda/kfrF//ukVwqwATrLHrvpzAYcAg=; b=Xy9aH4cBOFRx/+1UqcYZykFSF3WAZJ7XlmcTtuBxf/DdRfUPEGMzSHZVyNFal443ug tGPsiSkJxRGD3sVNpq4wmpkLTxBLCcJamZHs1H/ujOMbzfsyJKDHtpL86uOpkxZdMSyZ jg2y+BkFLEdLRhYaY4RjQgBhDSOpMjMiL2L+E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690772560; x=1691377360; 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=KBH8UdqZ91sxpMda/kfrF//ukVwqwATrLHrvpzAYcAg=; b=Kon/78AlVY236s3f4anOaJw42LWjMepRt10rzxOBx7VQeu8cr5K/Uc+oFD6oOtL8xu IN/PqAygBWqgQ5MpqQFiE2+MQ+HIH2eN2MsPzm3t+p+j6zxpuzmdgYrWYfYEIa8hMmDy 3r3l49dEk7aThaZa5Ov/vR0FCoYMy73aXSnHn88Gzy22QKiixN9WdfNNcufE/xSdo7BC PvZDnN/P4GWS02rYaiM+9DZiRp2vLZtn0I4+Rs/OCaCVYym0aH2A8PXExlIbSZ0Lo/x0 xeJjpqwpURkIgbCtUef/zBLK3uX1V41o5xrw4tz+bO+sV18kCbJ7P1hqIImad+Xeysiu KkXQ== X-Gm-Message-State: ABy/qLazTgfZNtb8NOikHqwHN9agqmLGBx6j+qw8oBFJJbwm1n9Ih0Wp CHj/+03X1HicNEsvbxc/rMqw/TGK6QoQl30X3TI= X-Google-Smtp-Source: APBJJlE4sAn7/6p7bfjy4DA3TCh4E9bKO/r4ug/qB5r6t0wceSrWr/MejUvVLwlPWR3V9U/c7MEhuA== X-Received: by 2002:a05:6e02:1113:b0:348:92ef:ac83 with SMTP id u19-20020a056e02111300b0034892efac83mr6703881ilk.29.1690772560565; Sun, 30 Jul 2023 20:02:40 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id e20-20020a02a794000000b0042bb5a8e074sm2749997jaj.8.2023.07.30.20.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 20:02:40 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Tom Rini , Simon Glass , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 21/22] x86: qemu: Add required linux/sizes.h include Date: Sun, 30 Jul 2023 21:02:04 -0600 Message-ID: <20230731030211.955875-22-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230731030211.955875-1-sjg@chromium.org> References: <20230731030211.955875-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 rely on the config.h file provided this include. Add it explictily so we can move to a text environment. Signed-off-by: Simon Glass --- arch/x86/cpu/qemu/dram.c | 1 + arch/x86/cpu/qemu/e820.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/cpu/qemu/dram.c b/arch/x86/cpu/qemu/dram.c index 595c397d4a4f..1a52d1dc5228 100644 --- a/arch/x86/cpu/qemu/dram.c +++ b/arch/x86/cpu/qemu/dram.c @@ -8,6 +8,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c index 19e54c5202a9..ebfe5956442a 100644 --- a/arch/x86/cpu/qemu/e820.c +++ b/arch/x86/cpu/qemu/e820.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; -- 2.41.0.487.g6d72f3e995-goog