commit | 716c8cc0951fb6a3e212d4bd9b79ea0b6f9bdf9b | [log] [tgz] |
---|---|---|
author | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | Tue Feb 25 18:22:45 2025 +0000 |
committer | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | Wed Feb 26 11:33:37 2025 +0000 |
tree | 858cebc6186fb65cc28fc02883dec4a112534603 | |
parent | 42dd088203e40911c67106d46cfccde58d55e1b5 [diff] |
fix(lib/pcie): bdf macro The existing PCIE_CREATE_BDF macro is a non standard way of deriving bdf value. This fix assigns 3 bits for function number, 5 bits for device number and 8 bits for bus. This bdf value is used as TDISP function id while passing it to DSM. Using a wrong bdf value results the TDISP command to fail. Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> Change-Id: I31301be4dfc9bd2409da73e54715f73079a921cb