summaryrefslogtreecommitdiff
path: root/util/sconfig/sconfig.tab.c_shipped
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2022-11-02 15:57:10 +0100
committerMartin L Roth <gaumless@gmail.com>2022-11-24 05:53:55 +0000
commit67f63e768d8860ebc6bae5987e2d928efabcf7c4 (patch)
tree79b4434bbc318750dc4e3ba45436277aefb27c27 /util/sconfig/sconfig.tab.c_shipped
parent66e44e325278f8a4b4227eb7d1c5d6c56e1686cd (diff)
src/device + util/sconfig: Introduce new device 'mdio'
This patch extends the available device paths with a new device 'mdio'. MDIO is the 'Management Data Input/Output' called interface which is used to access an Ethernet PHY behind a MAC to change settings. The real payload data path is not handled by this interface. To address the PHY correctly on the MDIO bus, there is a 5 bit address needed, which often can be configured via pins on the mainboard. Therefore, the new introduced device has an 'addr' field to define its address. If one wants to use a MDIO device in devicetree, the syntax is straight forward (example): device mdio 0x2 on end As the MDIO interface is driven by the MAC, most likely this MDIO device will be hooked in as a child device of the (PCI attached) MAC device. With the new introduced ops_mdio a new interface is added to provide an API for read and write access over MDIO. Change-Id: I6691f92c4233bc30afc9029840b06f74bb1eb4b2 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69382 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/sconfig/sconfig.tab.c_shipped')
-rw-r--r--util/sconfig/sconfig.tab.c_shipped197
1 files changed, 99 insertions, 98 deletions
diff --git a/util/sconfig/sconfig.tab.c_shipped b/util/sconfig/sconfig.tab.c_shipped
index 3df31a721b..6bc0e02f7d 100644
--- a/util/sconfig/sconfig.tab.c_shipped
+++ b/util/sconfig/sconfig.tab.c_shipped
@@ -151,45 +151,46 @@ enum yysymbol_kind_t
YYSYMBOL_USB = 38, /* USB */
YYSYMBOL_MMIO = 39, /* MMIO */
YYSYMBOL_GPIO = 40, /* GPIO */
- YYSYMBOL_FW_CONFIG_TABLE = 41, /* FW_CONFIG_TABLE */
- YYSYMBOL_FW_CONFIG_FIELD = 42, /* FW_CONFIG_FIELD */
- YYSYMBOL_FW_CONFIG_OPTION = 43, /* FW_CONFIG_OPTION */
- YYSYMBOL_FW_CONFIG_PROBE = 44, /* FW_CONFIG_PROBE */
- YYSYMBOL_PIPE = 45, /* PIPE */
- YYSYMBOL_OPS = 46, /* OPS */
- YYSYMBOL_YYACCEPT = 47, /* $accept */
- YYSYMBOL_devtree = 48, /* devtree */
- YYSYMBOL_chipchild_nondev = 49, /* chipchild_nondev */
- YYSYMBOL_chipchild = 50, /* chipchild */
- YYSYMBOL_chipchildren = 51, /* chipchildren */
- YYSYMBOL_chipchildren_dev = 52, /* chipchildren_dev */
- YYSYMBOL_devicechildren = 53, /* devicechildren */
- YYSYMBOL_chip = 54, /* chip */
- YYSYMBOL_55_1 = 55, /* @1 */
- YYSYMBOL_device = 56, /* device */
- YYSYMBOL_57_2 = 57, /* @2 */
- YYSYMBOL_58_3 = 58, /* @3 */
- YYSYMBOL_alias = 59, /* alias */
- YYSYMBOL_status = 60, /* status */
- YYSYMBOL_resource = 61, /* resource */
- YYSYMBOL_reference = 62, /* reference */
- YYSYMBOL_registers = 63, /* registers */
- YYSYMBOL_subsystemid = 64, /* subsystemid */
- YYSYMBOL_ioapic_irq = 65, /* ioapic_irq */
- YYSYMBOL_smbios_slot_desc = 66, /* smbios_slot_desc */
- YYSYMBOL_smbios_dev_info = 67, /* smbios_dev_info */
- YYSYMBOL_fw_config_table = 68, /* fw_config_table */
- YYSYMBOL_fw_config_table_children = 69, /* fw_config_table_children */
- YYSYMBOL_fw_config_field_children = 70, /* fw_config_field_children */
- YYSYMBOL_fw_config_field_bits = 71, /* fw_config_field_bits */
- YYSYMBOL_fw_config_field_bits_repeating = 72, /* fw_config_field_bits_repeating */
- YYSYMBOL_fw_config_field = 73, /* fw_config_field */
- YYSYMBOL_74_4 = 74, /* $@4 */
- YYSYMBOL_75_5 = 75, /* $@5 */
- YYSYMBOL_76_6 = 76, /* $@6 */
- YYSYMBOL_fw_config_option = 77, /* fw_config_option */
- YYSYMBOL_fw_config_probe = 78, /* fw_config_probe */
- YYSYMBOL_ops = 79 /* ops */
+ YYSYMBOL_MDIO = 41, /* MDIO */
+ YYSYMBOL_FW_CONFIG_TABLE = 42, /* FW_CONFIG_TABLE */
+ YYSYMBOL_FW_CONFIG_FIELD = 43, /* FW_CONFIG_FIELD */
+ YYSYMBOL_FW_CONFIG_OPTION = 44, /* FW_CONFIG_OPTION */
+ YYSYMBOL_FW_CONFIG_PROBE = 45, /* FW_CONFIG_PROBE */
+ YYSYMBOL_PIPE = 46, /* PIPE */
+ YYSYMBOL_OPS = 47, /* OPS */
+ YYSYMBOL_YYACCEPT = 48, /* $accept */
+ YYSYMBOL_devtree = 49, /* devtree */
+ YYSYMBOL_chipchild_nondev = 50, /* chipchild_nondev */
+ YYSYMBOL_chipchild = 51, /* chipchild */
+ YYSYMBOL_chipchildren = 52, /* chipchildren */
+ YYSYMBOL_chipchildren_dev = 53, /* chipchildren_dev */
+ YYSYMBOL_devicechildren = 54, /* devicechildren */
+ YYSYMBOL_chip = 55, /* chip */
+ YYSYMBOL_56_1 = 56, /* @1 */
+ YYSYMBOL_device = 57, /* device */
+ YYSYMBOL_58_2 = 58, /* @2 */
+ YYSYMBOL_59_3 = 59, /* @3 */
+ YYSYMBOL_alias = 60, /* alias */
+ YYSYMBOL_status = 61, /* status */
+ YYSYMBOL_resource = 62, /* resource */
+ YYSYMBOL_reference = 63, /* reference */
+ YYSYMBOL_registers = 64, /* registers */
+ YYSYMBOL_subsystemid = 65, /* subsystemid */
+ YYSYMBOL_ioapic_irq = 66, /* ioapic_irq */
+ YYSYMBOL_smbios_slot_desc = 67, /* smbios_slot_desc */
+ YYSYMBOL_smbios_dev_info = 68, /* smbios_dev_info */
+ YYSYMBOL_fw_config_table = 69, /* fw_config_table */
+ YYSYMBOL_fw_config_table_children = 70, /* fw_config_table_children */
+ YYSYMBOL_fw_config_field_children = 71, /* fw_config_field_children */
+ YYSYMBOL_fw_config_field_bits = 72, /* fw_config_field_bits */
+ YYSYMBOL_fw_config_field_bits_repeating = 73, /* fw_config_field_bits_repeating */
+ YYSYMBOL_fw_config_field = 74, /* fw_config_field */
+ YYSYMBOL_75_4 = 75, /* $@4 */
+ YYSYMBOL_76_5 = 76, /* $@5 */
+ YYSYMBOL_77_6 = 77, /* $@6 */
+ YYSYMBOL_fw_config_option = 78, /* fw_config_option */
+ YYSYMBOL_fw_config_probe = 79, /* fw_config_probe */
+ YYSYMBOL_ops = 80 /* ops */
};
typedef enum yysymbol_kind_t yysymbol_kind_t;
@@ -517,10 +518,10 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 2
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 101
+#define YYLAST 109
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 47
+#define YYNTOKENS 48
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 33
/* YYNRULES -- Number of rules. */
@@ -529,7 +530,7 @@ union yyalloc
#define YYNSTATES 108
/* YYMAXUTOK -- Last valid token kind. */
-#define YYMAXUTOK 301
+#define YYMAXUTOK 302
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
@@ -573,7 +574,7 @@ static const yytype_int8 yytranslate[] =
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
- 45, 46
+ 45, 46, 47
};
#if YYDEBUG
@@ -608,7 +609,7 @@ static const char *const yytname[] =
"PNP", "I2C", "APIC", "CPU_CLUSTER", "CPU", "DOMAIN", "IRQ", "DRQ",
"SLOT_DESC", "SMBIOS_DEV_INFO", "IO", "NUMBER", "SUBSYSTEMID", "INHERIT",
"IOAPIC_IRQ", "IOAPIC", "PCIINT", "GENERIC", "SPI", "USB", "MMIO",
- "GPIO", "FW_CONFIG_TABLE", "FW_CONFIG_FIELD", "FW_CONFIG_OPTION",
+ "GPIO", "MDIO", "FW_CONFIG_TABLE", "FW_CONFIG_FIELD", "FW_CONFIG_OPTION",
"FW_CONFIG_PROBE", "PIPE", "OPS", "$accept", "devtree",
"chipchild_nondev", "chipchild", "chipchildren", "chipchildren_dev",
"devicechildren", "chip", "@1", "device", "@2", "@3", "alias", "status",
@@ -627,7 +628,7 @@ yysymbol_name (yysymbol_kind_t yysymbol)
}
#endif
-#define YYPACT_NINF (-57)
+#define YYPACT_NINF (-49)
#define yypact_value_is_default(Yyn) \
((Yyn) == YYPACT_NINF)
@@ -641,17 +642,17 @@ yysymbol_name (yysymbol_kind_t yysymbol)
STATE-NUM. */
static const yytype_int8 yypact[] =
{
- -57, 6, -57, 2, -57, -57, -57, -57, -12, 45,
- -57, 4, -57, 11, 5, 7, 45, -3, -57, -57,
- -57, -57, 21, 18, 25, 14, 34, -57, -57, 45,
- 27, 16, -57, 44, 53, 46, 47, -57, -57, -57,
- -57, -57, 32, -57, -7, -57, -57, -57, 49, 44,
- -57, -57, -6, 27, 16, -57, -57, 50, -57, -57,
- -57, -57, -57, -57, -2, 38, 0, -57, -57, -57,
- 39, -57, 54, 40, 42, 43, 57, 58, -57, -57,
- -57, -57, -57, -57, -57, -57, -57, -57, 12, 61,
- 60, 62, 48, 51, 63, -57, -57, 52, 64, -57,
- 56, 55, -57, -57, 66, -57, -57, -57
+ -49, 8, -49, 2, -49, -49, -49, -49, -4, 39,
+ -49, 3, -49, 5, 4, 12, 39, 16, -49, -49,
+ -49, -49, 11, 34, 23, 7, 47, -49, -49, 39,
+ 26, 13, -49, 6, 51, 41, 44, -49, -49, -49,
+ -49, -49, 32, -49, -12, -49, -49, -49, 46, 6,
+ -49, -49, -8, 26, 13, -49, -49, 50, -49, -49,
+ -49, -49, -49, -49, -7, 40, 0, -49, -49, -49,
+ 42, -49, 52, 43, 45, 48, 54, 57, -49, -49,
+ -49, -49, -49, -49, -49, -49, -49, -49, 21, 49,
+ 59, 60, 53, 55, 62, -49, -49, 56, 63, -49,
+ 61, 58, -49, -49, 64, -49, -49, -49
};
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
@@ -675,10 +676,10 @@ static const yytype_int8 yydefact[] =
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int8 yypgoto[] =
{
- -57, -57, 65, -57, -57, 68, 22, -1, -57, -28,
- -57, -57, -57, 41, -57, -57, -56, -57, -57, -57,
- -57, -57, -57, -21, 59, 37, -57, -57, -57, -57,
- -57, -57, -57
+ -49, -49, 65, -49, -49, 66, 17, -1, -49, -28,
+ -49, -49, -49, 36, -49, -49, -48, -49, -49, -49,
+ -49, -49, -49, -32, 67, 35, -49, -49, -49, -49,
+ -49, -49, -49
};
/* YYDEFGOTO[NTERM-NUM]. */
@@ -695,47 +696,47 @@ static const yytype_int8 yydefgoto[] =
number is the opposite. If YYTABLE_NINF, syntax error. */
static const yytype_int8 yytable[] =
{
- 5, 39, 10, 3, 13, 14, 2, 56, 62, 3,
- 81, 28, 68, 70, 71, 3, 13, 14, 23, 7,
- 52, 22, 25, 24, 26, 70, 96, 72, 73, 35,
- 11, 74, 81, 75, 64, 33, 57, 57, 79, 72,
- 73, 57, 36, 74, 76, 75, 77, 4, 3, 13,
- 14, 30, 15, 45, 46, 34, 76, 40, 77, 48,
- 79, 42, 53, 50, 51, 78, 60, 65, 69, 89,
- 91, 90, 92, 93, 94, 95, 97, 98, 100, 99,
- 102, 104, 103, 107, 27, 106, 101, 78, 105, 88,
- 61, 63, 0, 0, 37, 0, 0, 0, 0, 0,
- 0, 54
+ 5, 39, 56, 3, 13, 14, 62, 68, 2, 52,
+ 10, 3, 23, 70, 71, 45, 46, 24, 81, 7,
+ 22, 25, 35, 64, 3, 13, 14, 72, 73, 26,
+ 28, 74, 57, 75, 70, 96, 57, 57, 79, 11,
+ 81, 30, 3, 13, 14, 76, 15, 77, 72, 73,
+ 4, 33, 74, 34, 75, 36, 40, 48, 50, 42,
+ 79, 51, 53, 60, 97, 78, 76, 65, 77, 90,
+ 69, 94, 89, 91, 95, 92, 98, 99, 93, 102,
+ 104, 107, 27, 100, 88, 61, 103, 78, 106, 63,
+ 101, 0, 0, 105, 37, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 54
};
static const yytype_int8 yycheck[] =
{
- 1, 29, 14, 3, 4, 5, 0, 14, 14, 3,
- 66, 14, 14, 13, 14, 3, 4, 5, 7, 17,
- 41, 17, 17, 12, 17, 13, 14, 27, 28, 15,
- 42, 31, 88, 33, 55, 17, 43, 43, 66, 27,
- 28, 43, 8, 31, 44, 33, 46, 41, 3, 4,
- 5, 30, 7, 9, 10, 30, 44, 30, 46, 6,
- 88, 45, 30, 17, 17, 66, 17, 17, 30, 30,
- 30, 17, 30, 30, 17, 17, 15, 17, 30, 17,
- 17, 17, 30, 17, 16, 30, 35, 88, 32, 67,
- 49, 54, -1, -1, 29, -1, -1, -1, -1, -1,
- -1, 42
+ 1, 29, 14, 3, 4, 5, 14, 14, 0, 41,
+ 14, 3, 7, 13, 14, 9, 10, 12, 66, 17,
+ 17, 17, 15, 55, 3, 4, 5, 27, 28, 17,
+ 14, 31, 44, 33, 13, 14, 44, 44, 66, 43,
+ 88, 30, 3, 4, 5, 45, 7, 47, 27, 28,
+ 42, 17, 31, 30, 33, 8, 30, 6, 17, 46,
+ 88, 17, 30, 17, 15, 66, 45, 17, 47, 17,
+ 30, 17, 30, 30, 17, 30, 17, 17, 30, 17,
+ 17, 17, 16, 30, 67, 49, 30, 88, 30, 54,
+ 35, -1, -1, 32, 29, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 42
};
/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
state STATE-NUM. */
static const yytype_int8 yystos[] =
{
- 0, 48, 0, 3, 41, 54, 68, 17, 69, 55,
- 14, 42, 73, 4, 5, 7, 49, 52, 54, 56,
- 62, 63, 17, 7, 12, 17, 17, 52, 14, 51,
- 30, 71, 76, 17, 30, 15, 8, 49, 50, 56,
- 30, 75, 45, 72, 70, 9, 10, 60, 6, 59,
- 17, 17, 70, 30, 71, 74, 14, 43, 77, 58,
- 17, 60, 14, 72, 70, 17, 53, 57, 14, 30,
- 13, 14, 27, 28, 31, 33, 44, 46, 54, 56,
- 61, 63, 64, 65, 66, 67, 78, 79, 53, 30,
+ 0, 49, 0, 3, 42, 55, 69, 17, 70, 56,
+ 14, 43, 74, 4, 5, 7, 50, 53, 55, 57,
+ 63, 64, 17, 7, 12, 17, 17, 53, 14, 52,
+ 30, 72, 77, 17, 30, 15, 8, 50, 51, 57,
+ 30, 76, 46, 73, 71, 9, 10, 61, 6, 60,
+ 17, 17, 71, 30, 72, 75, 14, 44, 78, 59,
+ 17, 61, 14, 73, 71, 17, 54, 58, 14, 30,
+ 13, 14, 27, 28, 31, 33, 45, 47, 55, 57,
+ 62, 64, 65, 66, 67, 68, 79, 80, 54, 30,
17, 30, 30, 30, 17, 17, 14, 15, 17, 17,
30, 35, 17, 30, 17, 32, 30, 17
};
@@ -743,13 +744,13 @@ static const yytype_int8 yystos[] =
/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */
static const yytype_int8 yyr1[] =
{
- 0, 47, 48, 48, 48, 49, 49, 49, 50, 50,
- 51, 51, 52, 52, 53, 53, 53, 53, 53, 53,
- 53, 53, 53, 53, 53, 55, 54, 57, 56, 58,
- 56, 59, 59, 60, 60, 61, 62, 63, 64, 64,
- 65, 66, 66, 66, 67, 67, 68, 69, 69, 70,
- 70, 71, 72, 72, 74, 73, 75, 73, 76, 73,
- 77, 78, 79
+ 0, 48, 49, 49, 49, 50, 50, 50, 51, 51,
+ 52, 52, 53, 53, 54, 54, 54, 54, 54, 54,
+ 54, 54, 54, 54, 54, 56, 55, 58, 57, 59,
+ 57, 60, 60, 61, 61, 62, 63, 64, 65, 65,
+ 66, 67, 67, 67, 68, 68, 69, 70, 70, 71,
+ 71, 72, 73, 73, 75, 74, 76, 74, 77, 74,
+ 78, 79, 80
};
/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */