diff options
| author | Jim Quinlan <james.quinlan@broadcom.com> | 2026-09-11 19:35:27 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-10-14 13:31:58 -0500 |
| commit | f0486008f1cfaef895b4f52bb506a065b5441644 (patch) | |
| tree | 8385289c485bca2c7723f723c6661fd23a47c897 /tools/lib/python/kdoc/python_version.py | |
| parent | 46edf058e1531ceac70c59b0e69c3ff35b22e3f1 (diff) | |
PCI: brcmstb: Use flags u32 instead of bools
Instead of having separate 'bool' fields for each SoC configuration, use a
small bitvector (u32). Doing this uses less memory and provides a uniform
method to assign flags for a specific SoC. The expectation is that more
flags will be added as we replace conditions like "if (chipA || chipB)"
with "if (behavior_X)".
A helper macro "BFLAG()" is used to shorten the determination of the flag
value.
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260911233541.1650895-3-james.quinlan@broadcom.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
