From patchwork Mon Jan 9 12:01:49 2023 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: 640646 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp2135167pvb; Mon, 9 Jan 2023 05:32:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFEdADu11CMIb+TJskkCBpueZxBH+s3oU36BV7kcFSpRtSQA4hQYHgCJT7OHDjhM8ceV8N X-Received: by 2002:a25:88a:0:b0:74a:7a00:e3fc with SMTP id 132-20020a25088a000000b0074a7a00e3fcmr45127726ybi.37.1673271168933; Mon, 09 Jan 2023 05:32:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673271168; cv=none; d=google.com; s=arc-20160816; b=lXLPTOovG55d0etnsf5vnNjlmvjSxVnAWiPGUpmTpoyQCGNxYpdiHqyrNQz5iuN397 JqsCMrXLP2GiYo7kE5pCvii9dwV1G6yZdnq870iOQg6j8XMlhA9oZ7Y6Qf1qOcUmblAv GXrnyaElePNQAOvEtKbtvFYIk8CUbvXhkv5RerM5JZ9I0as2MVO9ga1mNso2IcGsFH38 mAx0OYFG7hq+Kemqd0DwhakmMRIjczrZma+HY5Jbc4O7eCHwDGBvCY3zLUUuIJWWAC1D rIoPeja25ZwQ279RieR7pSaoazu5UqUIN0zD63k9E1EjcE1uEqJDeVqZut7zejI3iV9X No+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=eaIo71wEppzNboWDo3gtAwm6cZm3yvCPLcZVHzqS25Y=; b=x4hTgyynBr31SbnZyW4X6hCVpVw3JcoG7GY3WkyxvBKsrUQ/VNe1ujPSVoMAM7E8Le M0zyIyRPM3H+R6UrJM8+ibBUirFmTyy3kNpZp0r+i2FDdyZcPKwUuHEHvvtNaHXEjgqG Ch/G88JKjDuJnGa44DKKepQoyFt6vK+7SGiEkqbOx+lZs0oHtPVr/LQUyXCwaI880Mqe dZzW/MDmPxAivJhGAaO1v9+EijpYUg40+FP/rDXZ6MpQSK6Y4kQP0utEAJEpWWLwM8IE 56U8ZQ79xn0pnL+1HHGKkGKMd63kqIwuhPE/wSX+ZpyvdxZACTj6hx/cotZE+YmbvXQu rQcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ayJskYNS; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j25-20020a05620a0a5900b006ee95e3196esi4192500qka.162.2023.01.09.05.32.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jan 2023 05:32:48 -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=ayJskYNS; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEqqu-0005qK-I7; Mon, 09 Jan 2023 07:02:08 -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 1pEqqn-0005lZ-7Y for qemu-devel@nongnu.org; Mon, 09 Jan 2023 07:02:06 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEqqk-0001tX-DN for qemu-devel@nongnu.org; Mon, 09 Jan 2023 07:01:59 -0500 Received: by mail-wm1-x32e.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so3983556wma.1 for ; Mon, 09 Jan 2023 04:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eaIo71wEppzNboWDo3gtAwm6cZm3yvCPLcZVHzqS25Y=; b=ayJskYNSaDbPJ0euc2Un9EOqYuLniLzE5XB2d0fBnVPso5PxkNR+swIvy6mExvtGMg jWdieOTXFdWZa+z66eZegZviNegriJeRCT4llpdBAXkRZ/NtHkxFq0lrYia3TyJSmKpw vMJBgSod2aOdJKeXMpUJaPIus/PQ2F3WVv0yhgphaK55eSVP/PE/tSAkc0fuYRRmDQjq mwCstvNSD8fYteT3dXAVvNIQ+pB4Zy5iISanJlo66V5BffuB8WUxRbVFlc9S4sJzfv97 78yn1LmaFYfyrRG4R3I2ps7zfoIL6+Mbpx8AwVK7FoNh5kGAGn3xGIhdAYyNt0bpL/qp oeZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eaIo71wEppzNboWDo3gtAwm6cZm3yvCPLcZVHzqS25Y=; b=BDRCL+RN9uHQioG/UspI825z5wJoIQhADtm/Ay1tQXeJgQ49sMsMNr1DlwUKXaCEtl Sj6BY49J9UkVX65QSVJKA9NVAFKgjKoepj/5vrmq4iRBkfgVOasNGZX0H2AMxRax7HdS lfwerfae754xQkq73CPIpFnXCu/xVzZCteREHTZV7y0N1Kew1I/ve2M3/2KoBvHti+iy XyZcN2iTv5+8iIjByrZqZ0BYEn73sOcEu4oUreJ9iO2f578OAUhTttSh2lT56Mojv70O 9NAhDal21UQ9mtctqSfUwUQbxotA7x1d6K7sbBPVLIHeIiI2Wzsr802YfEB01qmlyAR3 U8Bg== X-Gm-Message-State: AFqh2krGk2o9Y6Ma+Q9V7rl8OBQKFp7zq4m14vB/wHC+8vktCg+qkBsu NwcY1xJ0LaqSeovLvPspMHD1cSsOjuSScBE+ X-Received: by 2002:a05:600c:3506:b0:3cf:803b:d7cc with SMTP id h6-20020a05600c350600b003cf803bd7ccmr49167302wmq.33.1673265716615; Mon, 09 Jan 2023 04:01:56 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id l11-20020a05600c1d0b00b003d01b84e9b2sm12263482wms.27.2023.01.09.04.01.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 09 Jan 2023 04:01:56 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Yoshinori Sato , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Jiaxun Yang , Magnus Damm , qemu-ppc@nongnu.org, BALATON Zoltan Subject: [PATCH 0/5] hw: Cleanups around PFLASH use Date: Mon, 9 Jan 2023 13:01:49 +0100 Message-Id: <20230109120154.2868-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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 Trivial cleanups before PFLASH refactor: - Remove unreachable error path calling pflash_cfi01_register() - Add FLASH_SECTOR_SIZE definitions - Use more IEC binary prefix definition Philippe Mathieu-Daudé (5): hw/ppc/sam460ex: Remove unreachable code calling pflash_cfi01_register() hw/microblaze/petalogix: Add FLASH_SECTOR_SIZE definitions hw/mips/malta: Add the FLASH_SECTOR_SIZE definition hw/sh4/r2d: Use the IEC binary prefix definitions hw/sh4/r2d: Add the FLASH_SECTOR_SIZE definition hw/microblaze/petalogix_ml605_mmu.c | 3 ++- hw/microblaze/petalogix_s3adsp1800_mmu.c | 3 ++- hw/mips/malta.c | 5 +++-- hw/ppc/sam460ex.c | 12 ++++-------- hw/sh4/r2d.c | 13 +++++++------ 5 files changed, 18 insertions(+), 18 deletions(-)