From patchwork Mon Aug 5 16:00:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 11077325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0431E14E5 for ; Mon, 5 Aug 2019 16:13:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8D07288EC for ; Mon, 5 Aug 2019 16:13:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCE2128876; Mon, 5 Aug 2019 16:13:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 93D4B28837 for ; Mon, 5 Aug 2019 16:13:47 +0000 (UTC) Received: from localhost ([::1]:55772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hufcI-0004cR-Uu for patchwork-qemu-devel@patchwork.kernel.org; Mon, 05 Aug 2019 12:13:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58802) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hufQ7-0000qg-24 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 12:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hufQ3-0003Dx-S1 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 12:01:10 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:37451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hufPw-00037u-U2; Mon, 05 Aug 2019 12:01:03 -0400 Received: by mail-pg1-x541.google.com with SMTP id d1so7152707pgp.4; Mon, 05 Aug 2019 09:00:58 -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=+v3Lns0tEiQptfKd7eot6+jH+9+BuMFTgvR4ejTal9Y=; b=vXmSi3M4kb1OkhnHlLrwa7kGRZ/YaMwvlUMNa1XDfTVgarDrKhLCWYn804pWZP6flA 6kiKcTUY3SVU4dHNA0aYgyIWrJYEfrZsUbHjlc71X8PYTFfcHwtAVN2uYVovp55Z6tr9 i7fzM/j6OYQQLIJiP1PEcGae6lcQjDL3Q+MVOIFMkFeuDeQPpnbY7XWdwAJROqjRHcDU rIa1Gbmfmu7xnvqOcZ+UgFTXs0sjh8DN4BeIxgvclwclKYgCod98n8ZtPlELAXqvEtwl EEqA4ZgLqT7cvJNKFQGQ2dK3I7b/v0LulPiEHiRXVK2RFiqupd7j4NoMSza0lMQA8xsA 9Byg== 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=+v3Lns0tEiQptfKd7eot6+jH+9+BuMFTgvR4ejTal9Y=; b=JmF/BLWuBLPRjW0ae5Xq8AmRH1Qbj+dQISJWu/vUbvTMUH4lKreZAlBuz6lmoZkM+D I6RPXvEhB0+dzs9y3LGV4dSgm4d3/yEchijBPhHR+ygrp+qaaeRLoJ527u0EfbNTpUtZ kQcfq3g6xWa2ciT7zcY6GqYqUS0oACxynl/DxJ7wCfTtRdN5f2ih88CL5MA6e6oJ4SOx jzuP1PirslDMbUzipzTiAsvHOjaC12o4uPQ2ETjAfTbsrAGXWgrFfyper0dd9RdnUmeu iPiqyYHmkCr8+YihPH9PY8CwnA7E2Y0ns84NwmmEYiAm8fMbZWk/u/LVcuhP/DNKmUQY NWFQ== X-Gm-Message-State: APjAAAVmyzEA9yNMt4Gmrr9o+1vp8egXa8fJUUYcLASI3YqdzsbtaD/I Z2rk80Q09aU03ty7nP6MzO4Wpmur X-Google-Smtp-Source: APXvYqyf7Pql9GEuY6fyWeStjofS4aMQrOYppK1Zc8HSpQjVjD7+DQwzYxFsxQRta3qq2mERnpNohg== X-Received: by 2002:a17:90a:d14b:: with SMTP id t11mr18806309pjw.79.1565020858375; Mon, 05 Aug 2019 09:00:58 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id d18sm47728793pgi.40.2019.08.05.09.00.57 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 05 Aug 2019 09:00:57 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Date: Mon, 5 Aug 2019 09:00:23 -0700 Message-Id: <1565020823-24223-29-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1565020823-24223-1-git-send-email-bmeng.cn@gmail.com> References: <1565020823-24223-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::541 Subject: [Qemu-devel] [PATCH 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 5ded3a0..b7d4b4f 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -94,8 +94,9 @@ static void create_fdt(SiFiveUState *s, const struct MemmapEntry *memmap, exit(1); } - 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 A00"); + 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);