diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2021-06-16 17:37:38 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-21 05:39:23 +0000 |
commit | f8b237b28df43c6cb58d1ca8eb61bc483a327f8c (patch) | |
tree | 531816ad5d99f73c3f0f119d6fda3775161a0818 /src/mainboard/google/guybrush/variants | |
parent | 8b60afe1b0973601fb423b43a4906d89e16869eb (diff) |
mb/google/guybrush: Add devfn macros for devices on GPP bridge
Add devfn macros for some peripheral devices that are attached to PCIE
GPP Bridge.
BUG=None
TEST=Build and boot to OS in Guybrush.
Change-Id: I7c5433dff2329f13c282908e2b848405819347ff
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55601
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/guybrush/variants')
-rw-r--r-- | src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h index 37ee241017..6b82d183d7 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h @@ -4,6 +4,12 @@ #define __BASEBOARD_VARIANTS_H__ #include <amdblocks/gpio_banks.h> +#include <soc/pci_devs.h> + +#define WLAN_DEVFN PCIE_GPP_2_0_DEVFN +#define SD_DEVFN PCIE_GPP_2_1_DEVFN +#define WWAN_DEVFN PCIE_GPP_2_2_DEVFN +#define NVME_DEVFN PCIE_GPP_2_3_DEVFN /* * This function provides base GPIO configuration table. It is typically provided by |