diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-03-07 10:40:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-03-08 19:24:22 +0100 |
commit | 233f5b3b0ed27348b68fbaa453184d4fdb7fa0dc (patch) | |
tree | 8646811c4446de76d2e984e40702ddb741527202 /src/mainboard/technologic/ts5300 | |
parent | 2cf9715c9a766234ccf8a514bdf23af72c90b507 (diff) |
ROMCC: Trigger internal compiler failure and apply the workaround
These boards first failed when attempting to change print_err() from
direct function call to console_tx_XX() to a code block in the form of
do { if (y) console_tx_XX(x); } while(0)
Removing the label dummy_romcc_workaround_label added here will
trigger the following compiler error for the two boards:
Internal compiler error: no edge to block->last->next
Change-Id: I997adfaf586d7fa2096401dd574b07ce676d0ac6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5349
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/mainboard/technologic/ts5300')
-rw-r--r-- | src/mainboard/technologic/ts5300/romstage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/technologic/ts5300/romstage.c b/src/mainboard/technologic/ts5300/romstage.c index 6806187296..453ceccb11 100644 --- a/src/mainboard/technologic/ts5300/romstage.c +++ b/src/mainboard/technologic/ts5300/romstage.c @@ -153,6 +153,11 @@ static void main(unsigned long bist) print_err("Technologic Systems TS5300 - http://www.embeddedx86.com/\n"); staticmem(); + +/* Void warranty when label is removed. */ +dummy_romcc_workaround_label: + do { } while (0); + print_err("Memory initialized: 32MB\n"); #if 1 |