diff options
author | Dinesh Gehlot <digehlot@google.com> | 2022-12-20 09:31:21 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-12-25 15:26:03 +0000 |
commit | 14a0876de826df055f792f2bcfec99df08b5d726 (patch) | |
tree | c2b658eb3fba216c0e0608817ffa2174546c8b7c /payloads/external | |
parent | d4f2d14d52cba27f25a53979548ea9bdaf71c23e (diff) |
soc/intel/meteorlake: Make use of is_devfn_enabled() function
1. Replace all pcidev_path_on_root() and is_dev_enabled()
functions combination with is_devfn_enabled().
2. Remove unused local variable of device structure type
(struct device *).
3. Replace pcidev_path_on_root() and dev->enabled check with
is_devfn_enabled() call.
TEST=Able to build and boot without any regression seen on MTL.
Port of 'commit 50134eccbdf4 ("soc/intel/alderlake: Make use
of is_devfn_enabled() function")'
Signed-off-by: Dinesh Gehlot <digehlot@google.com>
Change-Id: I54bbd2bdba69a19e0559738035916fa7ac60faaa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71161
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'payloads/external')
0 files changed, 0 insertions, 0 deletions