soc/amd/glinda: Remove non-exisiting I2C definitions

Glinda doesn't contain I2C4 and I2C5 like Mendocino it was copied
from. Remove their definitions.

Reference: Document 57254

Change-Id: I676e76aa2309d9ab82d63b48a2dec3c100241131
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84382
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Maximilian Brune 2024-08-06 17:41:18 +02:00 committed by Felix Held
commit 8775271398
5 changed files with 2 additions and 9 deletions

View file

@ -65,7 +65,6 @@ static const struct irq_idx_name irq_association[] = {
{ PIRQ_I2C3, "I2C3" },
{ PIRQ_UART0, "UART0" },
{ PIRQ_UART1, "UART1" },
{ PIRQ_I2C4, "I2C4" },
{ PIRQ_UART4, "UART4" },
{ PIRQ_UART2, "UART2" },
{ PIRQ_UART3, "UART3" },

View file

@ -54,7 +54,6 @@
#define PIRQ_I2C3 0x73 /* I2C3 */
#define PIRQ_UART0 0x74 /* UART0 */
#define PIRQ_UART1 0x75 /* UART1 */
#define PIRQ_I2C4 0x76 /* I2C4 */
#define PIRQ_UART4 0x77 /* UART4 */
#define PIRQ_UART2 0x78 /* UART2 */
#define PIRQ_UART3 0x79 /* UART3 */

View file

@ -11,8 +11,6 @@
#define FCH_AOAC_DEV_I2C1 6
#define FCH_AOAC_DEV_I2C2 7
#define FCH_AOAC_DEV_I2C3 8
#define FCH_AOAC_DEV_I2C4 9
#define FCH_AOAC_DEV_I2C5 10
#define FCH_AOAC_DEV_UART0 11
#define FCH_AOAC_DEV_UART1 12
#define FCH_AOAC_DEV_UART2 16

View file

@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* TODO: Update for Glinda */
#ifndef AMD_GLINDA_I2C_H
#define AMD_GLINDA_I2C_H

View file

@ -85,7 +85,7 @@
#define SMITYPE_CIO_FCH_PME_S5_0 37
#define SMITYPE_CIO_FCH_PME_S5_1 38
#define SMITYPE_AZPME 39
#define SMITYPE_USB_PD_I2C4 40
/* 40 Reserved */
#define SMITYPE_GPIO_CTL 41
#define SMITYPE_XHC2_PME 42
#define SMITYPE_ALT_HPET_ALARM 43
@ -114,8 +114,7 @@
/* 67 Reserved */
#define SMITYPE_NB_GPP_PME_PULSE 68
#define SMITYPE_NB_GPP_HP_PULSE 69
#define SMITYPE_USB_PD_I2C4_INTR2 70
/* 71 Reserved */
/* 70-71 Reserved */
#define SMITYPE_GBL_RLS 72
#define SMITYPE_BIOS_RLS 73
#define SMITYPE_PWRBUTTON_DOWN 74