summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-22 06:03:08 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-24 10:00:21 +0000
commit813b2f030d7b17e7e550005a108419eb4e372c4e (patch)
treec06fbdec370e71a9bb1d0164a0146ca58976b041 /src/mainboard/google
parent32b99169a56aa18047039092856a744d0e3d2d67 (diff)
downloadcoreboot-813b2f030d7b17e7e550005a108419eb4e372c4e.tar.xz
mb/amd,google: Rename static functions to mainboard_enable
Let's not have 7 boards of all use a different name for the .enable_dev function in mainboard chip_operations. Change-Id: I07f3569e6af85f4f1635595125fe2881ab9ddd43 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50999 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kahlee/mainboard.c4
-rw-r--r--src/mainboard/google/zork/mainboard.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c
index 570f20ce31..b69af78065 100644
--- a/src/mainboard/google/kahlee/mainboard.c
+++ b/src/mainboard/google/kahlee/mainboard.c
@@ -148,7 +148,7 @@ static void mainboard_init(void *chip_info)
/*************************************************
* Dedicated mainboard function
*************************************************/
-static void kahlee_enable(struct device *dev)
+static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard "
CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
@@ -176,7 +176,7 @@ void mainboard_suspend_resume(void)
struct chip_operations mainboard_ops = {
.init = mainboard_init,
- .enable_dev = kahlee_enable,
+ .enable_dev = mainboard_enable,
};
/* Variants may override these functions so see definitions in variants/ */
diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c
index 06f4e8dda1..31d87c0ab4 100644
--- a/src/mainboard/google/zork/mainboard.c
+++ b/src/mainboard/google/zork/mainboard.c
@@ -197,7 +197,7 @@ static void mainboard_fill_ssdt(const struct device *dev)
/*************************************************
* Dedicated mainboard function
*************************************************/
-static void zork_enable(struct device *dev)
+static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
@@ -217,7 +217,7 @@ static void mainboard_final(void *chip_info)
struct chip_operations mainboard_ops = {
.init = mainboard_init,
- .enable_dev = zork_enable,
+ .enable_dev = mainboard_enable,
.final = mainboard_final,
};