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:
		@@ -1,5 +1,6 @@
 | 
				
			|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
					/* SPDX-License-Identifier: GPL-2.0-only */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <soc/gpio.h>
 | 
				
			||||||
#include <soc/platform_descriptors.h>
 | 
					#include <soc/platform_descriptors.h>
 | 
				
			||||||
#include <types.h>
 | 
					#include <types.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -24,7 +25,7 @@ static const fsp_dxio_descriptor majolica_czn_dxio_descriptors[] = {
 | 
				
			|||||||
		.function_number = 1,
 | 
							.function_number = 1,
 | 
				
			||||||
		.turn_off_unused_lanes = true,
 | 
							.turn_off_unused_lanes = true,
 | 
				
			||||||
		.clk_req = CLK_REQ5,
 | 
							.clk_req = CLK_REQ5,
 | 
				
			||||||
		.gpio_group_id = 26,
 | 
							.gpio_group_id = GPIO_26,
 | 
				
			||||||
		.port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122}
 | 
							.port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{ /* DT */
 | 
						{ /* DT */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user