qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 19/38] hw/arm/omap_sx1: Remove unused 'total_ram' definitions


From: Peter Maydell
Subject: [PULL 19/38] hw/arm/omap_sx1: Remove unused 'total_ram' definitions
Date: Fri, 13 Jan 2023 14:11:07 +0000

From: Philippe Mathieu-Daudé <philmd@linaro.org>

The total_ram_v1/total_ram_v2 definitions were never used.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109115316.2235-10-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 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,
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]