summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-06-14 14:19:09 +0200
committerPeter Stuge <peter@stuge.se>2012-06-14 21:21:06 +0200
commitec6f043c253355483bd065c39adc91bad2647ee9 (patch)
tree70a33721c56e668410d87f35fafb3c49a49e7663
parent9aa43892e6899b719fe7f4754901a0eae379a934 (diff)
llshell: fix build without romcc
Without that fix we have: LINK cbfs/fallback/romstage_null.debug build/generated/crt0.romstage.o: In function `ramtest': romstage.c:(.rom.text+0x53f): undefined reference to `.Lhlt' collect2: ld returned 1 exit status make: *** [build/cbfs/"fallback"/romstage_null.debug] Error 1 On the M4A785T-M which doesn't have CONFIG_ROMCC. Change-Id: I49eded1d18e996afe9441b85dae04ae30c760dd6 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: http://review.coreboot.org/1101 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
-rw-r--r--src/arch/x86/llshell/ramtest.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/llshell/ramtest.inc b/src/arch/x86/llshell/ramtest.inc
index c02cf451ec..49abd4a0b0 100644
--- a/src/arch/x86/llshell/ramtest.inc
+++ b/src/arch/x86/llshell/ramtest.inc
@@ -112,8 +112,10 @@ ramtest:
jmp 3b
5:
CONSOLE_INFO_TX_STRING($rt_toomany)
+#if CONFIG_ROMCC
post_code(0xf1)
jmp .Lhlt
+#endif
6:
CONSOLE_INFO_TX_STRING($rt_done)