From patchwork Fri Sep 27 21:32:54 2024 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: 831026 Delivered-To: patch@linaro.org Received: by 2002:a5d:66c8:0:b0:367:895a:4699 with SMTP id k8csp965528wrw; Fri, 27 Sep 2024 14:33:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVn9G/kUmSNqYKE7Q75w4bhM9QTNn6/U0avXzlm67MEpQX2/v6KUNzN3K+0Vm3S9vu2TUkl4Q==@linaro.org X-Google-Smtp-Source: AGHT+IEKrAKg3OMca6BYQAfRUe9n0lHpDVFC5mQfNvG3/HUYtSBSCEjCCswEUQCq+ygtmnm4GXi7 X-Received: by 2002:ac8:5849:0:b0:458:3215:960c with SMTP id d75a77b69052e-45c9f22d8d9mr71582621cf.29.1727472826788; Fri, 27 Sep 2024 14:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727472826; cv=none; d=google.com; s=arc-20240605; b=KQQEjUSGkME3wXyHqLDKnvet5ENUOjKcCKLIhihL+XFM1OFIforu8y3FeOpC7khm6q ftzetEUXjgc/6XjmYw6uFDbfClQ/kYq/qlHveeMG3eAV+ofUIsInR64kPabVhfVcfbPu KAeU3ZCfZu1uOZGvGblhg0Crosih2uQh3NgiievtxJxfvW5GpiVcKBnWQawGLZA6LYUN 7hmQToLTx5d7JcDthxNyYegaRmiPMe3tIwCIizO/A7CWQmTP04Rgeu4E73NNMXzyypHE GyAOBpfvL1Y++2CoMvD6ZA6fKz29J89azhOpH8lm5nR3HhuTmbUGcES2X7g0qYNCav8+ xvHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SzfY49PdtDNfg8MFK3xCv1xPYUCRuDNi4q0ni0OdsL8=; fh=BW+J5nWSZ7J6U6TDMbMRbhbjp/6tRXENCHvGXXYVva0=; b=CcNvfneZzA4wnHl/Wg5xKHAuYKdmbcxDVBSA40YYiYGc6uBzV6wDvj+Z3LdwiCYOX4 a0HrMxP8J0g4/3Ht4XHj+r71jb6WN3LNsbyZnq1YzGLt74LZgmy0dV8ECDrImhm508p7 8Xt3xuDTd2ENI+2nubPBDAbhI0tsesTH4lMGnpm4A0JKK3tFdTAPHDcDzBwF5gCUFFtj bfj3NjcAS/IHph/R+CBOCOqMrR131R6ApUNyjPRgchqsWpa4Rq3Nt09kAlAJo5UVdg7Z uSoPKxFBR095Z8WJu+dTdAYEooe2LzLLaFAO9cwWxBC7cEs+IErLFLCzy9j2qb3isyRW 8TAQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JVX5arCo; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-45c9f328b53si29809001cf.271.2024.09.27.14.33.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Sep 2024 14:33:46 -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=JVX5arCo; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suIaW-00085L-Nv; Fri, 27 Sep 2024 17:33:20 -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 1suIaU-000848-3W for qemu-devel@nongnu.org; Fri, 27 Sep 2024 17:33:18 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1suIaR-0002Bz-73 for qemu-devel@nongnu.org; Fri, 27 Sep 2024 17:33:17 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-42cd46f3a26so22019055e9.2 for ; Fri, 27 Sep 2024 14:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727472793; x=1728077593; darn=nongnu.org; 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=SzfY49PdtDNfg8MFK3xCv1xPYUCRuDNi4q0ni0OdsL8=; b=JVX5arCoYWC+C6Lf40m52DPwvV+ZAfhYckcspO+5YKA+EPlAHQ2vUeTxt+kS8d2QI5 5pbmcvOz1VxbYC7r72dr+f8YX0hyqeZCHAi/F9F0gySJxycfnwwAxKN8Hg7TojjuAFkw QaeVefqccJV1OHK+aMTw24pQldJ6S5k9YVWQgSaRIWUkvj9FXI/xOEtRJO6Xft1oGC6P l8pM0HR09pj94+A3DAuEbqP0EJySbqxVijBIE4Z9O4kviSQFrmiICmcxy9MpOUDGLdjF OVQBX3V6Gsfdde0u+kAyNsmTiMjQZ4Aqwm3P78dh2DNhaN72DIro7KODxapCOXL2yA3U v2WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727472793; x=1728077593; 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=SzfY49PdtDNfg8MFK3xCv1xPYUCRuDNi4q0ni0OdsL8=; b=oABCGH92hADpG3i0yVZXGtXF6ltSbpuRXcP9PeBneDbvDTLCQ4fIFDpnuKUcXmOocA sxuM+vxlLWfwysG8M5jG3UApUNL6vsN7e/qp9TPKKSFeagDkVwMaibVqtoi/UeUwo8XQ txl4Xc4qvTr4YRQSKdJuQhkQ0yzSGgiRh082jFoJPr26riy1/t4LaEOPFwMTC0b0y5rK uazBuIKIaYEdGN1NGCP8IFKqhISoxl3eXSljihvIRD0MJqxpGQah7JlfsfYsvaAGLeKm L5qj+1gJ4kO3cDwjzuOIKT0mwMNIRGdkdZkLw7xbWSC2y23LUatR4eIntwzVYBLD6edV DfLw== X-Gm-Message-State: AOJu0YwVfJSzrAg4xb+X68KJyVAGtZi1bF1OyWq04i4rZvgHhDxBb05b vt+RHOxVWUD551ah6Vk39OjHBsutMwlmTHo77kVEEv9/6TCNgUpAw4Sum2xaravYmgGCQc+Ld4x n X-Received: by 2002:a05:600c:1c23:b0:42c:b6db:4270 with SMTP id 5b1f17b1804b1-42f58432debmr29042835e9.11.1727472793332; Fri, 27 Sep 2024 14:33:13 -0700 (PDT) Received: from localhost.localdomain ([176.187.217.136]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a3622bsm84360715e9.35.2024.09.27.14.33.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 27 Sep 2024 14:33:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Jiaxun Yang , Song Gao , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] hw/loongarch/fw_cfg: Build in common_ss[] Date: Fri, 27 Sep 2024 23:32:54 +0200 Message-ID: <20240927213254.17552-3-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240927213254.17552-1-philmd@linaro.org> References: <20240927213254.17552-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 Nothing in LoongArch fw_cfg.c requires target specific definitions. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/loongarch/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build index bce7ebac97..005f017e21 100644 --- a/hw/loongarch/meson.build +++ b/hw/loongarch/meson.build @@ -1,8 +1,8 @@ loongarch_ss = ss.source_set() loongarch_ss.add(files( - 'fw_cfg.c', 'boot.c', )) +common_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('fw_cfg.c')) loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('virt.c')) loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c'))