From 09dd70ebb8f31b36d536f05af289e8edc069c893 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 16 Nov 2014 17:32:56 -0700 Subject: drivers/intel/fsp: add upd macros and #defines Add macros and #defines for working with the UPD data. This makes the code look much cleaner. Remove the UPD_ENABLE / UPD_DISABLE from fsp_rangeley/chip.h and include the fsp_values header instead. This fixes a conflict. Change-Id: I72c9556065e5c7461432a4593b75da2c8a220a12 Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/7487 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/northbridge/intel/fsp_rangeley/chip.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/fsp_rangeley/chip.h b/src/northbridge/intel/fsp_rangeley/chip.h index 24609a107e..80a22bf1ea 100644 --- a/src/northbridge/intel/fsp_rangeley/chip.h +++ b/src/northbridge/intel/fsp_rangeley/chip.h @@ -21,6 +21,7 @@ #define _FSP_RANGELEY_CHIP_H_ #include +#include struct northbridge_intel_fsp_rangeley_config { @@ -36,8 +37,6 @@ struct northbridge_intel_fsp_rangeley_config { uint8_t SpdBaseAddress_1_0; uint8_t SpdBaseAddress_1_1; -#define UPD_ENABLE 1 -#define UPD_DISABLE 0 uint8_t EnableLan; uint8_t EnableSata2; uint8_t EnableSata3; -- cgit v1.2.3