Remove MAX_PHYS_ADDR and MAX_PHYS_ADDR_SPACE_BITS as they're not used
since the addition by commit 052e87b073cb ("memory: make section size
a 128-bit integer").
Signed-off-by: Gavin Shan <gshan@redhat.com>
---
include/system/memory.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/system/memory.h b/include/system/memory.h
index 1417132f6d..c449c0385e 100644
--- a/include/system/memory.h
+++ b/include/system/memory.h
@@ -36,9 +36,6 @@ enum device_endian {
#define RAM_ADDR_INVALID (~(ram_addr_t)0)
-#define MAX_PHYS_ADDR_SPACE_BITS 62
-#define MAX_PHYS_ADDR (((hwaddr)1 << MAX_PHYS_ADDR_SPACE_BITS) - 1)
-
#define TYPE_MEMORY_REGION "memory-region"
DECLARE_INSTANCE_CHECKER(MemoryRegion, MEMORY_REGION,
TYPE_MEMORY_REGION)
--
2.54.0