summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-08 15:41:58 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-10 14:21:27 +0000
commitafd74d2fb3718092854ea988bc264d7a70c02f44 (patch)
tree9dabe0421d32434ac5bb5e4c23bff073141dee66 /src/include/device
parent8dad3f1afaf399ef64a6f641c01cd8763371ec79 (diff)
include/device/device: drop unused fields from struct bus
Neither cap, hcdn_reg, disable_relaxed_ordering nor ht_link_up are used, so drop the fields from struct bus. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I655b028107da7ddcb5caa03dab55b022387e7cb9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77072 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/device.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index f86a52d1b2..f128070378 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -87,12 +87,8 @@ struct bus {
uint16_t secondary; /* secondary bus number */
uint16_t subordinate; /* subordinate bus number */
uint16_t max_subordinate; /* max subordinate bus number */
- unsigned char cap; /* PCi capability offset */
- uint32_t hcdn_reg; /* For HyperTransport link */
unsigned int reset_needed : 1;
- unsigned int disable_relaxed_ordering : 1;
- unsigned int ht_link_up : 1;
unsigned int no_vga16 : 1; /* No support for 16-bit VGA decoding */
};