diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-04-13 02:47:24 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-13 17:37:03 +0200 |
commit | 3cfbc4a60873691d7ee21dda388c268b811782dd (patch) | |
tree | 40beebc2a80ca583f0a8a6cca5d5b466602fa2c2 /util/romcc/tests/linux_test2.c | |
parent | 9551cf47093e4a471c4859eb9ed8e9bbf51a3afc (diff) | |
download | coreboot-3cfbc4a60873691d7ee21dda388c268b811782dd.tar.xz |
romcc: Use UNIX line endings in linux tests
This makes it easier to check the output against a reference output.
Change-Id: I9c7ae538b708399a5cadd18e498618d7480d240f
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/14276
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/romcc/tests/linux_test2.c')
-rw-r--r-- | util/romcc/tests/linux_test2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/romcc/tests/linux_test2.c b/util/romcc/tests/linux_test2.c index 766f498a0a..577e0c3c2a 100644 --- a/util/romcc/tests/linux_test2.c +++ b/util/romcc/tests/linux_test2.c @@ -640,7 +640,7 @@ static void setup_coherent_ht_domain(void) }; int i; int max; - print_debug("setting up coherent ht domain....\r\n"); + print_debug("setting up coherent ht domain....\n"); max = sizeof(register_values)/sizeof(register_values[0]); for(i = 0; i < max; i += 3) { unsigned long reg; @@ -648,7 +648,7 @@ static void setup_coherent_ht_domain(void) print_debug_hex32(register_values[i]); print_debug(" <-"); print_debug_hex32(register_values[i+2]); - print_debug("\r\n"); + print_debug("\n"); #endif #if 0 reg = pci_read_config32(register_values[i]); @@ -657,12 +657,12 @@ static void setup_coherent_ht_domain(void) pci_write_config32(register_values[i], reg); #endif } - print_debug("done.\r\n"); + print_debug("done.\n"); } static void main(void) { - static const char msg[] = "hello world\r\n"; + static const char msg[] = "hello world\n"; #if 0 write(STDOUT_FILENO, msg, sizeof(msg)); #endif |