From cc35f723fdcc6999ace18eae18467b900a12c07f Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 12 May 2020 16:25:31 -0700 Subject: soc/intel: Drop ABOVE_4GB_MEM_BASE_SIZE and use cpu_phys_address_size() This change uses cpu_phys_address_size() to calculate the size of high MMIO region instead of a macro for each SoC. This ensures that the entire range above TOUUD that can be addressed by the CPU is used for MMIO above 4G boundary. Change-Id: I01a1a86c0c65856f9f35185c2f233c58f18f5dfe Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/41347 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/jasperlake/include/soc/iomap.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/soc/intel/jasperlake') diff --git a/src/soc/intel/jasperlake/include/soc/iomap.h b/src/soc/intel/jasperlake/include/soc/iomap.h index 3ee06a2d2f..c45430a02e 100644 --- a/src/soc/intel/jasperlake/include/soc/iomap.h +++ b/src/soc/intel/jasperlake/include/soc/iomap.h @@ -70,8 +70,6 @@ #define VTD_BASE_ADDRESS 0xfed90000 #define VTD_BASE_SIZE 0x00004000 -#define ABOVE_4GB_MEM_BASE_SIZE (256ULL * GiB) - #define MCH_BASE_ADDRESS 0xfea80000 #define MCH_BASE_SIZE 0x8000 -- cgit v1.2.3