summaryrefslogtreecommitdiff
path: root/src/mainboard/samsung
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-03 13:29:06 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-08 16:26:58 +0200
commit5c4b8483d2de976cb3957cc9ea23086041ed9625 (patch)
tree9c180b27b1c49639ce5f0545f28890e7c0b07a70 /src/mainboard/samsung
parentab7280970a96eb5a604a37ffd913355a1f40fb88 (diff)
downloadcoreboot-5c4b8483d2de976cb3957cc9ea23086041ed9625.tar.xz
ChromeOS boards: Always build code for bootmode straps
Leave it under BOOTMODE_STRAPS to control whether these have any functional meaning on the build. Change-Id: Ieb59aa7ab4b1e8da6a1002e7a8e5462eb7988d35 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5643 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/samsung')
-rw-r--r--src/mainboard/samsung/lumpy/Makefile.inc4
-rw-r--r--src/mainboard/samsung/lumpy/romstage.c2
-rw-r--r--src/mainboard/samsung/stumpy/Makefile.inc4
-rw-r--r--src/mainboard/samsung/stumpy/romstage.c2
4 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/samsung/lumpy/Makefile.inc b/src/mainboard/samsung/lumpy/Makefile.inc
index 4c6d6477db..a6be0c23cf 100644
--- a/src/mainboard/samsung/lumpy/Makefile.inc
+++ b/src/mainboard/samsung/lumpy/Makefile.inc
@@ -19,8 +19,8 @@
ramstage-y += ec.c
-romstage-$(CONFIG_CHROMEOS) += chromeos.c
-ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+romstage-y += chromeos.c
+ramstage-y += chromeos.c
SPD_BIN = $(obj)/spd.bin
diff --git a/src/mainboard/samsung/lumpy/romstage.c b/src/mainboard/samsung/lumpy/romstage.c
index c8642094e9..ef5a836328 100644
--- a/src/mainboard/samsung/lumpy/romstage.c
+++ b/src/mainboard/samsung/lumpy/romstage.c
@@ -202,9 +202,7 @@ void main(unsigned long bist)
console_init();
-#if CONFIG_CHROMEOS
init_bootmode_straps();
-#endif
/* Halt if there was a built in self test failure */
report_bist_failure(bist);
diff --git a/src/mainboard/samsung/stumpy/Makefile.inc b/src/mainboard/samsung/stumpy/Makefile.inc
index c595a621ea..a1f72e126f 100644
--- a/src/mainboard/samsung/stumpy/Makefile.inc
+++ b/src/mainboard/samsung/stumpy/Makefile.inc
@@ -17,5 +17,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-romstage-$(CONFIG_CHROMEOS) += chromeos.c
-ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+romstage-y += chromeos.c
+ramstage-y += chromeos.c
diff --git a/src/mainboard/samsung/stumpy/romstage.c b/src/mainboard/samsung/stumpy/romstage.c
index 4ce6e41981..8d2a3e495f 100644
--- a/src/mainboard/samsung/stumpy/romstage.c
+++ b/src/mainboard/samsung/stumpy/romstage.c
@@ -239,9 +239,7 @@ void main(unsigned long bist)
CONFIG_TTYS0_BASE);
console_init();
-#if CONFIG_CHROMEOS
init_bootmode_straps();
-#endif
/* Halt if there was a built in self test failure */
report_bist_failure(bist);