From patchwork Thu Dec 14 18:16: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: 1876353 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=cMZGQvvj; 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 4SrgZp1V3Zz20H6 for ; Fri, 15 Dec 2023 05:18:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4079D87B88; Thu, 14 Dec 2023 19:17:15 +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="cMZGQvvj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E95E787B78; Thu, 14 Dec 2023 19:17: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-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (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 D63A587B5B for ; Thu, 14 Dec 2023 19:17:07 +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-yw1-x1129.google.com with SMTP id 00721157ae682-5e41dc5a4cbso2221467b3.3 for ; Thu, 14 Dec 2023 10:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702577826; x=1703182626; 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=m3c4mFfTM0gvagHXfht3FwwqIIaQSWu+nWCd+cT/EzE=; b=cMZGQvvjAmU+0rydDzT4OH/C3HMasWUtozRgz7cYfGtSrOq0QPxoEX+oziatfQVitJ +IxqBsMpwmXvE7W0oD2OS17YTkTMbTj8SrZauecarnVouDBrfg1de1QkcVRtVQzHhAH7 0JAqmmvnK9pO1cfAw7DXOrue0u5HoSlqNcj7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702577826; x=1703182626; 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=m3c4mFfTM0gvagHXfht3FwwqIIaQSWu+nWCd+cT/EzE=; b=otaeSwwQcVrhrHSgTRmjxQW+0VMOfaY4M1IVZvlI6SbQwwNz/OhXXT7zq+0HbwJbjb c8II0Y5kpCIHfDCOfJ+b2vmsr/wehq2v2oWf1+UWckao/eUvf6wr5lnbhZnt0HtD8iF7 3nb3WZ39mgPq0Yl9Tslj73tINkE9KTUKwvzO0pAMuSsZiUcVPUXBVj6bWXgFCyDmB1xe Diy9i5LkIPfJCpfK6JHvslauCESjy3wbpz4RZx9qe/N/UrQaMHgAVhBs5TLEaMJtyClK TKBI+w1NoXqu9MklvbI3ebTW6znpa1r+4rve3vir68J1kXdAkAm6jEmM3ji+rMyC2SMn orEw== X-Gm-Message-State: AOJu0YwDxbliN5zomccNPVVlpyb1tRSIE+kzGhPO0nsGGPHC10iHIdnd 6X+Eqlm0WSIT1RQxY7pa1SMFnzJ/QnxNHf9keHQ= X-Google-Smtp-Source: AGHT+IGrwKe63F8l1EZFnhMyIKcnOasZOX2iRccvJnkx88DlNdBEZTA6AWz7sDKIgUMhJE6nAdSEyQ== X-Received: by 2002:a81:d541:0:b0:5cb:332e:ab68 with SMTP id l1-20020a81d541000000b005cb332eab68mr8446941ywj.5.1702577825980; Thu, 14 Dec 2023 10:17:05 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-ef43-b142-0a3d-20b7.res6.spectrum.com. [2603:6081:7b00:6400:ef43:b142:a3d:20b7]) by smtp.gmail.com with ESMTPSA id s129-20020a0dd087000000b005d361dd6454sm5665698ywd.87.2023.12.14.10.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:17:05 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: [v2 08/16] sandbox: Add to asm/global_data.h and asm/io.h Date: Thu, 14 Dec 2023 13:16:50 -0500 Message-Id: <20231214181658.3359902-8-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214181658.3359902-1-trini@konsulko.com> References: <20231214181658.3359902-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 --- arch/sandbox/include/asm/global_data.h | 2 ++ 1 file changed, 2 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 */