From patchwork Mon Aug 5 16:00:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 11077285 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 BB2251398 for ; Mon, 5 Aug 2019 16:06:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A829D286C0 for ; Mon, 5 Aug 2019 16:06:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A2E8286D5; Mon, 5 Aug 2019 16:06:29 +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 54F5C286C0 for ; Mon, 5 Aug 2019 16:06:29 +0000 (UTC) Received: from localhost ([::1]:55570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hufVE-0001kB-N1 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 05 Aug 2019 12:06:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58373) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hufPb-0000Jx-Pd for qemu-devel@nongnu.org; Mon, 05 Aug 2019 12:00:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hufPa-0002rJ-Qx for qemu-devel@nongnu.org; Mon, 05 Aug 2019 12:00:39 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:41882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hufPa-0002qe-L7; Mon, 05 Aug 2019 12:00:38 -0400 Received: by mail-pf1-x441.google.com with SMTP id m30so39884295pff.8; Mon, 05 Aug 2019 09:00:38 -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=4njfrOWQQMyLEX/rfHOtnIEzjwmjoWXLAc2Ndz0IW6c=; b=bkSpI3/5lKu6DEO+/4bYFMyPoc/GWN6bwf2h7On0Tpvl/beL252Tglz+hZtX/FHj5n OWfIHvPHALcGGaGmFSDSRQlKI6kCB7J7eyKz9mMLUjk4EbLfpnrneFtsUGoqLU0Hv1gm 7O9sbjgF8rO22e4+D7aL+qh8c108Bcz8aagxGAiyf+rPiyqudQrKgBP/xuaBnDTL/uTz mMAdoKUCUfyUfnGsMKU6JIq354IyA/RLm4U8k/7PWroBSPjnbL86f3/K22Ha3MGO3Get U+qXZf35wOeE3HAauh3Ro9DcyaJsyMU3/KXZI3lCAi5EFV0Wm1coegIgZnB3ITMiWooO lleg== 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=4njfrOWQQMyLEX/rfHOtnIEzjwmjoWXLAc2Ndz0IW6c=; b=j3XmeHigaZR6w4ve0/XkBThfuvnEg2NEy0221VvxM71sgZ4QxFciPre0/TRkwD+JSg nQfVc3+0YBVTtuC59mWj3Kff7B+pvytBiexpKATZpqj5+rcr3hy/SAHuJanGhN4QUx/O FOhZzq7etfVokXB2r83dTTplcOcTiEC3Jfe53p1aAj5+aSSt75FZ+7keqkJJxTGw+Em3 +3qtKz+hfgP2XBPTaey7Rd4ICUgOucAgqd5JMlnrIKpdxcwNlI/sfS7sN7W8mi/I0W9f 2OrVIwVsKqwJJ6Xz9CIxCdc+7wo9GGlMoRxcDOUhEdtaH62YU6Xp1YMJNaVapzC+Q/kj aBTw== X-Gm-Message-State: APjAAAV1BR5dvG6pxI5Ug0zi0DRyd9CqqRSqvsbeoRQbE2My3R3Qv4ic DWLW+8u2NhrWnk/Ci33P4c4= X-Google-Smtp-Source: APXvYqzKpcUeJFDxc35XZPwJ9AmRY4g0sH7xbrazO60YoJYAFLsrq39tnRsk97uzg0ZwXX+ctoeOOA== X-Received: by 2002:aa7:97aa:: with SMTP id d10mr55989869pfq.176.1565020837917; Mon, 05 Aug 2019 09:00:37 -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.36 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 05 Aug 2019 09:00:37 -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:04 -0700 Message-Id: <1565020823-24223-10-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::441 Subject: [Qemu-devel] [PATCH 09/28] riscv: sifive_u: Update UART base addresses 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 the UART base address to match the hardware. Signed-off-by: Bin Meng Reviewed-by: Jonathan Behrens Acked-by: Alistair Francis --- hw/riscv/sifive_u.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index b235f29..9f05e09 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -60,8 +60,8 @@ static const struct MemmapEntry { [SIFIVE_U_MROM] = { 0x1000, 0x11000 }, [SIFIVE_U_CLINT] = { 0x2000000, 0x10000 }, [SIFIVE_U_PLIC] = { 0xc000000, 0x4000000 }, - [SIFIVE_U_UART0] = { 0x10013000, 0x1000 }, - [SIFIVE_U_UART1] = { 0x10023000, 0x1000 }, + [SIFIVE_U_UART0] = { 0x10010000, 0x1000 }, + [SIFIVE_U_UART1] = { 0x10011000, 0x1000 }, [SIFIVE_U_DRAM] = { 0x80000000, 0x0 }, [SIFIVE_U_GEM] = { 0x100900FC, 0x2000 }, };