summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-28 07:49:49 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-10-29 23:48:11 +0100
commit9ead80f8700b37779ca6536b423fa5ee9544efd2 (patch)
treefc1708c3c875639a68bc12d61b6aae086c0817f4 /src/arch
parent23c046b6f16805ff0131460189967bf261d704de (diff)
downloadcoreboot-9ead80f8700b37779ca6536b423fa5ee9544efd2.tar.xz
Drop get_smbios_data from chip_operations
We only want to add data once per device. Using the one in chip_operations is not very usable anyway, as different devices under the same chip directory would need to output entirely different sets of data. Change-Id: I96690c4c699667343ebef44a7f3de1f974cf6d6d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1492 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/smbios.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index ac0e132a24..72e70bacea 100644
--- a/src/arch/x86/boot/smbios.c
+++ b/src/arch/x86/boot/smbios.c
@@ -282,9 +282,6 @@ static int smbios_walk_device_tree(device_t tree, int *handle, unsigned long *cu
if (dev->ops && dev->ops->get_smbios_data)
len += dev->ops->get_smbios_data(dev, handle, current);
-
- if (dev->chip_ops && dev->chip_ops->get_smbios_data)
- len += dev->chip_ops->get_smbios_data(dev, handle, current);
}
return len;
}