[coreboot-gerrit] New patch to review for coreboot: nb/i945: Add a Kconfig option to configure BSEL straps

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Sat Dec 10 00:47:28 CET 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17781

-gerrit

commit 7e18d2e03dcb721302c3a8e4b58cb3f418fecdc9
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Sat Dec 10 00:36:47 2016 +0100

    nb/i945: Add a Kconfig option to configure BSEL straps
    
    Some LGA775 boards use straps to configure BSEL.
    This allows to set them at compile time.
    
    Change-Id: I982c5870aa69fd307dc78076880fc4fb9c104a7d
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/northbridge/intel/i945/Kconfig | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/src/northbridge/intel/i945/Kconfig b/src/northbridge/intel/i945/Kconfig
index d22451a..53227b6 100644
--- a/src/northbridge/intel/i945/Kconfig
+++ b/src/northbridge/intel/i945/Kconfig
@@ -71,4 +71,31 @@ config CHECK_SLFRCS_ON_RESUME
 	  On other boards the check always creates a false positive,
 	  effectively making it impossible to resume.
 
+config HAS_BSEL_STRAPS
+	bool
+	default n
+
+choice
+	prompt "CPU FSB frequency"
+	depends on HAS_BSEL_STRAPS
+	help
+	  Set the FSB speed of the CPU in your system. Note that failing
+	  to set this correctly can render the system unbootable or damage
+	  the hardware.
+
+config CPU_FSB_533
+	bool "533MHz"
+config CPU_FSB_800
+	bool "800MHz"
+config CPU_FSB_1067
+	bool "1067MHz"
+
+endchoice
+
+config CPU_FSB_FREQ
+	hex
+	default 0x0 if CPU_FSB_1067
+	default 0x1 if CPU_FSB_533
+	default 0x2 if CPU_FSB_800
+
 endif



More information about the coreboot-gerrit mailing list