diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2024-08-28 15:45:45 -0700 |
---|---|---|
committer | Jérémy Compostella <jeremy.compostella@intel.com> | 2024-09-05 18:28:21 +0000 |
commit | 14292729e8531fc171acc76abab55902abd5ef6f (patch) | |
tree | 541b36186f6aab8e2508346eca1e40c5e9608a1d /src | |
parent | f6b1585cbda32c8263af56fa762ea7d16c611eaf (diff) |
soc/intel/pantherlake: Hardcode IOM_BASE_ADDR_MAX value
iasl refuses to perform an arithmetic computation in a QWordMemory
parameter and fails with the following error.
dsdt.asl 2149: 0x4010800000, ((0x4010800000 + 0x10000) - 1), 0x0,
Error 6051 - ^ Address Min is greater than Address Max
This commit replaces the arithmetic with the result to define
IOM_BASE_ADDR_MAX.
BUG=b:348678529
TEST=Build for google/fatcat mainboard.
Change-Id: Ia5cf899b049cb8eb27b4ea30c7f3ce7a14884f16
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84216
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/pantherlake/include/soc/iomap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/pantherlake/include/soc/iomap.h b/src/soc/intel/pantherlake/include/soc/iomap.h index dbabfd6796..652bed8df0 100644 --- a/src/soc/intel/pantherlake/include/soc/iomap.h +++ b/src/soc/intel/pantherlake/include/soc/iomap.h @@ -82,7 +82,7 @@ */ #define IOM_BASE_ADDR 0x4010800000 #define IOM_BASE_SIZE 0x10000 -#define IOM_BASE_ADDR_MAX ((IOM_BASE_ADDR + IOM_BASE_SIZE) - 1) +#define IOM_BASE_ADDR_MAX 0x401080ffff /* ((IOM_BASE_ADDR + IOM_BASE_SIZE) - 1) */ /* I/O port address space */ #define ACPI_BASE_ADDRESS 0x1800 |