diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-04-08 16:35:28 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-12 15:46:39 +0000 |
commit | c1ec940eba11d279912b24377a7cf8ab4b264aaa (patch) | |
tree | 516b66769a0426b48cf66f8b7ea5b929ae5e298e /src/mainboard | |
parent | 141f33de5474dd8eb49b0bd7f1ceb99322dcabe8 (diff) |
mb/amd/majolica/port_descriptor: use GPIO number define
TEST=Timeless build results in identical binary.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ie39dc99bef4eb3776388d7406239bac6031bfaaf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52193
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/amd/majolica/port_descriptors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/amd/majolica/port_descriptors.c b/src/mainboard/amd/majolica/port_descriptors.c index 6aa55b4abf..d0dec6a29f 100644 --- a/src/mainboard/amd/majolica/port_descriptors.c +++ b/src/mainboard/amd/majolica/port_descriptors.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <soc/gpio.h> #include <soc/platform_descriptors.h> #include <types.h> @@ -24,7 +25,7 @@ static const fsp_dxio_descriptor majolica_czn_dxio_descriptors[] = { .function_number = 1, .turn_off_unused_lanes = true, .clk_req = CLK_REQ5, - .gpio_group_id = 26, + .gpio_group_id = GPIO_26, .port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122} }, { /* DT */ |