From nobody Tue Nov 11 22:33:47 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1566192625; cv=none; d=zoho.com; s=zohoarc; b=QoIDplaz1jgPXL7VgMLFkHW3ggq2pRS4sH2yoWOCEfrJo2x4SJx4Fs178/Hr1OVlOmYr4HMRFQE/4rnlZBULF3bQAsBT1YKPz9VbRw7voyOajI2cYfuPiwwmVTCV4lZDruQtpSwelVogkp/lZza2YnbQtPIqvPBfyRn/eyVKhfg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566192625; h=Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=P1Efw+GJ/R7uVNYfucxL2Sw5lbopvlmJxyr6rTPycXA=; b=b6JWl9XaTH6KHkGcaezS5UPblQa5717imkbGBWOSstiFKPi0ZrOZpUKZT2EkxAmf575hKdQJwIx6iQUOiEpXBVYElLas5xeSXsYnk6MyAU8netlikANZy/0uhnsxCdBYmWnXgcOCi6pQFZrSmOkclu8qszM5+tO2eTxXNNmdCDw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1566192625640258.1756649588742; Sun, 18 Aug 2019 22:30:25 -0700 (PDT) Received: from localhost ([::1]:44740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzaFM-0001YP-G2 for importer@patchew.org; Mon, 19 Aug 2019 01:30:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzZyB-0005O6-J3 for qemu-devel@nongnu.org; Mon, 19 Aug 2019 01:12:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzZyA-0000D7-Jt for qemu-devel@nongnu.org; Mon, 19 Aug 2019 01:12:39 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:42057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzZyA-0000AP-C9; Mon, 19 Aug 2019 01:12:38 -0400 Received: by mail-pf1-x441.google.com with SMTP id i30so450048pfk.9; Sun, 18 Aug 2019 22:12:38 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id q13sm15464986pfl.124.2019.08.18.22.12.36 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 18 Aug 2019 22:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=P1Efw+GJ/R7uVNYfucxL2Sw5lbopvlmJxyr6rTPycXA=; b=XKVoOqr0qw63Ctvqm84c6QLY26GnHJ2BZATpqQwOEgZLSmq72hPIvwEamjNXHbgo8m ttkL6GZX5mc9PgCpkisPYk850A37slqt7Ii4wQxXveaRNPhYaBVGibRz6m/RSVdZl96H e9JH4rv55kBzK2ZCzKoVSFqLzFgFLpCA5QTckJxjZAHemmG6BaDuqlQuJsUh7OSiaVnX wtpc09Q3poZT2YDXGVym723gXGVimdVl4sKLumyBKEiIotE9QCWubXAm6qXGEB7gKZql uRMIz9bPfiIxf2xmuOar/qCbkIBva8qysRnx7HcR6i0aoY+Dr+aNdC9Y8sJ67TtXQmqM taKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=P1Efw+GJ/R7uVNYfucxL2Sw5lbopvlmJxyr6rTPycXA=; b=XjM9IiHOzQAZAiI2lMeBWG2pysECIuCF+eVxFCllgithdo6U1KijARq7Hy4wxKPoFI NUw8/iIZglYc4IikqyKULAvCEH2ZN8itWTQm8ARW9RbEkAgBBbAgqsCJeL4/ndE6S328 PQI380mgjPMXuPW+IcXs9c2mKOeb7wvk+CXTcJ5rtbToyrcz45yO1y9+4bRqvsMatEAa 0rWBa8ueuzx//TaQ5r1A6BSk8Hp/KlMT9dedzmD86ELKH/D+W5sEotf5+AS1Qm508S5N 7iIDJzXnjxur3PG98p/AU3F/fZo80Ms6Rr8xR7B1xgLf4N2GfhD7O12UDj4WFrel2dlC Rf1g== X-Gm-Message-State: APjAAAWMqVVoI0SSd9UaPKuhF1mFBUdLktay1J2icO0M1UaJfyYoKgll TNLl9vN0rheUG+xdZF90QTw= X-Google-Smtp-Source: APXvYqxunUYY6ovrqC5//ejF5+ZOPLt770EXJiEmXT3aPs/U+mgVZ5oFydrLj7zs1M35m3+44dl3Ew== X-Received: by 2002:a65:68cd:: with SMTP id k13mr18241494pgt.411.1566191557629; Sun, 18 Aug 2019 22:12:37 -0700 (PDT) From: Bin Meng To: Alistair Francis , Palmer Dabbelt , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Date: Sun, 18 Aug 2019 22:12:01 -0700 Message-Id: <1566191521-7820-29-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1566191521-7820-1-git-send-email-bmeng.cn@gmail.com> References: <1566191521-7820-1-git-send-email-bmeng.cn@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::441 Subject: [Qemu-devel] [PATCH v4 28/28] riscv: sifive_u: Update model and compatible strings in device tree X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This updates model and compatible strings to use the same strings as used in the Linux kernel device tree (hifive-unleashed-a00.dts). Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- Changes in v4: None Changes in v3: None Changes in v2: None hw/riscv/sifive_u.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 7d9fb3a..c5cc4bd 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -98,8 +98,9 @@ static void create_fdt(SiFiveUState *s, const struct Memm= apEntry *memmap, exit(1); } =20 - qemu_fdt_setprop_string(fdt, "/", "model", "ucbbar,spike-bare,qemu"); - qemu_fdt_setprop_string(fdt, "/", "compatible", "ucbbar,spike-bare-dev= "); + qemu_fdt_setprop_string(fdt, "/", "model", "SiFive HiFive Unleashed A0= 0"); + qemu_fdt_setprop_string(fdt, "/", "compatible", + "sifive,hifive-unleashed-a00"); qemu_fdt_setprop_cell(fdt, "/", "#size-cells", 0x2); qemu_fdt_setprop_cell(fdt, "/", "#address-cells", 0x2); =20 --=20 2.7.4