diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-02-11 00:50:38 -0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-02-16 08:41:15 +0100 |
commit | e67002968b6ebc69c5a94fb2cee17af3845268c9 (patch) | |
tree | 9b9675eb187bdc579ea41a602ef032bcdb78a300 /util/sconfig/sconfig.tab.c_shipped | |
parent | dc1b294bfbf3de0b4b14c77e872bd62c66b19535 (diff) |
sconfig: Add a new "SPI" device type
Update sconfig lex and yacc files to add support for a new "SPI" device
type in the devicetree. SPI device takes only parameter i.e. chip select
number for the device on the SPI bus.
Re-generate the shipped files for sconfig using flex 2.6.0 and bison
3.0.4 (make CONFIG_SCONFIG_GENPARSER=1). Clean up local paths that leak
into generated files.
BUG=chrome-os-partner:59832
BRANCH=None
TEST=Compiles successfully.
Change-Id: If0831e25b3e4ed87827ad92356d7bf47b6387884
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/18339
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'util/sconfig/sconfig.tab.c_shipped')
-rw-r--r-- | util/sconfig/sconfig.tab.c_shipped | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/util/sconfig/sconfig.tab.c_shipped b/util/sconfig/sconfig.tab.c_shipped index bca06a075d..116f41f05c 100644 --- a/util/sconfig/sconfig.tab.c_shipped +++ b/util/sconfig/sconfig.tab.c_shipped @@ -149,7 +149,8 @@ extern int yydebug; IOAPIC_IRQ = 281, IOAPIC = 282, PCIINT = 283, - GENERIC = 284 + GENERIC = 284, + SPI = 285 }; #endif @@ -426,7 +427,7 @@ union yyalloc #define YYLAST 39 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 30 +#define YYNTOKENS 31 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 13 /* YYNRULES -- Number of rules. */ @@ -437,7 +438,7 @@ union yyalloc /* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned by yylex, with out-of-bounds checking. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 284 +#define YYMAXUTOK 285 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) @@ -474,7 +475,7 @@ static const yytype_uint8 yytranslate[] = 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29 + 25, 26, 27, 28, 29, 30 }; #if YYDEBUG @@ -496,8 +497,8 @@ static const char *const yytname[] = "BUS", "RESOURCE", "END", "EQUALS", "HEX", "STRING", "PCI", "PNP", "I2C", "APIC", "CPU_CLUSTER", "CPU", "DOMAIN", "IRQ", "DRQ", "IO", "NUMBER", "SUBSYSTEMID", "INHERIT", "IOAPIC_IRQ", "IOAPIC", "PCIINT", "GENERIC", - "$accept", "devtree", "$@1", "chipchildren", "devicechildren", "chip", - "@2", "device", "@3", "resource", "registers", "subsystemid", + "SPI", "$accept", "devtree", "$@1", "chipchildren", "devicechildren", + "chip", "@2", "device", "@3", "resource", "registers", "subsystemid", "ioapic_irq", YY_NULLPTR }; #endif @@ -509,7 +510,8 @@ static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, 282, 283, 284 + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285 }; # endif @@ -583,19 +585,19 @@ static const yytype_int8 yycheck[] = symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { - 0, 31, 32, 0, 3, 35, 12, 36, 33, 4, - 5, 9, 35, 37, 40, 7, 12, 23, 10, 6, - 12, 38, 34, 8, 9, 24, 26, 35, 37, 39, - 41, 42, 23, 23, 23, 10, 23, 28, 23, 25, + 0, 32, 33, 0, 3, 36, 12, 37, 34, 4, + 5, 9, 36, 38, 41, 7, 12, 23, 10, 6, + 12, 39, 35, 8, 9, 24, 26, 36, 38, 40, + 42, 43, 23, 23, 23, 10, 23, 28, 23, 25, 23 }; /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint8 yyr1[] = { - 0, 30, 32, 31, 33, 33, 33, 33, 34, 34, - 34, 34, 34, 34, 36, 35, 38, 37, 39, 40, - 41, 41, 42 + 0, 31, 33, 32, 34, 34, 34, 34, 35, 35, + 35, 35, 35, 35, 37, 36, 39, 38, 40, 41, + 42, 42, 43 }; /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ |