From patchwork Thu Jan 11 21:04:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10158613 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DC19D601A1 for ; Thu, 11 Jan 2018 21:24:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBC662882E for ; Thu, 11 Jan 2018 21:24:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C02E728865; Thu, 11 Jan 2018 21:24:15 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 583972882E for ; Thu, 11 Jan 2018 21:24:15 +0000 (UTC) Received: from localhost ([::1]:43366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZkKc-0004UK-6F for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Jan 2018 16:24:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZk2a-0004uN-Vk for qemu-devel@nongnu.org; Thu, 11 Jan 2018 16:05:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZk2a-0008VY-6D for qemu-devel@nongnu.org; Thu, 11 Jan 2018 16:05:36 -0500 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:44314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZk2Z-0008Uu-VO for qemu-devel@nongnu.org; Thu, 11 Jan 2018 16:05:36 -0500 Received: by mail-lf0-x244.google.com with SMTP id w23so3974252lfd.11 for ; Thu, 11 Jan 2018 13:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vfyDe1yASpSgIokLRwgVYKbDZcU2NQQtsXlfRe4NzF4=; b=gUPFRWOnx/5bWt2YMd9PutxdCgC8KqvIBJHVMJfgWWybueXuSgKCIlaGNHPyQMnMXm mqwVarBao5WkyeaOmCEZTdH4O1TpnXpX5CJ+Bl6QmQSStY4xFVrxmcJPG1nUxSRmGntN r2W0T6/G4JKxUfYOCUtyqevB3jLXD5x9tvOP0e+wYwyJStVHBH1TSCDrAq8kwjE681/z ryXnDpBFQLUweEwgyjzWmUssizqNzWUx/U9wTdWy+UjVbGUuF7DHJkwdiN8sSNZ4Sawd zwVCgt0PXptnD/S6MYn1N5P99/+pVjHyraCUfJGIf7QWPQppMCcjB63r/KEF4rn9rWgA heiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vfyDe1yASpSgIokLRwgVYKbDZcU2NQQtsXlfRe4NzF4=; b=j59x2/CC5PTWZqjBv6yVUfTAIDoNxW5YiXLDS/3l0HC02P06Q04BPTjKTJK5s1tzFg D7ALb4qYHkJW4JxMJSBDPZurCJk3INCvCPYjMXhf+ApIqD6Rinf1AHMNqLWqeuyRwhvs sJxBs4xWc85stxZ0dH3RGN/xKzQzBlC0MUNBvvov6ra6d3u1ZW4bDqqwmPVEBnW1e1an 2ttTPFkjX/dQP3+Rlfsf67CzdPRFpgM98l5ismnPGb6vV7GeFhA4LRHi/qAROSiC2l0G bEux4N6+qyG1yUx6mY5bX2lb+tclv9IZmkLVr6n8Ai59X2G692UsxkYiF1IS4C3+P87k tsaQ== X-Gm-Message-State: AKwxytf42d9pnkHRgsqaEvf0oxMB2ZYqmqmXdXdS82z6v+m6qpz+vv8q jQg6RRPO6YlrDfA46hKy7w/9Sg== X-Google-Smtp-Source: ACJfBovdvsiUXIClMZje3Fd+lw22DLT0ky1DJ1d1jqeLaCaGCAXkx97TCxYsEkXwRCVUcDFy7tgo0w== X-Received: by 10.25.198.201 with SMTP id w192mr4942224lff.40.1515704734423; Thu, 11 Jan 2018 13:05:34 -0800 (PST) Received: from octofox.com (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id f126sm2313225lff.82.2018.01.11.13.05.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Jan 2018 13:05:33 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Thu, 11 Jan 2018 13:04:57 -0800 Message-Id: <1515704703-10347-4-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1515704703-10347-1-git-send-email-jcmvbkbc@gmail.com> References: <1515704703-10347-1-git-send-email-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH 3/9] target/xtensa: fix default sysrom/sysram addresses X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP noMMU configs had wrong sysrom and sysram base addresses, fix them. Signed-off-by: Max Filippov --- target/xtensa/overlay_tool.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/xtensa/overlay_tool.h b/target/xtensa/overlay_tool.h index 12bde447961d..589dd6285089 100644 --- a/target/xtensa/overlay_tool.h +++ b/target/xtensa/overlay_tool.h @@ -342,24 +342,24 @@ .dtlb = TLB_TEMPLATE #ifndef XCHAL_SYSROM0_PADDR -#define XCHAL_SYSROM0_PADDR 0x60000000 +#define XCHAL_SYSROM0_PADDR 0x50000000 #define XCHAL_SYSROM0_SIZE 0x04000000 #endif #ifndef XCHAL_SYSRAM0_PADDR -#define XCHAL_SYSRAM0_PADDR 0x50000000 +#define XCHAL_SYSRAM0_PADDR 0x60000000 #define XCHAL_SYSRAM0_SIZE 0x04000000 #endif #else #ifndef XCHAL_SYSROM0_PADDR -#define XCHAL_SYSROM0_PADDR 0x60000000 +#define XCHAL_SYSROM0_PADDR 0x50000000 #define XCHAL_SYSROM0_SIZE 0x04000000 #endif #ifndef XCHAL_SYSRAM0_PADDR -#define XCHAL_SYSRAM0_PADDR 0x50000000 +#define XCHAL_SYSRAM0_PADDR 0x60000000 #define XCHAL_SYSRAM0_SIZE 0x04000000 #endif