aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/spacerunner-lx/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lippert/spacerunner-lx/romstage.c')
-rw-r--r--src/mainboard/lippert/spacerunner-lx/romstage.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/lippert/spacerunner-lx/romstage.c b/src/mainboard/lippert/spacerunner-lx/romstage.c
index a62ad91c0e..5c640cb021 100644
--- a/src/mainboard/lippert/spacerunner-lx/romstage.c
+++ b/src/mainboard/lippert/spacerunner-lx/romstage.c
@@ -41,7 +41,11 @@
#include "superio/ite/it8712f/it8712f_early_serial.c"
/* Bit0 enables Spread Spectrum, bit1 makes on-board SSD act as IDE slave. */
-#define SMC_CONFIG 0x01
+#if CONFIG_ONBOARD_IDE_SLAVE
+ #define SMC_CONFIG 0x03
+#else
+ #define SMC_CONFIG 0x01
+#endif
#define ManualConf 1 /* No automatic strapped PLL config */
#define PLLMSRhi 0x0000059C /* Manual settings for the PLL */
@@ -201,4 +205,3 @@ void main(unsigned long bist)
/* Memory is setup. Return to cache_as_ram.inc and continue to boot. */
return;
}
-