From 465b2a8f002648a1d8a05a07e0cda7ae82ccb25d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 20 Jan 2021 22:02:54 +0100 Subject: [PATCH] mb/google/auron: Merge two print statements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are part of the same line, so merge them. Change-Id: I969ce91f7a5f16a85750c140eaa444d7923b2014 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49771 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/mainboard/google/auron/variants/auron_paine/spd/spd.c | 4 +--- src/mainboard/google/auron/variants/auron_yuna/spd/spd.c | 4 +--- src/mainboard/google/auron/variants/gandof/spd/spd.c | 4 +--- src/mainboard/google/auron/variants/lulu/spd/spd.c | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/mainboard/google/auron/variants/auron_paine/spd/spd.c b/src/mainboard/google/auron/variants/auron_paine/spd/spd.c index 347688bff2..408f409b71 100644 --- a/src/mainboard/google/auron/variants/auron_paine/spd/spd.c +++ b/src/mainboard/google/auron/variants/auron_paine/spd/spd.c @@ -55,9 +55,7 @@ static void mainboard_print_spd_info(uint8_t spd[]) printk(BIOS_INFO, "SPD: module part is %s\n", spd_name); printk(BIOS_INFO, "SPD: banks %d, ranks %d, rows %d, columns %d, " - , banks, ranks, rows, cols); - printk(BIOS_INFO, "density %d Mb\n", capmb); - + "density %d Mb\n", banks, ranks, rows, cols, capmb); printk(BIOS_INFO, "SPD: device width %d bits, bus width %d bits\n", devw, busw); diff --git a/src/mainboard/google/auron/variants/auron_yuna/spd/spd.c b/src/mainboard/google/auron/variants/auron_yuna/spd/spd.c index 347688bff2..408f409b71 100644 --- a/src/mainboard/google/auron/variants/auron_yuna/spd/spd.c +++ b/src/mainboard/google/auron/variants/auron_yuna/spd/spd.c @@ -55,9 +55,7 @@ static void mainboard_print_spd_info(uint8_t spd[]) printk(BIOS_INFO, "SPD: module part is %s\n", spd_name); printk(BIOS_INFO, "SPD: banks %d, ranks %d, rows %d, columns %d, " - , banks, ranks, rows, cols); - printk(BIOS_INFO, "density %d Mb\n", capmb); - + "density %d Mb\n", banks, ranks, rows, cols, capmb); printk(BIOS_INFO, "SPD: device width %d bits, bus width %d bits\n", devw, busw); diff --git a/src/mainboard/google/auron/variants/gandof/spd/spd.c b/src/mainboard/google/auron/variants/gandof/spd/spd.c index b16e545899..cbd3fed295 100644 --- a/src/mainboard/google/auron/variants/gandof/spd/spd.c +++ b/src/mainboard/google/auron/variants/gandof/spd/spd.c @@ -55,9 +55,7 @@ static void mainboard_print_spd_info(uint8_t spd[]) printk(BIOS_INFO, "SPD: module part is %s\n", spd_name); printk(BIOS_INFO, "SPD: banks %d, ranks %d, rows %d, columns %d, " - , banks, ranks, rows, cols); - printk(BIOS_INFO, "density %d Mb\n", capmb); - + "density %d Mb\n", banks, ranks, rows, cols, capmb); printk(BIOS_INFO, "SPD: device width %d bits, bus width %d bits\n", devw, busw); diff --git a/src/mainboard/google/auron/variants/lulu/spd/spd.c b/src/mainboard/google/auron/variants/lulu/spd/spd.c index 2abf0a7bc7..333d881ee0 100644 --- a/src/mainboard/google/auron/variants/lulu/spd/spd.c +++ b/src/mainboard/google/auron/variants/lulu/spd/spd.c @@ -56,9 +56,7 @@ static void mainboard_print_spd_info(uint8_t spd[]) printk(BIOS_INFO, "SPD: module part is %s\n", spd_name); printk(BIOS_INFO, "SPD: banks %d, ranks %d, rows %d, columns %d, " - , banks, ranks, rows, cols); - printk(BIOS_INFO, "density %d Mb\n", capmb); - + "density %d Mb\n", banks, ranks, rows, cols, capmb); printk(BIOS_INFO, "SPD: device width %d bits, bus width %d bits\n", devw, busw);