diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/auron/ec.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/cyan/ec.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/link/ec.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/romstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/rambi/ec.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/slippy/ec.c | 2 | ||||
-rw-r--r-- | src/mainboard/samsung/lumpy/ec.c | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/google/auron/ec.c b/src/mainboard/google/auron/ec.c index a3ee95bd0b..2334cb61a4 100644 --- a/src/mainboard/google/auron/ec.c +++ b/src/mainboard/google/auron/ec.c @@ -16,7 +16,7 @@ void mainboard_ec_init(void) int s3_wakeup = acpi_is_wakeup_s3(); - printk(BIOS_DEBUG, "mainboard_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); post_code(0xf0); google_chromeec_events_init(&info, s3_wakeup); diff --git a/src/mainboard/google/cyan/ec.c b/src/mainboard/google/cyan/ec.c index 41ef91e497..e34ea7f258 100644 --- a/src/mainboard/google/cyan/ec.c +++ b/src/mainboard/google/cyan/ec.c @@ -14,7 +14,7 @@ void mainboard_ec_init(void) .s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS, }; - printk(BIOS_DEBUG, "mainboard_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); post_code(0xf0); google_chromeec_events_init(&info, acpi_is_wakeup_s3()); diff --git a/src/mainboard/google/link/ec.c b/src/mainboard/google/link/ec.c index 6f87f1df04..2c2ed74923 100644 --- a/src/mainboard/google/link/ec.c +++ b/src/mainboard/google/link/ec.c @@ -14,7 +14,7 @@ void link_ec_init(void) .s5_wake_events = LINK_EC_S5_WAKE_EVENTS, }; - printk(BIOS_DEBUG, "link_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); post_code(0xf0); google_chromeec_events_init(&info, acpi_is_wakeup_s3()); diff --git a/src/mainboard/google/peach_pit/romstage.c b/src/mainboard/google/peach_pit/romstage.c index 91487807cc..5a4863d79a 100644 --- a/src/mainboard/google/peach_pit/romstage.c +++ b/src/mainboard/google/peach_pit/romstage.c @@ -173,13 +173,13 @@ static void simple_spi_test(void) } if (rdev_readat(boot_dev, data, 0, amt) < amt) { - printk(BIOS_SPEW, "simple_spi_test fails\n"); + printk(BIOS_SPEW, "%s fails\n", __func__); return; } for (i = 0; i < amt; i += 4){ if (rdev_readat(boot_dev, &in, i, 4) < 4) { - printk(BIOS_SPEW, "simple_spi_test fails at %d\n", i); + printk(BIOS_SPEW, "%s fails at %d\n", __func__, i); return; } if (data[i/4] != in){ @@ -188,7 +188,7 @@ static void simple_spi_test(void) i, &data[i/4], (unsigned long)data[i/4], (unsigned long)in); /* reread it to see which is wrong. */ if (rdev_readat(boot_dev, &in, i, 4) < 4) { - printk(BIOS_SPEW, "simple_spi_test fails at %d\n", i); + printk(BIOS_SPEW, "%s fails at %d\n", __func__, i); return; } printk(BIOS_SPEW, "RTRY at %d(%p):\nRAM %08lx\nSPI %08lx\n", diff --git a/src/mainboard/google/rambi/ec.c b/src/mainboard/google/rambi/ec.c index 7588eff8b9..f8b86ee533 100644 --- a/src/mainboard/google/rambi/ec.c +++ b/src/mainboard/google/rambi/ec.c @@ -16,7 +16,7 @@ void mainboard_ec_init(void) .s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS, }; - printk(BIOS_DEBUG, "mainboard_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); post_code(0xf0); google_chromeec_events_init(&info, s3_wakeup); diff --git a/src/mainboard/google/slippy/ec.c b/src/mainboard/google/slippy/ec.c index a3ee95bd0b..2334cb61a4 100644 --- a/src/mainboard/google/slippy/ec.c +++ b/src/mainboard/google/slippy/ec.c @@ -16,7 +16,7 @@ void mainboard_ec_init(void) int s3_wakeup = acpi_is_wakeup_s3(); - printk(BIOS_DEBUG, "mainboard_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); post_code(0xf0); google_chromeec_events_init(&info, s3_wakeup); diff --git a/src/mainboard/samsung/lumpy/ec.c b/src/mainboard/samsung/lumpy/ec.c index 7aac479d1c..c768b0b0a7 100644 --- a/src/mainboard/samsung/lumpy/ec.c +++ b/src/mainboard/samsung/lumpy/ec.c @@ -7,7 +7,7 @@ void lumpy_ec_init(void) { - printk(BIOS_DEBUG, "lumpy_ec_init\n"); + printk(BIOS_DEBUG, "%s\n", __func__); if (acpi_is_wakeup_s3()) return; |