aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/gm45/gm45.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-15 14:30:13 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-09-25 19:40:44 +0000
commit3378de12f63e8f5a2e0db1c13261fdc62804ba5f (patch)
tree0d1d6f5affb265024f4b5bf882a05c140b0c3531 /src/northbridge/intel/gm45/gm45.h
parente60155ff13fb61c20e01601e6a58ff1fe5509b8b (diff)
nb/intel/gm45: Drop casts from DEFAULT_{MCHBAR,DMIBAR}
There's no need to wrap these macros with casts. Removing them allows dropping `uintptr_t` casts in other files. Changes the binary, though. Change-Id: I1553cbeee45972d6deba8cb9969c69fceeb19574 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45432 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/gm45/gm45.h')
-rw-r--r--src/northbridge/intel/gm45/gm45.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/northbridge/intel/gm45/gm45.h b/src/northbridge/intel/gm45/gm45.h
index dc993cfb3c..6f8d53cb7d 100644
--- a/src/northbridge/intel/gm45/gm45.h
+++ b/src/northbridge/intel/gm45/gm45.h
@@ -170,13 +170,8 @@ enum {
#define CMOS_WRITE_TRAINING 0x90 /* 16 bytes
(could be reduced to 10 bytes) */
-#ifndef __ACPI__
-#define DEFAULT_MCHBAR ((u8 *)0xfed14000)
-#define DEFAULT_DMIBAR ((u8 *)0xfed18000)
-#else
#define DEFAULT_MCHBAR 0xfed14000
#define DEFAULT_DMIBAR 0xfed18000
-#endif
#define DEFAULT_EPBAR 0xfed19000
#define DEFAULT_HECIBAR ((u8 *)0xfed1a000)
@@ -356,6 +351,7 @@ enum {
#define CxDTAEW(x) (0x1280+(x*0x100))
#define CxDTC(x) (0x1288+(x*0x100))
+
/*
* DMIBAR
*/