Message ID | 1565510821-3927-18-git-send-email-bmeng.cn@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 EBFCF746 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 11 Aug 2019 08:11:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E11DF26E69 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 11 Aug 2019 08:11:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2EE427CF9; Sun, 11 Aug 2019 08:11:54 +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 83BCA26E69 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 11 Aug 2019 08:11:54 +0000 (UTC) Received: from localhost ([::1]:39326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1hwixF-0001IB-TI for patchwork-qemu-devel@patchwork.kernel.org; Sun, 11 Aug 2019 04:11:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60344) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <bmeng.cn@gmail.com>) id 1hwisx-0006DA-Bg for qemu-devel@nongnu.org; Sun, 11 Aug 2019 04:07:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bmeng.cn@gmail.com>) id 1hwisw-00041m-Ag for qemu-devel@nongnu.org; Sun, 11 Aug 2019 04:07:27 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:33703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <bmeng.cn@gmail.com>) id 1hwisw-00041Y-4Z; Sun, 11 Aug 2019 04:07:26 -0400 Received: by mail-pf1-x444.google.com with SMTP id g2so48249299pfq.0; Sun, 11 Aug 2019 01:07:26 -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=Soss+R8mVg08tv6kS8YP+YW69YI+O20Op04QZAq7bD0=; b=UK+S3cC6PjbuZUPEtEn0+Z+R4lFjV/uyCC5suKsdc4kWh1j3NpbyLbjyLEIpIoSaLZ iivoYHykQkqU9Px1x9C18h9OmjKzQPiWerdxeo8Vi2XLq/IfLIOQLgwsoqPLJTKE3Xe3 TJVCOA28Ktti5OxvcyL5WGvd5HxtAtgzfEKwmLyIK44jma0ceRV7+BQX7sPSCDDW7osT gpQVcd7GJA6CJvCtirENEv6zjC18Ozhps8wAVyfi7AznB67KPQTrWngN/H2ZzuvDDqE4 e1BV7Pm4KDqN4siHl42zijesYbZkz7CLYITEFxPCl+ljwKd0g1kS9HDqbYZM8/EFPKiN PziQ== 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=Soss+R8mVg08tv6kS8YP+YW69YI+O20Op04QZAq7bD0=; b=ly43Q7ntpVuYmdn9NSM2WzAbuBa6Ra+cqVZRmzo6Xp3ykonj5BG/RcYOYQqp4eZv+Y 5qQshwHrapXUGtjqknAJt1IGlAoplfo3T7RgXatRhfD+4ogvLEE+seXesfKSl5xwxL5G eC+Y6VzrfDsSxzzPQPKA7Y+HbW/IMAvUpIzFPO4OOMzJ69Or0VXNegvpfWEl4A8lDZZO T8lvIHhwY7gvyD8ETi9Du4m4osHvKHqb+fWkCjqkoq8vaV7fSJsTGqsXLnupxCZpyjxM +VM2073sEP319BeMcSn2gWzSMWLMskuwFI6lRyI+wF78356CrQWmCGSkwqETEvnJymP7 4+ag== X-Gm-Message-State: APjAAAU7fi+Z3aKbgAHIy9uJ6FVVAknvz1qoDSE6IQrke7+bLDkn+SM5 OOf4YWKl4Qi+kHOdeIgsUt4e4xwd X-Google-Smtp-Source: APXvYqwzATpLu1Z+K1Xn2MWRg4OKMEZIyyvAQdkMxrcFGTu+45E/RTdPYD2BfKuAAaIXDl0ffhO9WQ== X-Received: by 2002:aa7:8102:: with SMTP id b2mr30667127pfi.105.1565510845443; Sun, 11 Aug 2019 01:07:25 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id v8sm87339107pgs.82.2019.08.11.01.07.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 11 Aug 2019 01:07:24 -0700 (PDT) From: Bin Meng <bmeng.cn@gmail.com> To: Alistair Francis <Alistair.Francis@wdc.com>, Palmer Dabbelt <palmer@sifive.com>, qemu-devel@nongnu.org, qemu-riscv@nongnu.org Date: Sun, 11 Aug 2019 01:06:50 -0700 Message-Id: <1565510821-3927-18-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1565510821-3927-1-git-send-email-bmeng.cn@gmail.com> References: <1565510821-3927-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::444 Subject: [Qemu-devel] [PATCH v3 17/28] riscv: sifive_u: Change UART node name in device tree X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
riscv: sifive_u: Improve the emulation fidelity of sifive_u machine
|
expand
|
diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index c0b7498..5022b8f 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -274,7 +274,7 @@ static void create_fdt(SiFiveUState *s, const struct MemmapEntry *memmap, qemu_fdt_setprop_cell(fdt, nodename, "reg", 0x0); g_free(nodename); - nodename = g_strdup_printf("/soc/uart@%lx", + nodename = g_strdup_printf("/soc/serial@%lx", (long)memmap[SIFIVE_U_UART0].base); qemu_fdt_add_subnode(fdt, nodename); qemu_fdt_setprop_string(fdt, nodename, "compatible", "sifive,uart0");