From patchwork Fri Jan 13 14:11:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 641955 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp235505pvb; Fri, 13 Jan 2023 06:32:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZIbp90aIOAWD8Ubs0D1uFZu8k2QO+B8CRyzIcpzfMSjtGVMXPQGuuGVzXd4s827TRcKu6 X-Received: by 2002:aca:b10a:0:b0:35b:ab3c:cb7f with SMTP id a10-20020acab10a000000b0035bab3ccb7fmr4393570oif.54.1673620339730; Fri, 13 Jan 2023 06:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673620339; cv=none; d=google.com; s=arc-20160816; b=PfTAYFORQKHk8vz9nEM4bUH1R29dQJNkAJXhUmxxGLe3GPvoTlD8e2o4yJP4DPv5wO zaw0st7HE8SYtxcgpa++/XQWUzztJE8SLJ/cF3hyNsQv2zsA4NeN4oxdTK+7nstyRvgl evgc8Er1rh7PCdMKAohthwaucXmlYe87mx3Ni7N57fLZnGE3hHWquE0q50DG4XA/4CsY jJ7kJh/gZZ7PDUclkHaWOmXR5CoTLjmvHdQivmrHit1hDzrzV26ROyU7yuH9E/Ge8C0w ngkVio11a9E0WkPxkrFUeHQASIoGSpO9CYtdWA4uccmcpWSjQAIk41m3oK1eJ1qONo+8 CPTw== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=qagczbKQoz2kyzFacEZPcoKe04O1uSO7YS9E6eFyDqU=; b=AF+h4QMUP9FZ2OfaMWyWK2wtdWeYYeGPS2LUrm4XNL5ZPIEhouSk2OA9sPqx/IL1eg Z3LDRDXOMwIX56azyVFkOTAJZgnK3uDXgdnn618u4VMTdykoSxO4tbB0/8QhGonaVt5Z ZcoVOJ3Qfh53T2qa/vGc+2zLSRfbHsrk/p5uqnPp1vmuoawMycZwNYttUCKN8dpUvGfl tzUzFWR/TMmRZ+2hfLkcZrLDp9bMoHdJVx746AxQOCBtXjij0Or593BQR2vw9/p5yTeG Iv9zgXlROuVVyPSzU5OTdmgYD+8WqEnjCbP60HaGW9XP/iZw51M9SGfzTPhB8Hy7dJht CzCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lGcAbTiy; 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 jm9-20020ad45ec9000000b0053221857483si12290781qvb.397.2023.01.13.06.32.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2023 06:32:19 -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=lGcAbTiy; 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 1pGKnH-0001UQ-7h; Fri, 13 Jan 2023 09:12:31 -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 1pGKmo-00014p-19 for qemu-devel@nongnu.org; Fri, 13 Jan 2023 09:12:02 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGKmi-0003iZ-9P for qemu-devel@nongnu.org; Fri, 13 Jan 2023 09:12:01 -0500 Received: by mail-wm1-x32f.google.com with SMTP id ja17so15355290wmb.3 for ; Fri, 13 Jan 2023 06:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=qagczbKQoz2kyzFacEZPcoKe04O1uSO7YS9E6eFyDqU=; b=lGcAbTiyhaDcqrZCChpWZdNsWNMdNT+RfZ4/Fu0GyB4xxZUeqI30dODYc2UsJGRWHF DGPB30CS/rofny2TS5+BNK2pha81Qt1K9+MP2lbYIXcKP7WK9QWBkPLDT/gFTIQCnNZ1 AjbL6mujOjlGHGjCBTtSHTgfeFYhfnnSgI6gwDxWdtAzk97pXRlYsuLWvxIDuywJ1Qee ghK8+Oamj75R3Wo4vf3RshdSSroG82gGunt50TVu342pGgkreSAoIKOAerr82if+Jgtm sNv1Msn8+7mmy1I5wbVqVYM9iE4dzMCpBdy5kkD+keqGTtF9uSYEUxPvDCVH4qdzGBP3 p8GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qagczbKQoz2kyzFacEZPcoKe04O1uSO7YS9E6eFyDqU=; b=7BCnZz5guj5+0px6d1l9Z4BQU5j76SvOONAiEuZFZ6jfnNhgM4LKWq2U3iiJ/bfAVi fATNFyd9VMHlTH9f/UHSPABxLV+T4Cc2HAogl99MgEiI3eXJq/j/0OWqRNACbndSeHPV f7sMhgjAl/F8ZUzLySc9flG4jxj7HxdMMqRvObQNN1AyqmfOE1/rKoWIAxpcl8es41HD MZp3F1OQr5XKGeWMbXjNZ/mLXd0Xgmrzp+rF3BzfYOoFpbo9BfFJ4fYxFqg68nVFXxAW k+ah4PKJ+AD6QAO2D5c/zWeMG8OuJy4RVDvRr5/VvM3UjNl2wMxq/Ppp8M6HelN/QYoq O6VA== X-Gm-Message-State: AFqh2kqcOqS0CGzo/jyZfGCK85duMMLJZz/hZirZF8jt8s2HtnwLPMEH d934bP35t0AuAemK3i0NBuSXVRK0p5jJaaE4 X-Received: by 2002:a05:600c:a4f:b0:3d2:196c:270c with SMTP id c15-20020a05600c0a4f00b003d2196c270cmr61209899wmq.31.1673619104503; Fri, 13 Jan 2023 06:11:44 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n36-20020a05600c502400b003da0b75de94sm5334464wmr.8.2023.01.13.06.11.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 06:11:43 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 19/38] hw/arm/omap_sx1: Remove unused 'total_ram' definitions Date: Fri, 13 Jan 2023 14:11:07 +0000 Message-Id: <20230113141126.535646-20-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113141126.535646-1-peter.maydell@linaro.org> References: <20230113141126.535646-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.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=ham 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 From: Philippe Mathieu-Daudé The total_ram_v1/total_ram_v2 definitions were never used. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20230109115316.2235-10-philmd@linaro.org Signed-off-by: Peter Maydell --- hw/arm/omap_sx1.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/arm/omap_sx1.c b/hw/arm/omap_sx1.c index 57829b37441..84b7059f7c7 100644 --- a/hw/arm/omap_sx1.c +++ b/hw/arm/omap_sx1.c @@ -91,8 +91,6 @@ static const MemoryRegionOps static_ops = { #define flash0_size (16 * 1024 * 1024) #define flash1_size ( 8 * 1024 * 1024) #define flash2_size (32 * 1024 * 1024) -#define total_ram_v1 (sdram_size + flash0_size + flash1_size + OMAP15XX_SRAM_SIZE) -#define total_ram_v2 (sdram_size + flash2_size + OMAP15XX_SRAM_SIZE) static struct arm_boot_info sx1_binfo = { .loader_start = OMAP_EMIFF_BASE,