0a3d4e4b03
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>
22 lines
685 B
C
22 lines
685 B
C
#ifndef DEVICE_HYPERTRANSPORT_H
|
|
#define DEVICE_HYPERTRANSPORT_H
|
|
|
|
#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);
|
|
|
|
extern struct device_operations default_ht_ops_bus;
|
|
|
|
#define HT_IO_HOST_ALIGN 4096
|
|
#define HT_MEM_HOST_ALIGN (1024*1024)
|
|
|
|
#endif /* DEVICE_HYPERTRANSPORT_H */
|