qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 09/13] hw/arm/omap_sx1: Remove unused 'total_ram' definitions


From: Philippe Mathieu-Daudé
Subject: [PATCH 09/13] hw/arm/omap_sx1: Remove unused 'total_ram' definitions
Date: Mon, 9 Jan 2023 12:53:12 +0100

The total_ram_v1/total_ram_v2 definitions were never used.

Signed-off-by: Philippe Mathieu-Daudé <philmd@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 57829b3744..84b7059f7c 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.38.1




reply via email to

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