From patchwork Fri Jan 10 16:01:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 856265 Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp304083wrc; Fri, 10 Jan 2025 08:06:28 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWgJizWhPlwJXIotPDst5j0URt3zwdN3uvV20bclgyMgPYhNVH5DGkH5XPdy8YWx+Dv/Pj2LQ==@linaro.org X-Google-Smtp-Source: AGHT+IE3LyKzaeWKrSeEh8Yxx9cqYWuocugaHzNlEaWr/ySE9WAs8NpI4sB85bEGfLUWV+IrdIZq X-Received: by 2002:a5d:5f52:0:b0:385:e8b0:df13 with SMTP id ffacd0b85a97d-38a87308ab0mr10624572f8f.40.1736525188137; Fri, 10 Jan 2025 08:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736525188; cv=none; d=google.com; s=arc-20240605; b=j+hfKysMDRgtkBgec054AsOB0RHGqSpPF1hYu+9ArGMvvCgz1Tp4RYKMt0/C7IALnx fwLwRnn2ZXvTKlof1n8d9pKDsL7eNGJR8VvPiMMyeqYZNrkFTc59FzktgYfOAADT5cFG Bzwq72qMv7jWZgxtYlSMVIn0YwvptkDdhl2mf1SalEzgQR9FVUPXGPwDrDOSRPvdygcn Z/GRU5WdaFQRUNkPmOO34eHAFCchwuDsbecypscdpJkbi0+tvoKOJZubsjC+JTk39RKd E5cqd/ZuSlyhRrQiA+8NDmeesJw/g/yWrHRbu2rZco7eqSUE6L2AyoxzeOHHLi7NBY3p hEKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f63ecg0nif+jK+DGCLVe+u7mEjni/luwZDTHSRxVLnk=; fh=Uq4CCH4qgIScoA1ZlzK6h1LD8Rw6xac8JtYTs6G5zlc=; b=dE1QSE1B3C7HOfuS/3Y9jJ9eM87lRiOtUTtaKRD8/JUyE+aFc4wBllhVxODi+p9ezO gZzM/YnvYQ5J8CPpTUtH4gWHhfvTTWLp4ujIs5AgDYQbxqi1m+xzVNT9u1ugpuA3hD11 3clz+mWIfSm4LHTigCwSqX9hF71/AGz3QdUy5P+seVd/w6kT4GWZeOab8DFuTvznAAf3 PqG5d4AOdCCr/RE+vU8BZiAncn3w9Pi1mDQ/tDv7No/GrIz/o1dZtVbrsLdOSez8/18V zVQWRZJHOhZmP0B84OJpNQD53hzFmOhZ+jVDKc5dCstcDqxlwQ9OMCPHFIl7anJ+H9Nu +dkA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K6NlI/3L"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-38a8e4dd588si2668146f8f.700.2025.01.10.08.06.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Jan 2025 08:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="K6NlI/3L"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWHTp-0007ie-CT; Fri, 10 Jan 2025 11:03:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWHSt-0007GS-UV for qemu-devel@nongnu.org; Fri, 10 Jan 2025 11:02:29 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWHSo-0004DD-MY for qemu-devel@nongnu.org; Fri, 10 Jan 2025 11:02:25 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43621d27adeso16641315e9.2 for ; Fri, 10 Jan 2025 08:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736524940; x=1737129740; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=f63ecg0nif+jK+DGCLVe+u7mEjni/luwZDTHSRxVLnk=; b=K6NlI/3LfsFjXpj7n1dvjxw9nJ0wR6RQ6h1cmakTekEknBKEBgY2mG9wX9rrN9AKaF BhgQd+o5lY6j/YuTpyKopSTBpfEwN/ZOiB942Yq+Xow0goFaM3w/eY2wHXC1L5aNbxZa JQDQ8gZVOu8mQO/MxiuBKQnJsgFiS02EVLtYUmQLSlKKIuCqnf/bNIFSKmYYSQICvqPs YhKoq4ky/odDjektYA4KZBneeP+E8YJxyO4xBLOcH0j4vaJfxvkW2+HWWjjHFiCLBChB mRq9MmNRIB2zvPBd66qk5kmqZTQa+WDPbxaFCybDIV5sy8mKwL6MXFlLq8tk8WZsCkGi sa1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736524940; x=1737129740; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f63ecg0nif+jK+DGCLVe+u7mEjni/luwZDTHSRxVLnk=; b=qVAElYiYMhaNHeCrUcGi+NcA9ZpWZYXLRTsPVdX5+FrGp22ZdvwxiULGRKSvxcKcv0 na92yroUeHSx5MEFE2MgkWuCS1E+hw0WrKyJg3QpG03/0jrV7U+u+E/UL+b/gYw7zHUA /UnJcDXdGs4htxTmgGfORfOtsAlLUA5NUQreMJUF/kkvGURjoyBQmjtEQteE/hVEQR1s 47WrLx6LfF8vaJN1Aewvc1DxmRA7TKnM7m0FqGwTnvH/NbFvXf90rV2x4R+EsczepPZ0 7Vfems46pwxv9Z88SbKTAOB4TpC8Iqp4rCWPWlIyT4KPiSwbTEfVBTmO4S9krt6GcQHZ h8Zg== X-Gm-Message-State: AOJu0YyDvLbNyjM8momJ9dnCgB7T9D6O1i4VAYFFjk4gq7xgEopXx6Nx Uzt786Xm8sNb5YB5k+RrD3r2rAHtHOHLmPZEDdrp9ckWjVx+DoWpn/e83njpcVYyeYFHmBkbvAd cSJY= X-Gm-Gg: ASbGncsL4TJBj1WCZgXTa1WldOYpQBRGhAbFq5YxAmqT9E0L1FjhwP0QvPB9ea/IiH+ reiTVpCSacKTnnAlhozLL7QlLQAAQNNe7FcW5Ymb8HP0oytiRZ1mHhabHBAmoD6x69m5mC/no06 cab3VY/XougsQDMVhHXu3HgSWrQHj+6v7FpO4JdeZehmfEoeBiUQGZ+zrMtTbxAvS5C/onlXMQN E1S7d9bXl5jZANuPcSJY/PpJELTLMpk72gH4REQrun7BxxUmIbZoVa3wdstaqz3q+hBxZMOHqq2 S+EfjmthYFV0NGNU/rbUhZVOmsuyvLo= X-Received: by 2002:a05:600c:3b02:b0:434:f5c0:328d with SMTP id 5b1f17b1804b1-436e26d971emr94638765e9.23.1736524939809; Fri, 10 Jan 2025 08:02:19 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2da63eesm90389005e9.3.2025.01.10.08.02.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 10 Jan 2025 08:02:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/9] hw/arm/stellaris: Remove incorrect unimplemented i2c-0 at 0x40002000 Date: Fri, 10 Jan 2025 17:01:58 +0100 Message-ID: <20250110160204.74997-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250110160204.74997-1-philmd@linaro.org> References: <20250110160204.74997-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org There is nothing mapped at 0x40002000. I2C#0 is already mapped at 0x40021000. Remove the invalid mapping added in commits aecfbbc97a2 & 394c8bbfb7a. Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/stellaris.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index 7c9e7e6c15b..254f7a234bf 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -1001,7 +1001,6 @@ static void stellaris_init(MachineState *ms, stellaris_board_info *board) * http://www.ti.com/lit/ds/symlink/lm3s6965.pdf * * 40000000 wdtimer - * 40002000 i2c (unimplemented) * 40004000 GPIO * 40005000 GPIO * 40006000 GPIO @@ -1356,7 +1355,6 @@ static void stellaris_init(MachineState *ms, stellaris_board_info *board) /* Add dummy regions for the devices we don't implement yet, * so guest accesses don't cause unlogged crashes. */ - create_unimplemented_device("i2c-0", 0x40002000, 0x1000); create_unimplemented_device("i2c-2", 0x40021000, 0x1000); create_unimplemented_device("PWM", 0x40028000, 0x1000); create_unimplemented_device("QEI-0", 0x4002c000, 0x1000);