Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/52193 )
Change subject: mb/amd/majolica/port_descriptor: use GPIO number define ......................................................................
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 --- M src/mainboard/amd/majolica/port_descriptors.c 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Raul Rangel: Looks good to me, approved
diff --git a/src/mainboard/amd/majolica/port_descriptors.c b/src/mainboard/amd/majolica/port_descriptors.c index 6aa55b4..d0dec6a 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 @@ .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 */