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: 1723387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ayJskYNS; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NrFHk2cj5z23g5 for ; Tue, 10 Jan 2023 00:32:50 +1100 (AEDT) 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-Google-Smtp-Source: AMrXdXt1RNMmaR3KbD+2mnm60LV3BGnlNUAa2FIB0T5kpey8gqhlhgeG/ScWUIdUFcyY4kNPcmAO5w== 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.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(-)