From ec6f043c253355483bd065c39adc91bad2647ee9 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 14 Jun 2012 14:19:09 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/1101 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- src/arch/x86/llshell/ramtest.inc | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3