summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2023-11-10 18:50:39 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-11-12 04:52:40 +0000
commit173922fc88e7c4e06ef903f2445919cb678324fb (patch)
treefd4c9edd5822db76a6afabc1400946c196b19009 /src/mainboard/google
parent2a87ef1eca56ed6b215bd6c4e0beabab670434ee (diff)
mainboards: Drop stale comment about enumerate_buses()
There is no enumerate_buses() today and also no trace of it in our repository. Also, in current terms, mainboard_enable() is called as the very first thing in our enumeration so the comment seems misleading. Change-Id: Iae620f83c8166c1cfc8b9fb9ef4a7025987bf1be Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79003 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/auron/mainboard.c3
-rw-r--r--src/mainboard/google/beltino/mainboard.c3
-rw-r--r--src/mainboard/google/butterfly/mainboard.c3
-rw-r--r--src/mainboard/google/cyan/mainboard.c4
-rw-r--r--src/mainboard/google/glados/mainboard.c4
-rw-r--r--src/mainboard/google/jecht/mainboard.c3
-rw-r--r--src/mainboard/google/link/mainboard.c3
-rw-r--r--src/mainboard/google/parrot/mainboard.c3
-rw-r--r--src/mainboard/google/rambi/mainboard.c3
-rw-r--r--src/mainboard/google/slippy/mainboard.c3
-rw-r--r--src/mainboard/google/stout/mainboard.c3
11 files changed, 0 insertions, 35 deletions
diff --git a/src/mainboard/google/auron/mainboard.c b/src/mainboard/google/auron/mainboard.c
index f465d0775d..ed2e7b889c 100644
--- a/src/mainboard/google/auron/mainboard.c
+++ b/src/mainboard/google/auron/mainboard.c
@@ -21,9 +21,6 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
return variant_smbios_data(dev, handle, current);
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/beltino/mainboard.c b/src/mainboard/google/beltino/mainboard.c
index b35e005405..7d3da78d46 100644
--- a/src/mainboard/google/beltino/mainboard.c
+++ b/src/mainboard/google/beltino/mainboard.c
@@ -18,9 +18,6 @@ static void mainboard_init(struct device *dev)
lan_init();
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c
index 67f371c656..ac0f57b3aa 100644
--- a/src/mainboard/google/butterfly/mainboard.c
+++ b/src/mainboard/google/butterfly/mainboard.c
@@ -248,9 +248,6 @@ static int butterfly_onboard_smbios_data(struct device *dev, int *handle,
return len;
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/cyan/mainboard.c b/src/mainboard/google/cyan/mainboard.c
index 1e0006ce01..6a3f4803ce 100644
--- a/src/mainboard/google/cyan/mainboard.c
+++ b/src/mainboard/google/cyan/mainboard.c
@@ -8,10 +8,6 @@ static void mainboard_init(struct device *dev)
mainboard_ec_init();
}
-/*
- * mainboard_enable is executed as first thing after
- * enumerate_buses().
- */
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/glados/mainboard.c b/src/mainboard/google/glados/mainboard.c
index faa80b9cbb..9f37052701 100644
--- a/src/mainboard/google/glados/mainboard.c
+++ b/src/mainboard/google/glados/mainboard.c
@@ -87,10 +87,6 @@ static unsigned long mainboard_write_acpi_tables(
return end_addr;
}
-/*
- * mainboard_enable is executed as first thing after
- * enumerate_buses().
- */
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/jecht/mainboard.c b/src/mainboard/google/jecht/mainboard.c
index 3c255b7871..0b3ae01c13 100644
--- a/src/mainboard/google/jecht/mainboard.c
+++ b/src/mainboard/google/jecht/mainboard.c
@@ -8,9 +8,6 @@ static void mainboard_init(struct device *dev)
lan_init();
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c
index 1f9da88e5c..c31ab110a2 100644
--- a/src/mainboard/google/link/mainboard.c
+++ b/src/mainboard/google/link/mainboard.c
@@ -162,9 +162,6 @@ static int link_onboard_smbios_data(struct device *dev, int *handle,
return len;
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c
index eeb3ce4487..f921812687 100644
--- a/src/mainboard/google/parrot/mainboard.c
+++ b/src/mainboard/google/parrot/mainboard.c
@@ -53,9 +53,6 @@ static int parrot_onboard_smbios_data(struct device *dev, int *handle,
return len;
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/rambi/mainboard.c b/src/mainboard/google/rambi/mainboard.c
index 8f887e8d0f..df27e39724 100644
--- a/src/mainboard/google/rambi/mainboard.c
+++ b/src/mainboard/google/rambi/mainboard.c
@@ -45,9 +45,6 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
return len;
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/slippy/mainboard.c b/src/mainboard/google/slippy/mainboard.c
index 47f071c2a4..8d470f4ba6 100644
--- a/src/mainboard/google/slippy/mainboard.c
+++ b/src/mainboard/google/slippy/mainboard.c
@@ -58,9 +58,6 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
return len;
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c
index ae68a78dcb..e1ea7c265f 100644
--- a/src/mainboard/google/stout/mainboard.c
+++ b/src/mainboard/google/stout/mainboard.c
@@ -35,9 +35,6 @@ static void mainboard_init(struct device *dev)
pci_write_config8(ethernet_dev, 0x81, 0x01);
}
-// mainboard_enable is executed as first thing after
-// enumerate_buses().
-
static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;