diff options
Diffstat (limited to 'src/include/device/hypertransport_def.h')
-rw-r--r-- | src/include/device/hypertransport_def.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/device/hypertransport_def.h b/src/include/device/hypertransport_def.h index 8af94d94ac..4b340e862e 100644 --- a/src/include/device/hypertransport_def.h +++ b/src/include/device/hypertransport_def.h @@ -21,8 +21,10 @@ 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); + 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 */ |