summaryrefslogtreecommitdiff
path: root/util/genbuild_h/genbuild_h.sh
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-12-20 22:47:03 +0100
committerShelley Chen <shchen@google.com>2023-12-26 17:09:30 +0000
commit727ee667561909ecb05a2671bd7d885aa111cd60 (patch)
treee3b055cb162579545c54dba54b868f7453fc17a4 /util/genbuild_h/genbuild_h.sh
parent1b60e5c5c92e96b11a87d2649a0045bb451d9de1 (diff)
soc/amd/stoneyridge: use is_dev_enabled(DEV_PTR())
Since we have chipset devicetrees for both SoCs supported by the Stoneyridge code, we can use the DEV_PTR macro instead of using pcidev_path_on_root to get the device struct pointer. We can also use the is_dev_enabled function instead of checking the value of the enabled element of the device struct directly. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ifb787750ebc6aa2fef9d3be0e84e6afcffdc2ac1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79671 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/genbuild_h/genbuild_h.sh')
0 files changed, 0 insertions, 0 deletions