system/memory: Remove MAX_PHYS_ADDR
PATCH 1/1 system/memory: Remove MAX_PHYS_ADDR
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 <[email protected]>
--- include/system/memory.h | 3 --- 1 file changed, 3 deletions(-)
include/system/memory.h +0 -3
@@ -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 )
Signature · 1 line
2.54.0
Peter Xu
AppliedQuoted 5 lines · Gavin Shan
Remove
MAX_PHYS_ADDRandMAX_PHYS_ADDR_SPACE_BITSas they're not used since the addition by commit052e87b073cb("memory: make section size a 128-bit integer").Signed-off-by Gavin Shan <[email protected]>
queued, thanks.
Signature · 1 line
Peter Xu