AMD K8 fam10: Refactor offset_unitid configuration
Change-Id: I198f2ad321e1a8b6d932f5624b129e312e36a309 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8349 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
		| @@ -18,4 +18,11 @@ | ||||
| #define HT_FREQ_2600Mhz 14 | ||||
| #define HT_FREQ_VENDOR  15  /* AMD defines this to be 100Mhz */ | ||||
|  | ||||
|  | ||||
| static inline bool offset_unit_id(bool is_sb_ht_chain) | ||||
| { | ||||
| 	bool need_offset = (CONFIG_HT_CHAIN_UNITID_BASE != 1) || (CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20); | ||||
| 	return need_offset && (!CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY || is_sb_ht_chain); | ||||
| } | ||||
|  | ||||
| #endif /* DEVICE_HYPERTRANSPORT_DEF_H */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user