summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/d945gclf
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-10-01 08:02:45 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-10-01 08:02:45 +0000
commit77d6683edd1c0af74e4435cf432a558df3fe71eb (patch)
tree496faa30bc4392f2cd9834882564fafc310061b1 /src/mainboard/intel/d945gclf
parent66d1687b927a94991233d1ee87dc916fb6ae033f (diff)
downloadcoreboot-77d6683edd1c0af74e4435cf432a558df3fe71eb.tar.xz
Move several i945 config #defines from romstage.c to Kconfig.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/intel/d945gclf')
-rw-r--r--src/mainboard/intel/d945gclf/Kconfig2
-rw-r--r--src/mainboard/intel/d945gclf/romstage.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/intel/d945gclf/Kconfig b/src/mainboard/intel/d945gclf/Kconfig
index 6db4359017..f4f22a8b6e 100644
--- a/src/mainboard/intel/d945gclf/Kconfig
+++ b/src/mainboard/intel/d945gclf/Kconfig
@@ -40,6 +40,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512
select GFXUMA
select TINY_BOOTBLOCK
+ select I945GC
+ select CHANNEL_XOR_RANDOMIZATION
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/d945gclf/romstage.c b/src/mainboard/intel/d945gclf/romstage.c
index 337d856758..dd6f3836b8 100644
--- a/src/mainboard/intel/d945gclf/romstage.c
+++ b/src/mainboard/intel/d945gclf/romstage.c
@@ -19,10 +19,6 @@
// __PRE_RAM__ means: use "unsigned" for device, not a struct.
-/* Configuration of the i945 driver */
-#define CHIPSET_I945GC 1
-#define CHANNEL_XOR_RANDOMIZATION 1
-
#include <stdint.h>
#include <string.h>
#include <arch/io.h>