From 69e3fde5e4b974342dc8be93dd5ec18096e73ebb Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 2 Apr 2021 19:27:30 +0200 Subject: spd.h: Move `DIMMx` macros to i440bx/raminit.h These macros aren't needed anywhere else, so reduce their visibility. Change-Id: Ie8d14849b4fb86d34a841d4a13ee3bbb46f9f71c Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/52061 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/northbridge/intel/i440bx/raminit.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/northbridge/intel/i440bx') diff --git a/src/northbridge/intel/i440bx/raminit.h b/src/northbridge/intel/i440bx/raminit.h index 1bd5ab6e0f..d2d1729e61 100644 --- a/src/northbridge/intel/i440bx/raminit.h +++ b/src/northbridge/intel/i440bx/raminit.h @@ -6,6 +6,12 @@ /* The 440BX supports up to four (single- or double-sided) DIMMs. */ #define DIMM_SOCKETS 4 +/* DIMM SPD addresses */ +#define DIMM0 0x50 +#define DIMM1 0x51 +#define DIMM2 0x52 +#define DIMM3 0x53 + void enable_spd(void); void disable_spd(void); void sdram_initialize(int s3resume); -- cgit v1.2.3