From nobody Thu Nov 13 22:02:53 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1582894642; cv=none; d=zohomail.com; s=zohoarc; b=hhGabHoYkLPk8TphiOta1Gg5lSnHXRx5VBctgcakGHb8M7Dqow7NO2olBixJbmwkQKzTeaNHmqZdszsc+R22dDNcQ9v9JSc7yyQ3k3W2Zq7CrstjQSKU7sahsg/INmjSi2xklsM2a38/U1de0DElEGCI/GXr5nSMYo136BmhGe8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582894642; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=RFVTFY7GEBgh7q7HWz8/cePShORRz7+aAiJuxr5/kZA=; b=FXV7iI27xqOynhsXpJW3t+i2seniwxIB6cc0tY2uocVChWavKRAp6H99gDGWkBxl3tbEaaPpKFfWBqq3zh9ZQCuNrI+nmsc2HgLF2GiJdmLebxqfDPuPsCo/pBsPU+TUYkqJiiLQmfK2hZoP2Kydw9o9m1GqHKCRgE7qa/5Cj0g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1582894642095523.942151254637; Fri, 28 Feb 2020 04:57:22 -0800 (PST) Received: from localhost ([::1]:46542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7fCg-0001kK-CV for importer@patchew.org; Fri, 28 Feb 2020 07:57:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7fA1-0005kr-Mc for qemu-devel@nongnu.org; Fri, 28 Feb 2020 07:54:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7fA0-0002vB-NY for qemu-devel@nongnu.org; Fri, 28 Feb 2020 07:54:33 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:22812 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7fA0-0002uP-JF for qemu-devel@nongnu.org; Fri, 28 Feb 2020 07:54:32 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-156-3gN0aA4ZOJCIBD82HLGzfw-1; Fri, 28 Feb 2020 07:54:28 -0500 Received: by mail-wm1-f71.google.com with SMTP id q20so85241wmg.1 for ; Fri, 28 Feb 2020 04:54:28 -0800 (PST) Received: from x1w.moovbox.local ([185.102.219.36]) by smtp.gmail.com with ESMTPSA id y7sm340988wrl.26.2020.02.28.04.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 04:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582894470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RFVTFY7GEBgh7q7HWz8/cePShORRz7+aAiJuxr5/kZA=; b=TcW+qkUoUEku5KnqvIL1YpKS4CWkaO7VYLUWLLz723hs1CX1XJOGfVGAsVkeuozNXpxRYF ycovKlI5EmQ+oABcMcKn5YzMC+tpEdYXWrjoiKvQV3d5USwZ8/unpmdLpL4+5AdmaxNvY6 9FBnB6FMnydfMBHP0DQXFKmB4ApkQL0= X-MC-Unique: 3gN0aA4ZOJCIBD82HLGzfw-1 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:mime-version:content-transfer-encoding; bh=K6aC7TQ6a+95A3Kf8tkZ4l6ui47wA33c90/e4cK4bZs=; b=kmUW1ZA9kUWacPqDL3ieeJOHrmTndf0/d0qC4g1a9QgAtvSQCxqnufpKjVZZvsN6b0 Iq1SAYGz49fV9Zh2ecMSsjuBji3OMUcudmnEKJWDxlxiPZJS6WnFeVYmBzqn4bSinxWz 8G3e5yzsdUQOr9jnMnMAl2kGc+5mg1vAjHcC0fk4WXcqjVqWTds89oNSw1A1SydIeHY2 m5Wryr8ESgIzp4TSg/zoeW4J9i81GtINJcO0619Lavp+iJ/Yb0tZsZ3WHDuOxc7Kf4tW 5DR9Zm9uDRM6pMUSn1oxdL289XfHfh2uZL+TQaBVrnPREiSbvyc8Cdzzb+BHQFrq5qZb hBXw== X-Gm-Message-State: APjAAAUvpjEhWSUE2MMyWVooy5beUUvMAvyI/H/NLNFCpE4iutnHonJw g7ul27XOekXH+VzAPwsSsHCe1yS74X/rQ0dTxU41UxR1+DVdlBY+RC5kF8AbSGjIqcgmCP5+A38 +JPoS8HqTRpPeFfs= X-Received: by 2002:a5d:6acf:: with SMTP id u15mr4981948wrw.182.1582894466975; Fri, 28 Feb 2020 04:54:26 -0800 (PST) X-Google-Smtp-Source: APXvYqw7z8D4EeKLFPXzjEbjIsJrYk6RlFT4N3p3BB47Ow70QZgCfP2Gtp3/SeLJ/mnkUQyXiuMgQA== X-Received: by 2002:a5d:6acf:: with SMTP id u15mr4981927wrw.182.1582894466774; Fri, 28 Feb 2020 04:54:26 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 5/5] hw/arm/musicpal: Simplify since the machines are little-endian only Date: Fri, 28 Feb 2020 13:53:51 +0100 Message-Id: <20200228125351.29482-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200228125351.29482-1-philmd@redhat.com> References: <20200228125351.29482-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.61 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: , Cc: Peter Maydell , qemu-arm@nongnu.org, Jan Kiszka , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" We only build the little-endian softmmu configurations. Checking for big endian is pointless, remove the unused code. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/musicpal.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index db8b03cb83..b2d0cfdac8 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1645,22 +1645,12 @@ static void musicpal_init(MachineState *machine) * 0xFF800000 (if there is 8 MB flash). So remap flash access if t= he * image is smaller than 32 MB. */ -#ifdef TARGET_WORDS_BIGENDIAN - pflash_cfi02_register(0x100000000ULL - MP_FLASH_SIZE_MAX, - "musicpal.flash", flash_size, - blk, 0x10000, - MP_FLASH_SIZE_MAX / flash_size, - 2, 0x00BF, 0x236D, 0x0000, 0x0000, - 0x5555, 0x2AAA, 1); -#else pflash_cfi02_register(0x100000000ULL - MP_FLASH_SIZE_MAX, "musicpal.flash", flash_size, blk, 0x10000, MP_FLASH_SIZE_MAX / flash_size, 2, 0x00BF, 0x236D, 0x0000, 0x0000, 0x5555, 0x2AAA, 0); -#endif - } sysbus_create_simple(TYPE_MV88W8618_FLASHCFG, MP_FLASHCFG_BASE, NULL); =20 --=20 2.21.1