diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-02-23 00:34:26 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-06-05 10:18:05 +0200 |
commit | 0a3d4e4b03edd272e2025d7acb4d34357671f46b (patch) | |
tree | 3890e07873ab949341e2795a83a6a42265f0cefe /src/include/device/hypertransport.h | |
parent | 3690727955683f0e9eecadac0d7cdc7276e66ade (diff) | |
download | coreboot-0a3d4e4b03edd272e2025d7acb4d34357671f46b.tar.xz |
AMD K8 fam10: Refactor HT link connection test
Change-Id: I1e935a6b848a59f7f2e58779bceea599032de9e3
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/8562
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'src/include/device/hypertransport.h')
-rw-r--r-- | src/include/device/hypertransport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/device/hypertransport.h b/src/include/device/hypertransport.h index 22e0ac4ab0..b2ebecfdb1 100644 --- a/src/include/device/hypertransport.h +++ b/src/include/device/hypertransport.h @@ -3,6 +3,13 @@ #include <device/hypertransport_def.h> +/* TODO: Check HT specs for better names for these. */ +#define LinkConnected (1 << 0) +#define InitComplete (1 << 1) +#define NonCoherent (1 << 2) +#define ConnectionPending (1 << 4) +bool ht_is_non_coherent_link(struct bus *link); + unsigned int hypertransport_scan_chain(struct bus *bus, unsigned min_devfn, unsigned max_devfn, unsigned *ht_unit_base, unsigned offset_unitid); void ht_scan_bridge(struct device *dev); |