From patchwork Fri Oct 13 13:02:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 733204 Delivered-To: patch@linaro.org Received: by 2002:a5d:54d1:0:b0:31d:da82:a3b4 with SMTP id x17csp1451856wrv; Fri, 13 Oct 2023 06:03:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEY7//u3TktA64NLs2XnKw3Bjkn/LOE0DuRVdJIRAvvfEwmnDUZR1qZgROhyDBThvAKzxb X-Received: by 2002:a05:6122:218f:b0:496:187e:b33f with SMTP id j15-20020a056122218f00b00496187eb33fmr40706vkd.3.1697202201888; Fri, 13 Oct 2023 06:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697202201; cv=none; d=google.com; s=arc-20160816; b=ceLSraPj8F5ve9I3lRY4bS3O39JLMWiL0wyXXbNTYK60vS8T7rTsqPCinHx1GTIekz Y8TGWprE5uQvjL5bOmrQdGIaFlgf0qWPwPNcCix74LIC/RGNpx8ZFmZRJPrjqNgWobpx 71Z3WQev1GbSpQRONF5ff5nER90TVW8mvDNkLxMERUR1NL3ymrCrp71M6y7QljculjmQ DiJe8qO/iOPtoWHP5dZ1yKZhoQ4vmDlcEhjlz9HQL4hzra0V2w1QaOj23A9rAak6g67s DojvWeOOeezYF8F6wxOMO256rtqp6QrPY1OEwjq8PV7S/423XczhC4zNUxY/0tLxYWA7 3Wig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=NXt4GRVCqNqLdB3FCLiLzM01NS8NIOi7cr1FVPF/4e0=; fh=fFs7UGnVOueAi6qGPTBS6qj6WzX6NsjPEv+QV7hIp5I=; b=UKRX1oNWPNUiwRcK9yaoRgi4gFUlIP38BRV7vTQmJ/+L6hUQQw9iKyWGZeBTPBRooi EzfPh+AkYtuDG0gtgyeNbHB8ZjZL2dzSK4jHCUfMv2DKZmpUvOLhGPTGSUUU6RX6SQJC JtKOfDYVU6KYY/YO0OSAxWQXL++vOlZ5yh03qrVf40pnGB5IKZMksJNW/VoiZd7Y4cBu MLKYQAFzXVXhECc6eJgiJR0DwHakDalkywQE0KrK4sv6pG8HNseuWeH03W4225MXsOlo y3yrRXqBbPiCTc8LIB82fE6qbL2CDWowhAJvDYr5Ghfg8biFEsK24WwcZg33kOIaSA6h y1Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zfgfhLCW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m1-20020ac5c201000000b0049ab8158237si1738911vkk.248.2023.10.13.06.03.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2023 06:03:21 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zfgfhLCW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrHo8-0002oS-Cr; Fri, 13 Oct 2023 09:02:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrHo6-0002nz-OU for qemu-devel@nongnu.org; Fri, 13 Oct 2023 09:02:22 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrHo4-0003mq-9H for qemu-devel@nongnu.org; Fri, 13 Oct 2023 09:02:22 -0400 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-53e3b8f906fso1277963a12.2 for ; Fri, 13 Oct 2023 06:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697202137; x=1697806937; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NXt4GRVCqNqLdB3FCLiLzM01NS8NIOi7cr1FVPF/4e0=; b=zfgfhLCWfyNaIeKfjHyOjGMz4vE2lUvtYb6zCcWGVjGGK40bPo+sVVTyECU1H26VfT VnbjtonZgqEPJdFBM94XgOFdq32j2DQ1bGbiO3Y8bDGunmu1xHNYJo/lndlrUku9XI4Q Gml3FgBbgqaKgo34gTCyRjIIycJlQWXTnUw6i6HSQMSkWzDmCy3DBbmzMWn2GUJl/gKH EULDWlykYwV0bJi8ndok1c7K8h3twbdtvm/pz9MePqUv7/72EMHfHRlrn+hrcKjRx5o+ LFGxC+9SmSFJ3AQAyv8Vc0mf3hmiifZLLX+AINrNAMX+m6b26BQ419qY2+6ZJREtMCuP c0AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697202137; x=1697806937; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NXt4GRVCqNqLdB3FCLiLzM01NS8NIOi7cr1FVPF/4e0=; b=dcxXYwPzv17x5lZprehi863L+heWqSsuOlx6ovxSS3ovQQCmNwZqXpcnFL/TPY+OZO nn7wp8tWc8gXgxgnazuQAs9pczMMp9DRNorK8dmmX0uMUpD2ZyeVBjk7YKjEuqm92V07 yIP0y7tB8Rkt10T4lboSo5dkcEn1wq3pt1q+AgAGlZP1hYA9Gofsp6j3Os04jlmSdBaM p6sKdTbNDUeNROQGC9OMygt8k5hnruHoZLCMchO2l3JjZmrkLzVoRcKKb/3NPi8qf2nO juIIAW//i7AZgfGmi++z2fF2rD71m6o9YJSgyrngchWYLMvAbFsu/irJ4H5TBspbuZw4 kECA== X-Gm-Message-State: AOJu0YwzdrohYuF1xejaOnAAyJPaRSvDTARSXLygzrOtwhztwbbjhbPT MRCPYjY3atkdFVVZDrdZDleKDYGc8jnJfeu9bNA= X-Received: by 2002:aa7:d588:0:b0:525:6c9f:e1a3 with SMTP id r8-20020aa7d588000000b005256c9fe1a3mr23006574edq.20.1697202137472; Fri, 13 Oct 2023 06:02:17 -0700 (PDT) Received: from m1x-phil.lan ([176.172.118.168]) by smtp.gmail.com with ESMTPSA id bx21-20020a0564020b5500b0053e163a1ca0sm1932929edb.1.2023.10.13.06.02.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 13 Oct 2023 06:02:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/arm/exynos4210: Get arm_boot_info declaration from 'hw/arm/boot.h' Date: Fri, 13 Oct 2023 15:02:14 +0200 Message-ID: <20231013130214.95742-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=philmd@linaro.org; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org struct arm_boot_info is declared in "hw/arm/boot.h". By including the correct header we don't need to declare it again in "target/arm/cpu-qom.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/hw/arm/exynos4210.h | 2 +- target/arm/cpu-qom.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/hw/arm/exynos4210.h b/include/hw/arm/exynos4210.h index 68db19f0cb..d33fe38586 100644 --- a/include/hw/arm/exynos4210.h +++ b/include/hw/arm/exynos4210.h @@ -30,7 +30,7 @@ #include "hw/intc/exynos4210_gic.h" #include "hw/intc/exynos4210_combiner.h" #include "hw/core/split-irq.h" -#include "target/arm/cpu-qom.h" +#include "hw/arm/boot.h" #include "qom/object.h" #define EXYNOS4210_NCPUS 2 diff --git a/target/arm/cpu-qom.h b/target/arm/cpu-qom.h index 514c22ced9..d06c08a734 100644 --- a/target/arm/cpu-qom.h +++ b/target/arm/cpu-qom.h @@ -23,8 +23,6 @@ #include "hw/core/cpu.h" #include "qom/object.h" -struct arm_boot_info; - #define TYPE_ARM_CPU "arm-cpu" OBJECT_DECLARE_CPU_TYPE(ARMCPU, ARMCPUClass, ARM_CPU)