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_test5.c | |
parent | 9551cf47093e4a471c4859eb9ed8e9bbf51a3afc (diff) |
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_test5.c')
-rw-r--r-- | util/romcc/tests/linux_test5.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/util/romcc/tests/linux_test5.c b/util/romcc/tests/linux_test5.c index 473f57289d..cf0df46d54 100644 --- a/util/romcc/tests/linux_test5.c +++ b/util/romcc/tests/linux_test5.c @@ -93,7 +93,7 @@ static void disable_dimm(unsigned index) { print_debug("disabling dimm"); print_debug_hex8(index); - print_debug("\r\n"); + print_debug("\n"); #if 0 pci_write_config32(PCI_DEV(0, 0x18, 2), DRAM_CSBASE + (((index << 1)+0)<<2), 0); pci_write_config32(PCI_DEV(0, 0x18, 2), DRAM_CSBASE + (((index << 1)+1)<<2), 0); @@ -145,7 +145,6 @@ static const struct mem_param *get_mem_param(unsigned min_cycle_time) static void debug(int c) { print_debug_char(c); - print_debug_char('\r'); print_debug_char('\n'); } #endif @@ -179,7 +178,7 @@ static const struct mem_param *spd_set_memclk(void) print_debug_hex8(min_cycle_time); print_debug(" min_latency: "); print_debug_hex8(min_latency); - print_debug("\r\n"); + print_debug("\n"); #endif /* Compute the least latency with the fastest clock supported @@ -240,7 +239,7 @@ static const struct mem_param *spd_set_memclk(void) print_debug_hex8(new_cycle_time); print_debug(" new_latency: "); print_debug_hex8(new_latency); - print_debug("\r\n"); + print_debug("\n"); #endif } debug('G'); @@ -253,7 +252,7 @@ static const struct mem_param *spd_set_memclk(void) print_debug_hex8(new_cycle_time); print_debug(" new_latency: "); print_debug_hex8(new_latency); - print_debug("\r\n"); + print_debug("\n"); #endif if (new_latency > 4){ continue; @@ -274,7 +273,7 @@ static const struct mem_param *spd_set_memclk(void) print_debug_hex8(min_cycle_time); print_debug(" min_latency: "); print_debug_hex8(min_latency); - print_debug("\r\n"); + print_debug("\n"); #endif } /* Make a second pass through the dimms and disable @@ -328,7 +327,7 @@ static const struct mem_param *spd_set_memclk(void) print_debug_hex8(min_cycle_time); print_debug(" min_latency: "); print_debug_hex8(min_latency); - print_debug("\r\n"); + print_debug("\n"); #endif /* Now that I know the minimum cycle time lookup the memory parameters */ param = get_mem_param(min_cycle_time); |