From 9b04f56d4a40295110c4c964b47df0722836e08f Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 20 Jan 2021 12:33:18 +0100 Subject: nb/intel/i945: Drop casts from DEFAULT_{MCH,DMI}BAR They aren't necessary. Removing them changes the binary because the corresponding access macros no longer perform pointer arithmetics. Change-Id: I9723a00b58ee35befdce6a3a51aa2b1fce8efa80 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49745 Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/northbridge/intel/i945/memmap.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/northbridge/intel/i945') diff --git a/src/northbridge/intel/i945/memmap.h b/src/northbridge/intel/i945/memmap.h index a890445df9..fcda4474bd 100644 --- a/src/northbridge/intel/i945/memmap.h +++ b/src/northbridge/intel/i945/memmap.h @@ -5,13 +5,8 @@ /* Northbridge BARs */ #define DEFAULT_X60BAR 0xfed13000 -#ifndef __ACPI__ -#define DEFAULT_MCHBAR ((u8 *)0xfed14000) /* 16 KB */ -#define DEFAULT_DMIBAR ((u8 *)0xfed18000) /* 4 KB */ -#else #define DEFAULT_MCHBAR 0xfed14000 /* 16 KB */ #define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */ -#endif #define DEFAULT_EPBAR 0xfed19000 /* 4 KB */ #endif -- cgit v1.2.3