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>
This commit is contained in:
Felix Held 2021-04-08 16:35:28 +02:00
parent 141f33de54
commit c1ec940eba
1 changed files with 2 additions and 1 deletions

View File

@ -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 */