summaryrefslogtreecommitdiff
path: root/util/vgabios
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-09 11:59:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-14 09:32:34 +0000
commitb0f1988f893bf5f581917816b11e810309955143 (patch)
treec4bcf6f1d9384b99cfcbfab4426de9f9f106e720 /util/vgabios
parent68c851bcd702e7816cdb6e504f7386ec404ecf13 (diff)
downloadcoreboot-b0f1988f893bf5f581917816b11e810309955143.tar.xz
src: Get rid of unneeded whitespace
Change-Id: I630d49ab504d9f6e052806b516a600fa41b9a8da Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26991 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/vgabios')
-rw-r--r--util/vgabios/device.c7
-rw-r--r--util/vgabios/testbios.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/util/vgabios/device.c b/util/vgabios/device.c
index 3526e24716..ecd2481a56 100644
--- a/util/vgabios/device.c
+++ b/util/vgabios/device.c
@@ -80,7 +80,8 @@ biosemu_dev_get_addr_info(void)
taa_index++;
/* legacy ranges if its a VGA card... */
if ((bios_device.dev->class & 0xFF0000) == 0x030000) {
- DEBUG_PRINTF("%s: VGA device found, adding legacy resources... \n", __func__);
+ DEBUG_PRINTF("%s: VGA device found, adding legacy resources..."
+ "\n", __func__);
/* I/O 0x3B0-0x3BB */
translate_address_array[taa_index].info = IORESOURCE_FIXED | IORESOURCE_IO;
translate_address_array[taa_index].bus = bus;
@@ -116,7 +117,7 @@ biosemu_dev_get_addr_info(void)
taa_last_entry = taa_index - 1;
#if CONFIG_X86EMU_DEBUG
//dump translate_address_array
- printf("translate_address_array: \n");
+ printf("translate_address_array:\n");
translate_address_t ta;
int i;
for (i = 0; i <= taa_last_entry; i++) {
@@ -201,7 +202,7 @@ biosemu_dev_get_addr_info(void)
taa_last_entry = taa_index - 1;
#if CONFIG_X86EMU_DEBUG
//dump translate_address_array
- printf("translate_address_array: \n");
+ printf("translate_address_array:\n");
translate_address_t ta;
for (i = 0; i <= taa_last_entry; i++) {
ta = translate_address_array[i];
diff --git a/util/vgabios/testbios.c b/util/vgabios/testbios.c
index aedeb1d217..de537b8fcd 100644
--- a/util/vgabios/testbios.c
+++ b/util/vgabios/testbios.c
@@ -116,8 +116,8 @@ int printk(int msg_level, const char *fmt, ...)
static void usage(char *name)
{
printf
- ("Usage: %s [-c codesegment] [-s size] [-b base] [-i ip] [-t] <filename> ... \n",
- name);
+ ("Usage: %s [-c codesegment] [-s size] [-b base] [-i ip] [-t] "
+ "<filename> ...\n", name);
}
/* main entry into YABEL biosemu, arguments are:
@@ -218,7 +218,7 @@ int main(int argc, char **argv)
debugflag = strtol(optarg, 0, 0);
break;
default:
- printf("Unknown option \n");
+ printf("Unknown option\n");
usage(argv[0]);
return 1;
}