diff options
Diffstat (limited to 'arch/powerpc')
78 files changed, 979 insertions, 16701 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5b50e1ac6179..a0d1146a0578 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
| @@ -181,6 +181,10 @@ config SYS_SUPPORTS_APM_EMULATION | |||
| 181 | default y if PMAC_APM_EMU | 181 | default y if PMAC_APM_EMU |
| 182 | bool | 182 | bool |
| 183 | 183 | ||
| 184 | config DTC | ||
| 185 | bool | ||
| 186 | default y | ||
| 187 | |||
| 184 | config DEFAULT_UIMAGE | 188 | config DEFAULT_UIMAGE |
| 185 | bool | 189 | bool |
| 186 | help | 190 | help |
| @@ -462,7 +466,7 @@ config PPC_64K_PAGES | |||
| 462 | 466 | ||
| 463 | config PPC_256K_PAGES | 467 | config PPC_256K_PAGES |
| 464 | bool "256k page size" if 44x | 468 | bool "256k page size" if 44x |
| 465 | depends on !STDBINUTILS && (!SHMEM || BROKEN) | 469 | depends on !STDBINUTILS |
| 466 | help | 470 | help |
| 467 | Make the page size 256k. | 471 | Make the page size 256k. |
| 468 | 472 | ||
diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c index 5c878436f348..325b310573b9 100644 --- a/arch/powerpc/boot/4xx.c +++ b/arch/powerpc/boot/4xx.c | |||
| @@ -158,21 +158,33 @@ void ibm440spe_fixup_memsize(void) | |||
| 158 | 158 | ||
| 159 | #define DDR_GET_VAL(val, mask, shift) (((val) >> (shift)) & (mask)) | 159 | #define DDR_GET_VAL(val, mask, shift) (((val) >> (shift)) & (mask)) |
| 160 | 160 | ||
| 161 | void ibm4xx_denali_fixup_memsize(void) | 161 | /* |
| 162 | * Some U-Boot versions set the number of chipselects to two | ||
| 163 | * for Sequoia/Rainier boards while they only have one chipselect | ||
| 164 | * hardwired. Hardcode the number of chipselects to one | ||
| 165 | * for sequioa/rainer board models or read the actual value | ||
| 166 | * from the memory controller register DDR0_10 otherwise. | ||
| 167 | */ | ||
| 168 | static inline u32 ibm4xx_denali_get_cs(void) | ||
| 162 | { | 169 | { |
| 163 | u32 val, max_cs, max_col, max_row; | 170 | void *devp; |
| 164 | u32 cs, col, row, bank, dpath; | 171 | char model[64]; |
| 165 | unsigned long memsize; | 172 | u32 val, cs; |
| 166 | 173 | ||
| 167 | val = SDRAM0_READ(DDR0_02); | 174 | devp = finddevice("/"); |
| 168 | if (!DDR_GET_VAL(val, DDR_START, DDR_START_SHIFT)) | 175 | if (!devp) |
| 169 | fatal("DDR controller is not initialized\n"); | 176 | goto read_cs; |
| 170 | 177 | ||
| 171 | /* get maximum cs col and row values */ | 178 | if (getprop(devp, "model", model, sizeof(model)) <= 0) |
| 172 | max_cs = DDR_GET_VAL(val, DDR_MAX_CS_REG, DDR_MAX_CS_REG_SHIFT); | 179 | goto read_cs; |
| 173 | max_col = DDR_GET_VAL(val, DDR_MAX_COL_REG, DDR_MAX_COL_REG_SHIFT); | ||
| 174 | max_row = DDR_GET_VAL(val, DDR_MAX_ROW_REG, DDR_MAX_ROW_REG_SHIFT); | ||
| 175 | 180 | ||
| 181 | model[sizeof(model)-1] = 0; | ||
| 182 | |||
| 183 | if (!strcmp(model, "amcc,sequoia") || | ||
| 184 | !strcmp(model, "amcc,rainier")) | ||
| 185 | return 1; | ||
| 186 | |||
| 187 | read_cs: | ||
| 176 | /* get CS value */ | 188 | /* get CS value */ |
| 177 | val = SDRAM0_READ(DDR0_10); | 189 | val = SDRAM0_READ(DDR0_10); |
| 178 | 190 | ||
| @@ -183,7 +195,25 @@ void ibm4xx_denali_fixup_memsize(void) | |||
| 183 | cs++; | 195 | cs++; |
| 184 | val = val >> 1; | 196 | val = val >> 1; |
| 185 | } | 197 | } |
| 198 | return cs; | ||
| 199 | } | ||
| 200 | |||
| 201 | void ibm4xx_denali_fixup_memsize(void) | ||
| 202 | { | ||
| 203 | u32 val, max_cs, max_col, max_row; | ||
| 204 | u32 cs, col, row, bank, dpath; | ||
| 205 | unsigned long memsize; | ||
| 206 | |||
| 207 | val = SDRAM0_READ(DDR0_02); | ||
| 208 | if (!DDR_GET_VAL(val, DDR_START, DDR_START_SHIFT)) | ||
| 209 | fatal("DDR controller is not initialized\n"); | ||
| 186 | 210 | ||
| 211 | /* get maximum cs col and row values */ | ||
| 212 | max_cs = DDR_GET_VAL(val, DDR_MAX_CS_REG, DDR_MAX_CS_REG_SHIFT); | ||
| 213 | max_col = DDR_GET_VAL(val, DDR_MAX_COL_REG, DDR_MAX_COL_REG_SHIFT); | ||
| 214 | max_row = DDR_GET_VAL(val, DDR_MAX_ROW_REG, DDR_MAX_ROW_REG_SHIFT); | ||
| 215 | |||
| 216 | cs = ibm4xx_denali_get_cs(); | ||
| 187 | if (!cs) | 217 | if (!cs) |
| 188 | fatal("No memory installed\n"); | 218 | fatal("No memory installed\n"); |
| 189 | if (cs > max_cs) | 219 | if (cs > max_cs) |
| @@ -193,9 +223,9 @@ void ibm4xx_denali_fixup_memsize(void) | |||
| 193 | val = SDRAM0_READ(DDR0_14); | 223 | val = SDRAM0_READ(DDR0_14); |
| 194 | 224 | ||
| 195 | if (DDR_GET_VAL(val, DDR_REDUC, DDR_REDUC_SHIFT)) | 225 | if (DDR_GET_VAL(val, DDR_REDUC, DDR_REDUC_SHIFT)) |
| 196 | dpath = 8; /* 64 bits */ | ||
| 197 | else | ||
| 198 | dpath = 4; /* 32 bits */ | 226 | dpath = 4; /* 32 bits */ |
| 227 | else | ||
| 228 | dpath = 8; /* 64 bits */ | ||
| 199 | 229 | ||
| 200 | /* get address pins (rows) */ | 230 | /* get address pins (rows) */ |
| 201 | val = SDRAM0_READ(DDR0_42); | 231 | val = SDRAM0_READ(DDR0_42); |
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 4458abb67c51..8da2bf963b57 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
| @@ -33,7 +33,7 @@ ifeq ($(call cc-option-yn, -fstack-protector),y) | |||
| 33 | BOOTCFLAGS += -fno-stack-protector | 33 | BOOTCFLAGS += -fno-stack-protector |
| 34 | endif | 34 | endif |
| 35 | 35 | ||
| 36 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) -I$(srctree)/$(src)/libfdt | 36 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) |
| 37 | 37 | ||
| 38 | DTS_FLAGS ?= -p 1024 | 38 | DTS_FLAGS ?= -p 1024 |
| 39 | 39 | ||
| @@ -53,9 +53,14 @@ zliblinuxheader := zlib.h zconf.h zutil.h | |||
| 53 | $(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ | 53 | $(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ |
| 54 | $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader)) | 54 | $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader)) |
| 55 | 55 | ||
| 56 | src-libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c | 56 | libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c |
| 57 | libfdtheader := fdt.h libfdt.h libfdt_internal.h | ||
| 58 | |||
| 59 | $(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o): \ | ||
| 60 | $(addprefix $(obj)/,$(libfdtheader)) | ||
| 61 | |||
| 57 | src-wlib := string.S crt0.S crtsavres.S stdio.c main.c \ | 62 | src-wlib := string.S crt0.S crtsavres.S stdio.c main.c \ |
| 58 | $(addprefix libfdt/,$(src-libfdt)) libfdt-wrapper.c \ | 63 | $(libfdt) libfdt-wrapper.c \ |
| 59 | ns16550.c serial.c simple_alloc.c div64.S util.S \ | 64 | ns16550.c serial.c simple_alloc.c div64.S util.S \ |
| 60 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ | 65 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ |
| 61 | 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ | 66 | 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ |
| @@ -96,6 +101,12 @@ $(addprefix $(obj)/,$(zlibheader)): $(obj)/%: $(srctree)/lib/zlib_inflate/% | |||
| 96 | $(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/% | 101 | $(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/% |
| 97 | $(call cmd,copy_zliblinuxheader) | 102 | $(call cmd,copy_zliblinuxheader) |
| 98 | 103 | ||
| 104 | quiet_cmd_copy_libfdt = COPY $@ | ||
| 105 | cmd_copy_libfdt = cp $< $@ | ||
| 106 | |||
| 107 | $(addprefix $(obj)/,$(libfdt) $(libfdtheader)): $(obj)/%: $(srctree)/scripts/dtc/libfdt/% | ||
| 108 | $(call cmd,copy_libfdt) | ||
| 109 | |||
| 99 | $(obj)/empty.c: | 110 | $(obj)/empty.c: |
| 100 | @touch $@ | 111 | @touch $@ |
| 101 | 112 | ||
| @@ -103,6 +114,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds: $(obj)/%: $(srct | |||
| 103 | @cp $< $@ | 114 | @cp $< $@ |
| 104 | 115 | ||
| 105 | clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ | 116 | clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ |
| 117 | $(libfdt) $(libfdtheader) \ | ||
| 106 | empty.c zImage.coff.lds zImage.ps3.lds zImage.lds | 118 | empty.c zImage.coff.lds zImage.ps3.lds zImage.lds |
| 107 | 119 | ||
| 108 | quiet_cmd_bootcc = BOOTCC $@ | 120 | quiet_cmd_bootcc = BOOTCC $@ |
| @@ -114,6 +126,8 @@ quiet_cmd_bootas = BOOTAS $@ | |||
| 114 | quiet_cmd_bootar = BOOTAR $@ | 126 | quiet_cmd_bootar = BOOTAR $@ |
| 115 | cmd_bootar = $(CROSS32AR) -cr $@.$$$$ $(filter-out FORCE,$^); mv $@.$$$$ $@ | 127 | cmd_bootar = $(CROSS32AR) -cr $@.$$$$ $(filter-out FORCE,$^); mv $@.$$$$ $@ |
| 116 | 128 | ||
| 129 | $(obj-libfdt): $(obj)/%.o: $(srctree)/scripts/dtc/libfdt/%.c FORCE | ||
| 130 | $(call if_changed_dep,bootcc) | ||
| 117 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c FORCE | 131 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c FORCE |
| 118 | $(Q)mkdir -p $(dir $@) | 132 | $(Q)mkdir -p $(dir $@) |
| 119 | $(call if_changed_dep,bootcc) | 133 | $(call if_changed_dep,bootcc) |
| @@ -124,7 +138,7 @@ $(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S FORCE | |||
| 124 | $(obj)/wrapper.a: $(obj-wlib) FORCE | 138 | $(obj)/wrapper.a: $(obj-wlib) FORCE |
| 125 | $(call if_changed,bootar) | 139 | $(call if_changed,bootar) |
| 126 | 140 | ||
| 127 | hostprogs-y := addnote addRamDisk hack-coff mktree dtc | 141 | hostprogs-y := addnote addRamDisk hack-coff mktree |
| 128 | 142 | ||
| 129 | targets += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) | 143 | targets += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) |
| 130 | extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ | 144 | extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ |
| @@ -133,47 +147,10 @@ extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ | |||
| 133 | dtstree := $(srctree)/$(src)/dts | 147 | dtstree := $(srctree)/$(src)/dts |
| 134 | 148 | ||
| 135 | wrapper :=$(srctree)/$(src)/wrapper | 149 | wrapper :=$(srctree)/$(src)/wrapper |
| 136 | wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree dtc) \ | 150 | wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree) \ |
| 137 | $(wrapper) FORCE | 151 | $(wrapper) FORCE |
| 138 | 152 | ||
| 139 | ############# | 153 | ############# |
| 140 | # Bits for building dtc | ||
| 141 | # DTC_GENPARSER := 1 # Uncomment to rebuild flex/bison output | ||
| 142 | |||
| 143 | dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o srcpos.o checks.o | ||
| 144 | dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o | ||
| 145 | dtc-objs := $(addprefix dtc-src/, $(dtc-objs)) | ||
| 146 | |||
| 147 | # prerequisites on generated files needs to be explicit | ||
| 148 | $(obj)/dtc-src/dtc-parser.tab.o: $(obj)/dtc-src/dtc-parser.tab.c $(obj)/dtc-src/dtc-parser.tab.h | ||
| 149 | $(obj)/dtc-src/dtc-lexer.lex.o: $(obj)/dtc-src/dtc-lexer.lex.c $(obj)/dtc-src/dtc-parser.tab.h | ||
| 150 | |||
| 151 | HOSTCFLAGS += -I$(src)/dtc-src/ -I$(src)/libfdt/ | ||
| 152 | |||
| 153 | targets += dtc-src/dtc-parser.tab.c | ||
| 154 | targets += dtc-src/dtc-lexer.lex.c | ||
| 155 | |||
| 156 | clean-files += dtc-src/dtc-parser.tab.h | ||
| 157 | |||
| 158 | ifdef DTC_GENPARSER | ||
| 159 | BISON = bison | ||
| 160 | FLEX = flex | ||
| 161 | |||
| 162 | quiet_cmd_bison = BISON $@ | ||
| 163 | cmd_bison = $(BISON) -o$@ -d $<; cp $@ $@_shipped | ||
| 164 | quiet_cmd_flex = FLEX $@ | ||
| 165 | cmd_flex = $(FLEX) -o$@ $<; cp $@ $@_shipped | ||
| 166 | |||
| 167 | $(obj)/dtc-src/dtc-parser.tab.c: $(src)/dtc-src/dtc-parser.y FORCE | ||
| 168 | $(call if_changed,bison) | ||
| 169 | |||
| 170 | $(obj)/dtc-src/dtc-parser.tab.h: $(obj)/dtc-src/dtc-parser.tab.c | ||
| 171 | |||
| 172 | $(obj)/dtc-src/dtc-lexer.lex.c: $(src)/dtc-src/dtc-lexer.l FORCE | ||
| 173 | $(call if_changed,flex) | ||
| 174 | endif | ||
| 175 | |||
| 176 | ############# | ||
| 177 | # Bits for building various flavours of zImage | 154 | # Bits for building various flavours of zImage |
| 178 | 155 | ||
| 179 | ifneq ($(CROSS32_COMPILE),) | 156 | ifneq ($(CROSS32_COMPILE),) |
| @@ -347,8 +324,10 @@ $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits) | |||
| 347 | $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb) | 324 | $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb) |
| 348 | 325 | ||
| 349 | # Rule to build device tree blobs | 326 | # Rule to build device tree blobs |
| 350 | $(obj)/%.dtb: $(dtstree)/%.dts $(obj)/dtc | 327 | DTC = $(objtree)/scripts/dtc/dtc |
| 351 | $(obj)/dtc -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts | 328 | |
| 329 | $(obj)/%.dtb: $(dtstree)/%.dts | ||
| 330 | $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts | ||
| 352 | 331 | ||
| 353 | # If there isn't a platform selected then just strip the vmlinux. | 332 | # If there isn't a platform selected then just strip the vmlinux. |
| 354 | ifeq (,$(image-y)) | 333 | ifeq (,$(image-y)) |
diff --git a/arch/powerpc/boot/dtc-src/Makefile.dtc b/arch/powerpc/boot/dtc-src/Makefile.dtc deleted file mode 100644 index 6ddf9ecac669..000000000000 --- a/arch/powerpc/boot/dtc-src/Makefile.dtc +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | # Makefile.dtc | ||
| 2 | # | ||
| 3 | # This is not a complete Makefile of itself. Instead, it is designed to | ||
| 4 | # be easily embeddable into other systems of Makefiles. | ||
| 5 | # | ||
| 6 | DTC_SRCS = dtc.c flattree.c fstree.c data.c livetree.c treesource.c srcpos.c \ | ||
| 7 | checks.c | ||
| 8 | DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c | ||
| 9 | DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o) | ||
diff --git a/arch/powerpc/boot/dtc-src/checks.c b/arch/powerpc/boot/dtc-src/checks.c deleted file mode 100644 index 95485796f253..000000000000 --- a/arch/powerpc/boot/dtc-src/checks.c +++ /dev/null | |||
| @@ -1,587 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2007. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | |||
| 23 | #ifdef TRACE_CHECKS | ||
| 24 | #define TRACE(c, ...) \ | ||
| 25 | do { \ | ||
| 26 | fprintf(stderr, "=== %s: ", (c)->name); \ | ||
| 27 | fprintf(stderr, __VA_ARGS__); \ | ||
| 28 | fprintf(stderr, "\n"); \ | ||
| 29 | } while (0) | ||
| 30 | #else | ||
| 31 | #define TRACE(c, fmt, ...) do { } while (0) | ||
| 32 | #endif | ||
| 33 | |||
| 34 | enum checklevel { | ||
| 35 | IGNORE = 0, | ||
| 36 | WARN = 1, | ||
| 37 | ERROR = 2, | ||
| 38 | }; | ||
| 39 | |||
| 40 | enum checkstatus { | ||
| 41 | UNCHECKED = 0, | ||
| 42 | PREREQ, | ||
| 43 | PASSED, | ||
| 44 | FAILED, | ||
| 45 | }; | ||
| 46 | |||
| 47 | struct check; | ||
| 48 | |||
| 49 | typedef void (*tree_check_fn)(struct check *c, struct node *dt); | ||
| 50 | typedef void (*node_check_fn)(struct check *c, struct node *dt, struct node *node); | ||
| 51 | typedef void (*prop_check_fn)(struct check *c, struct node *dt, | ||
| 52 | struct node *node, struct property *prop); | ||
| 53 | |||
| 54 | struct check { | ||
| 55 | const char *name; | ||
| 56 | tree_check_fn tree_fn; | ||
| 57 | node_check_fn node_fn; | ||
| 58 | prop_check_fn prop_fn; | ||
| 59 | void *data; | ||
| 60 | enum checklevel level; | ||
| 61 | enum checkstatus status; | ||
| 62 | int inprogress; | ||
| 63 | int num_prereqs; | ||
| 64 | struct check **prereq; | ||
| 65 | }; | ||
| 66 | |||
| 67 | #define CHECK(nm, tfn, nfn, pfn, d, lvl, ...) \ | ||
| 68 | static struct check *nm##_prereqs[] = { __VA_ARGS__ }; \ | ||
| 69 | static struct check nm = { \ | ||
| 70 | .name = #nm, \ | ||
| 71 | .tree_fn = (tfn), \ | ||
| 72 | .node_fn = (nfn), \ | ||
| 73 | .prop_fn = (pfn), \ | ||
| 74 | .data = (d), \ | ||
| 75 | .level = (lvl), \ | ||
| 76 | .status = UNCHECKED, \ | ||
| 77 | .num_prereqs = ARRAY_SIZE(nm##_prereqs), \ | ||
| 78 | .prereq = nm##_prereqs, \ | ||
| 79 | }; | ||
| 80 | |||
| 81 | #define TREE_CHECK(nm, d, lvl, ...) \ | ||
| 82 | CHECK(nm, check_##nm, NULL, NULL, d, lvl, __VA_ARGS__) | ||
| 83 | #define NODE_CHECK(nm, d, lvl, ...) \ | ||
| 84 | CHECK(nm, NULL, check_##nm, NULL, d, lvl, __VA_ARGS__) | ||
| 85 | #define PROP_CHECK(nm, d, lvl, ...) \ | ||
| 86 | CHECK(nm, NULL, NULL, check_##nm, d, lvl, __VA_ARGS__) | ||
| 87 | #define BATCH_CHECK(nm, lvl, ...) \ | ||
| 88 | CHECK(nm, NULL, NULL, NULL, NULL, lvl, __VA_ARGS__) | ||
| 89 | |||
| 90 | #ifdef __GNUC__ | ||
| 91 | static inline void check_msg(struct check *c, const char *fmt, ...) __attribute__((format (printf, 2, 3))); | ||
| 92 | #endif | ||
| 93 | static inline void check_msg(struct check *c, const char *fmt, ...) | ||
| 94 | { | ||
| 95 | va_list ap; | ||
| 96 | va_start(ap, fmt); | ||
| 97 | |||
| 98 | if ((c->level < WARN) || (c->level <= quiet)) | ||
| 99 | return; /* Suppress message */ | ||
| 100 | |||
| 101 | fprintf(stderr, "%s (%s): ", | ||
| 102 | (c->level == ERROR) ? "ERROR" : "Warning", c->name); | ||
| 103 | vfprintf(stderr, fmt, ap); | ||
| 104 | fprintf(stderr, "\n"); | ||
| 105 | } | ||
| 106 | |||
| 107 | #define FAIL(c, ...) \ | ||
| 108 | do { \ | ||
| 109 | TRACE((c), "\t\tFAILED at %s:%d", __FILE__, __LINE__); \ | ||
| 110 | (c)->status = FAILED; \ | ||
| 111 | check_msg((c), __VA_ARGS__); \ | ||
| 112 | } while (0) | ||
| 113 | |||
| 114 | static void check_nodes_props(struct check *c, struct node *dt, struct node *node) | ||
| 115 | { | ||
| 116 | struct node *child; | ||
| 117 | struct property *prop; | ||
| 118 | |||
| 119 | TRACE(c, "%s", node->fullpath); | ||
| 120 | if (c->node_fn) | ||
| 121 | c->node_fn(c, dt, node); | ||
| 122 | |||
| 123 | if (c->prop_fn) | ||
| 124 | for_each_property(node, prop) { | ||
| 125 | TRACE(c, "%s\t'%s'", node->fullpath, prop->name); | ||
| 126 | c->prop_fn(c, dt, node, prop); | ||
| 127 | } | ||
| 128 | |||
| 129 | for_each_child(node, child) | ||
| 130 | check_nodes_props(c, dt, child); | ||
| 131 | } | ||
| 132 | |||
| 133 | static int run_check(struct check *c, struct node *dt) | ||
| 134 | { | ||
| 135 | int error = 0; | ||
| 136 | int i; | ||
| 137 | |||
| 138 | assert(!c->inprogress); | ||
| 139 | |||
| 140 | if (c->status != UNCHECKED) | ||
| 141 | goto out; | ||
| 142 | |||
| 143 | c->inprogress = 1; | ||
| 144 | |||
| 145 | for (i = 0; i < c->num_prereqs; i++) { | ||
| 146 | struct check *prq = c->prereq[i]; | ||
| 147 | error |= run_check(prq, dt); | ||
| 148 | if (prq->status != PASSED) { | ||
| 149 | c->status = PREREQ; | ||
| 150 | check_msg(c, "Failed prerequisite '%s'", | ||
| 151 | c->prereq[i]->name); | ||
| 152 | } | ||
| 153 | } | ||
| 154 | |||
| 155 | if (c->status != UNCHECKED) | ||
| 156 | goto out; | ||
| 157 | |||
| 158 | if (c->node_fn || c->prop_fn) | ||
| 159 | check_nodes_props(c, dt, dt); | ||
| 160 | |||
| 161 | if (c->tree_fn) | ||
| 162 | c->tree_fn(c, dt); | ||
| 163 | if (c->status == UNCHECKED) | ||
| 164 | c->status = PASSED; | ||
| 165 | |||
| 166 | TRACE(c, "\tCompleted, status %d", c->status); | ||
| 167 | |||
| 168 | out: | ||
| 169 | c->inprogress = 0; | ||
| 170 | if ((c->status != PASSED) && (c->level == ERROR)) | ||
| 171 | error = 1; | ||
| 172 | return error; | ||
| 173 | } | ||
| 174 | |||
| 175 | /* | ||
| 176 | * Utility check functions | ||
| 177 | */ | ||
| 178 | |||
| 179 | static void check_is_string(struct check *c, struct node *root, | ||
| 180 | struct node *node) | ||
| 181 | { | ||
| 182 | struct property *prop; | ||
| 183 | char *propname = c->data; | ||
| 184 | |||
| 185 | prop = get_property(node, propname); | ||
| 186 | if (!prop) | ||
| 187 | return; /* Not present, assumed ok */ | ||
| 188 | |||
| 189 | if (!data_is_one_string(prop->val)) | ||
| 190 | FAIL(c, "\"%s\" property in %s is not a string", | ||
| 191 | propname, node->fullpath); | ||
| 192 | } | ||
| 193 | #define CHECK_IS_STRING(nm, propname, lvl) \ | ||
| 194 | CHECK(nm, NULL, check_is_string, NULL, (propname), (lvl)) | ||
| 195 | |||
| 196 | static void check_is_cell(struct check *c, struct node *root, | ||
| 197 | struct node *node) | ||
| 198 | { | ||
| 199 | struct property *prop; | ||
| 200 | char *propname = c->data; | ||
| 201 | |||
| 202 | prop = get_property(node, propname); | ||
| 203 | if (!prop) | ||
| 204 | return; /* Not present, assumed ok */ | ||
| 205 | |||
| 206 | if (prop->val.len != sizeof(cell_t)) | ||
| 207 | FAIL(c, "\"%s\" property in %s is not a single cell", | ||
| 208 | propname, node->fullpath); | ||
| 209 | } | ||
| 210 | #define CHECK_IS_CELL(nm, propname, lvl) \ | ||
| 211 | CHECK(nm, NULL, check_is_cell, NULL, (propname), (lvl)) | ||
| 212 | |||
| 213 | /* | ||
| 214 | * Structural check functions | ||
| 215 | */ | ||
| 216 | |||
| 217 | static void check_duplicate_node_names(struct check *c, struct node *dt, | ||
| 218 | struct node *node) | ||
| 219 | { | ||
| 220 | struct node *child, *child2; | ||
| 221 | |||
| 222 | for_each_child(node, child) | ||
| 223 | for (child2 = child->next_sibling; | ||
| 224 | child2; | ||
| 225 | child2 = child2->next_sibling) | ||
| 226 | if (streq(child->name, child2->name)) | ||
| 227 | FAIL(c, "Duplicate node name %s", | ||
| 228 | child->fullpath); | ||
| 229 | } | ||
| 230 | NODE_CHECK(duplicate_node_names, NULL, ERROR); | ||
| 231 | |||
| 232 | static void check_duplicate_property_names(struct check *c, struct node *dt, | ||
| 233 | struct node *node) | ||
| 234 | { | ||
| 235 | struct property *prop, *prop2; | ||
| 236 | |||
| 237 | for_each_property(node, prop) | ||
| 238 | for (prop2 = prop->next; prop2; prop2 = prop2->next) | ||
| 239 | if (streq(prop->name, prop2->name)) | ||
| 240 | FAIL(c, "Duplicate property name %s in %s", | ||
| 241 | prop->name, node->fullpath); | ||
| 242 | } | ||
| 243 | NODE_CHECK(duplicate_property_names, NULL, ERROR); | ||
| 244 | |||
| 245 | #define LOWERCASE "abcdefghijklmnopqrstuvwxyz" | ||
| 246 | #define UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ||
| 247 | #define DIGITS "0123456789" | ||
| 248 | #define PROPNODECHARS LOWERCASE UPPERCASE DIGITS ",._+*#?-" | ||
| 249 | |||
| 250 | static void check_node_name_chars(struct check *c, struct node *dt, | ||
| 251 | struct node *node) | ||
| 252 | { | ||
| 253 | int n = strspn(node->name, c->data); | ||
| 254 | |||
| 255 | if (n < strlen(node->name)) | ||
| 256 | FAIL(c, "Bad character '%c' in node %s", | ||
| 257 | node->name[n], node->fullpath); | ||
| 258 | } | ||
| 259 | NODE_CHECK(node_name_chars, PROPNODECHARS "@", ERROR); | ||
| 260 | |||
| 261 | static void check_node_name_format(struct check *c, struct node *dt, | ||
| 262 | struct node *node) | ||
| 263 | { | ||
| 264 | if (strchr(get_unitname(node), '@')) | ||
| 265 | FAIL(c, "Node %s has multiple '@' characters in name", | ||
| 266 | node->fullpath); | ||
| 267 | } | ||
| 268 | NODE_CHECK(node_name_format, NULL, ERROR, &node_name_chars); | ||
| 269 | |||
| 270 | static void check_property_name_chars(struct check *c, struct node *dt, | ||
| 271 | struct node *node, struct property *prop) | ||
| 272 | { | ||
| 273 | int n = strspn(prop->name, c->data); | ||
| 274 | |||
| 275 | if (n < strlen(prop->name)) | ||
| 276 | FAIL(c, "Bad character '%c' in property name \"%s\", node %s", | ||
| 277 | prop->name[n], prop->name, node->fullpath); | ||
| 278 | } | ||
| 279 | PROP_CHECK(property_name_chars, PROPNODECHARS, ERROR); | ||
| 280 | |||
| 281 | static void check_explicit_phandles(struct check *c, struct node *root, | ||
| 282 | struct node *node) | ||
| 283 | { | ||
| 284 | struct property *prop; | ||
| 285 | struct node *other; | ||
| 286 | cell_t phandle; | ||
| 287 | |||
| 288 | prop = get_property(node, "linux,phandle"); | ||
| 289 | if (! prop) | ||
| 290 | return; /* No phandle, that's fine */ | ||
| 291 | |||
| 292 | if (prop->val.len != sizeof(cell_t)) { | ||
| 293 | FAIL(c, "%s has bad length (%d) linux,phandle property", | ||
| 294 | node->fullpath, prop->val.len); | ||
| 295 | return; | ||
| 296 | } | ||
| 297 | |||
| 298 | phandle = propval_cell(prop); | ||
| 299 | if ((phandle == 0) || (phandle == -1)) { | ||
| 300 | FAIL(c, "%s has invalid linux,phandle value 0x%x", | ||
| 301 | node->fullpath, phandle); | ||
| 302 | return; | ||
| 303 | } | ||
| 304 | |||
| 305 | other = get_node_by_phandle(root, phandle); | ||
| 306 | if (other) { | ||
| 307 | FAIL(c, "%s has duplicated phandle 0x%x (seen before at %s)", | ||
| 308 | node->fullpath, phandle, other->fullpath); | ||
| 309 | return; | ||
| 310 | } | ||
| 311 | |||
| 312 | node->phandle = phandle; | ||
| 313 | } | ||
| 314 | NODE_CHECK(explicit_phandles, NULL, ERROR); | ||
| 315 | |||
| 316 | static void check_name_properties(struct check *c, struct node *root, | ||
| 317 | struct node *node) | ||
| 318 | { | ||
| 319 | struct property **pp, *prop = NULL; | ||
| 320 | |||
| 321 | for (pp = &node->proplist; *pp; pp = &((*pp)->next)) | ||
| 322 | if (streq((*pp)->name, "name")) { | ||
| 323 | prop = *pp; | ||
| 324 | break; | ||
| 325 | } | ||
| 326 | |||
| 327 | if (!prop) | ||
| 328 | return; /* No name property, that's fine */ | ||
| 329 | |||
| 330 | if ((prop->val.len != node->basenamelen+1) | ||
| 331 | || (memcmp(prop->val.val, node->name, node->basenamelen) != 0)) { | ||
| 332 | FAIL(c, "\"name\" property in %s is incorrect (\"%s\" instead" | ||
| 333 | " of base node name)", node->fullpath, prop->val.val); | ||
| 334 | } else { | ||
| 335 | /* The name property is correct, and therefore redundant. | ||
| 336 | * Delete it */ | ||
| 337 | *pp = prop->next; | ||
| 338 | free(prop->name); | ||
| 339 | data_free(prop->val); | ||
| 340 | free(prop); | ||
| 341 | } | ||
| 342 | } | ||
| 343 | CHECK_IS_STRING(name_is_string, "name", ERROR); | ||
| 344 | NODE_CHECK(name_properties, NULL, ERROR, &name_is_string); | ||
| 345 | |||
| 346 | /* | ||
| 347 | * Reference fixup functions | ||
| 348 | */ | ||
| 349 | |||
| 350 | static void fixup_phandle_references(struct check *c, struct node *dt, | ||
| 351 | struct node *node, struct property *prop) | ||
| 352 | { | ||
| 353 | struct marker *m = prop->val.markers; | ||
| 354 | struct node *refnode; | ||
| 355 | cell_t phandle; | ||
| 356 | |||
| 357 | for_each_marker_of_type(m, REF_PHANDLE) { | ||
| 358 | assert(m->offset + sizeof(cell_t) <= prop->val.len); | ||
| 359 | |||
| 360 | refnode = get_node_by_ref(dt, m->ref); | ||
| 361 | if (! refnode) { | ||
| 362 | FAIL(c, "Reference to non-existent node or label \"%s\"\n", | ||
| 363 | m->ref); | ||
| 364 | continue; | ||
| 365 | } | ||
| 366 | |||
| 367 | phandle = get_node_phandle(dt, refnode); | ||
| 368 | *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); | ||
| 369 | } | ||
| 370 | } | ||
| 371 | CHECK(phandle_references, NULL, NULL, fixup_phandle_references, NULL, ERROR, | ||
| 372 | &duplicate_node_names, &explicit_phandles); | ||
| 373 | |||
| 374 | static void fixup_path_references(struct check *c, struct node *dt, | ||
| 375 | struct node *node, struct property *prop) | ||
| 376 | { | ||
| 377 | struct marker *m = prop->val.markers; | ||
| 378 | struct node *refnode; | ||
| 379 | char *path; | ||
| 380 | |||
| 381 | for_each_marker_of_type(m, REF_PATH) { | ||
| 382 | assert(m->offset <= prop->val.len); | ||
| 383 | |||
| 384 | refnode = get_node_by_ref(dt, m->ref); | ||
| 385 | if (!refnode) { | ||
| 386 | FAIL(c, "Reference to non-existent node or label \"%s\"\n", | ||
| 387 | m->ref); | ||
| 388 | continue; | ||
| 389 | } | ||
| 390 | |||
| 391 | path = refnode->fullpath; | ||
| 392 | prop->val = data_insert_at_marker(prop->val, m, path, | ||
| 393 | strlen(path) + 1); | ||
| 394 | } | ||
| 395 | } | ||
| 396 | CHECK(path_references, NULL, NULL, fixup_path_references, NULL, ERROR, | ||
| 397 | &duplicate_node_names); | ||
| 398 | |||
| 399 | /* | ||
| 400 | * Semantic checks | ||
| 401 | */ | ||
| 402 | CHECK_IS_CELL(address_cells_is_cell, "#address-cells", WARN); | ||
| 403 | CHECK_IS_CELL(size_cells_is_cell, "#size-cells", WARN); | ||
| 404 | CHECK_IS_CELL(interrupt_cells_is_cell, "#interrupt-cells", WARN); | ||
| 405 | |||
| 406 | CHECK_IS_STRING(device_type_is_string, "device_type", WARN); | ||
| 407 | CHECK_IS_STRING(model_is_string, "model", WARN); | ||
| 408 | CHECK_IS_STRING(status_is_string, "status", WARN); | ||
| 409 | |||
| 410 | static void fixup_addr_size_cells(struct check *c, struct node *dt, | ||
| 411 | struct node *node) | ||
| 412 | { | ||
| 413 | struct property *prop; | ||
| 414 | |||
| 415 | node->addr_cells = -1; | ||
| 416 | node->size_cells = -1; | ||
| 417 | |||
| 418 | prop = get_property(node, "#address-cells"); | ||
| 419 | if (prop) | ||
| 420 | node->addr_cells = propval_cell(prop); | ||
| 421 | |||
| 422 | prop = get_property(node, "#size-cells"); | ||
| 423 | if (prop) | ||
| 424 | node->size_cells = propval_cell(prop); | ||
| 425 | } | ||
| 426 | CHECK(addr_size_cells, NULL, fixup_addr_size_cells, NULL, NULL, WARN, | ||
| 427 | &address_cells_is_cell, &size_cells_is_cell); | ||
| 428 | |||
| 429 | #define node_addr_cells(n) \ | ||
| 430 | (((n)->addr_cells == -1) ? 2 : (n)->addr_cells) | ||
| 431 | #define node_size_cells(n) \ | ||
| 432 | (((n)->size_cells == -1) ? 1 : (n)->size_cells) | ||
| 433 | |||
| 434 | static void check_reg_format(struct check *c, struct node *dt, | ||
| 435 | struct node *node) | ||
| 436 | { | ||
| 437 | struct property *prop; | ||
| 438 | int addr_cells, size_cells, entrylen; | ||
| 439 | |||
| 440 | prop = get_property(node, "reg"); | ||
| 441 | if (!prop) | ||
| 442 | return; /* No "reg", that's fine */ | ||
| 443 | |||
| 444 | if (!node->parent) { | ||
| 445 | FAIL(c, "Root node has a \"reg\" property"); | ||
| 446 | return; | ||
| 447 | } | ||
| 448 | |||
| 449 | if (prop->val.len == 0) | ||
| 450 | FAIL(c, "\"reg\" property in %s is empty", node->fullpath); | ||
| 451 | |||
| 452 | addr_cells = node_addr_cells(node->parent); | ||
| 453 | size_cells = node_size_cells(node->parent); | ||
| 454 | entrylen = (addr_cells + size_cells) * sizeof(cell_t); | ||
| 455 | |||
| 456 | if ((prop->val.len % entrylen) != 0) | ||
| 457 | FAIL(c, "\"reg\" property in %s has invalid length (%d bytes) " | ||
| 458 | "(#address-cells == %d, #size-cells == %d)", | ||
| 459 | node->fullpath, prop->val.len, addr_cells, size_cells); | ||
| 460 | } | ||
| 461 | NODE_CHECK(reg_format, NULL, WARN, &addr_size_cells); | ||
| 462 | |||
| 463 | static void check_ranges_format(struct check *c, struct node *dt, | ||
| 464 | struct node *node) | ||
| 465 | { | ||
| 466 | struct property *prop; | ||
| 467 | int c_addr_cells, p_addr_cells, c_size_cells, p_size_cells, entrylen; | ||
| 468 | |||
| 469 | prop = get_property(node, "ranges"); | ||
| 470 | if (!prop) | ||
| 471 | return; | ||
| 472 | |||
| 473 | if (!node->parent) { | ||
| 474 | FAIL(c, "Root node has a \"ranges\" property"); | ||
| 475 | return; | ||
| 476 | } | ||
| 477 | |||
| 478 | p_addr_cells = node_addr_cells(node->parent); | ||
| 479 | p_size_cells = node_size_cells(node->parent); | ||
| 480 | c_addr_cells = node_addr_cells(node); | ||
| 481 | c_size_cells = node_size_cells(node); | ||
| 482 | entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); | ||
| 483 | |||
| 484 | if (prop->val.len == 0) { | ||
| 485 | if (p_addr_cells != c_addr_cells) | ||
| 486 | FAIL(c, "%s has empty \"ranges\" property but its " | ||
| 487 | "#address-cells (%d) differs from %s (%d)", | ||
| 488 | node->fullpath, c_addr_cells, node->parent->fullpath, | ||
| 489 | p_addr_cells); | ||
| 490 | if (p_size_cells != c_size_cells) | ||
| 491 | FAIL(c, "%s has empty \"ranges\" property but its " | ||
| 492 | "#size-cells (%d) differs from %s (%d)", | ||
| 493 | node->fullpath, c_size_cells, node->parent->fullpath, | ||
| 494 | p_size_cells); | ||
| 495 | } else if ((prop->val.len % entrylen) != 0) { | ||
| 496 | FAIL(c, "\"ranges\" property in %s has invalid length (%d bytes) " | ||
| 497 | "(parent #address-cells == %d, child #address-cells == %d, " | ||
| 498 | "#size-cells == %d)", node->fullpath, prop->val.len, | ||
| 499 | p_addr_cells, c_addr_cells, c_size_cells); | ||
| 500 | } | ||
| 501 | } | ||
| 502 | NODE_CHECK(ranges_format, NULL, WARN, &addr_size_cells); | ||
| 503 | |||
| 504 | /* | ||
| 505 | * Style checks | ||
| 506 | */ | ||
| 507 | static void check_avoid_default_addr_size(struct check *c, struct node *dt, | ||
| 508 | struct node *node) | ||
| 509 | { | ||
| 510 | struct property *reg, *ranges; | ||
| 511 | |||
| 512 | if (!node->parent) | ||
| 513 | return; /* Ignore root node */ | ||
| 514 | |||
| 515 | reg = get_property(node, "reg"); | ||
| 516 | ranges = get_property(node, "ranges"); | ||
| 517 | |||
| 518 | if (!reg && !ranges) | ||
| 519 | return; | ||
| 520 | |||
| 521 | if ((node->parent->addr_cells == -1)) | ||
| 522 | FAIL(c, "Relying on default #address-cells value for %s", | ||
| 523 | node->fullpath); | ||
| 524 | |||
| 525 | if ((node->parent->size_cells == -1)) | ||
| 526 | FAIL(c, "Relying on default #size-cells value for %s", | ||
| 527 | node->fullpath); | ||
| 528 | } | ||
| 529 | NODE_CHECK(avoid_default_addr_size, NULL, WARN, &addr_size_cells); | ||
| 530 | |||
| 531 | static void check_obsolete_chosen_interrupt_controller(struct check *c, | ||
| 532 | struct node *dt) | ||
| 533 | { | ||
| 534 | struct node *chosen; | ||
| 535 | struct property *prop; | ||
| 536 | |||
| 537 | chosen = get_node_by_path(dt, "/chosen"); | ||
| 538 | if (!chosen) | ||
| 539 | return; | ||
| 540 | |||
| 541 | prop = get_property(chosen, "interrupt-controller"); | ||
| 542 | if (prop) | ||
| 543 | FAIL(c, "/chosen has obsolete \"interrupt-controller\" " | ||
| 544 | "property"); | ||
| 545 | } | ||
| 546 | TREE_CHECK(obsolete_chosen_interrupt_controller, NULL, WARN); | ||
| 547 | |||
| 548 | static struct check *check_table[] = { | ||
| 549 | &duplicate_node_names, &duplicate_property_names, | ||
| 550 | &node_name_chars, &node_name_format, &property_name_chars, | ||
| 551 | &name_is_string, &name_properties, | ||
| 552 | &explicit_phandles, | ||
| 553 | &phandle_references, &path_references, | ||
| 554 | |||
| 555 | &address_cells_is_cell, &size_cells_is_cell, &interrupt_cells_is_cell, | ||
| 556 | &device_type_is_string, &model_is_string, &status_is_string, | ||
| 557 | |||
| 558 | &addr_size_cells, ®_format, &ranges_format, | ||
| 559 | |||
| 560 | &avoid_default_addr_size, | ||
| 561 | &obsolete_chosen_interrupt_controller, | ||
| 562 | }; | ||
| 563 | |||
| 564 | void process_checks(int force, struct boot_info *bi) | ||
| 565 | { | ||
| 566 | struct node *dt = bi->dt; | ||
| 567 | int i; | ||
| 568 | int error = 0; | ||
| 569 | |||
| 570 | for (i = 0; i < ARRAY_SIZE(check_table); i++) { | ||
| 571 | struct check *c = check_table[i]; | ||
| 572 | |||
| 573 | if (c->level != IGNORE) | ||
| 574 | error = error || run_check(c, dt); | ||
| 575 | } | ||
| 576 | |||
| 577 | if (error) { | ||
| 578 | if (!force) { | ||
| 579 | fprintf(stderr, "ERROR: Input tree has errors, aborting " | ||
| 580 | "(use -f to force output)\n"); | ||
| 581 | exit(2); | ||
| 582 | } else if (quiet < 3) { | ||
| 583 | fprintf(stderr, "Warning: Input tree has errors, " | ||
| 584 | "output forced\n"); | ||
| 585 | } | ||
| 586 | } | ||
| 587 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/data.c b/arch/powerpc/boot/dtc-src/data.c deleted file mode 100644 index dd2e3d39d4c1..000000000000 --- a/arch/powerpc/boot/dtc-src/data.c +++ /dev/null | |||
| @@ -1,321 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | |||
| 23 | void data_free(struct data d) | ||
| 24 | { | ||
| 25 | struct marker *m, *nm; | ||
| 26 | |||
| 27 | m = d.markers; | ||
| 28 | while (m) { | ||
| 29 | nm = m->next; | ||
| 30 | free(m->ref); | ||
| 31 | free(m); | ||
| 32 | m = nm; | ||
| 33 | } | ||
| 34 | |||
| 35 | if (d.val) | ||
| 36 | free(d.val); | ||
| 37 | } | ||
| 38 | |||
| 39 | struct data data_grow_for(struct data d, int xlen) | ||
| 40 | { | ||
| 41 | struct data nd; | ||
| 42 | int newsize; | ||
| 43 | |||
| 44 | if (xlen == 0) | ||
| 45 | return d; | ||
| 46 | |||
| 47 | nd = d; | ||
| 48 | |||
| 49 | newsize = xlen; | ||
| 50 | |||
| 51 | while ((d.len + xlen) > newsize) | ||
| 52 | newsize *= 2; | ||
| 53 | |||
| 54 | nd.val = xrealloc(d.val, newsize); | ||
| 55 | |||
| 56 | return nd; | ||
| 57 | } | ||
| 58 | |||
| 59 | struct data data_copy_mem(const char *mem, int len) | ||
| 60 | { | ||
| 61 | struct data d; | ||
| 62 | |||
| 63 | d = data_grow_for(empty_data, len); | ||
| 64 | |||
| 65 | d.len = len; | ||
| 66 | memcpy(d.val, mem, len); | ||
| 67 | |||
| 68 | return d; | ||
| 69 | } | ||
| 70 | |||
| 71 | static char get_oct_char(const char *s, int *i) | ||
| 72 | { | ||
| 73 | char x[4]; | ||
| 74 | char *endx; | ||
| 75 | long val; | ||
| 76 | |||
| 77 | x[3] = '\0'; | ||
| 78 | strncpy(x, s + *i, 3); | ||
| 79 | |||
| 80 | val = strtol(x, &endx, 8); | ||
| 81 | |||
| 82 | assert(endx > x); | ||
| 83 | |||
| 84 | (*i) += endx - x; | ||
| 85 | return val; | ||
| 86 | } | ||
| 87 | |||
| 88 | static char get_hex_char(const char *s, int *i) | ||
| 89 | { | ||
| 90 | char x[3]; | ||
| 91 | char *endx; | ||
| 92 | long val; | ||
| 93 | |||
| 94 | x[2] = '\0'; | ||
| 95 | strncpy(x, s + *i, 2); | ||
| 96 | |||
| 97 | val = strtol(x, &endx, 16); | ||
| 98 | if (!(endx > x)) | ||
| 99 | die("\\x used with no following hex digits\n"); | ||
| 100 | |||
| 101 | (*i) += endx - x; | ||
| 102 | return val; | ||
| 103 | } | ||
| 104 | |||
| 105 | struct data data_copy_escape_string(const char *s, int len) | ||
| 106 | { | ||
| 107 | int i = 0; | ||
| 108 | struct data d; | ||
| 109 | char *q; | ||
| 110 | |||
| 111 | d = data_grow_for(empty_data, strlen(s)+1); | ||
| 112 | |||
| 113 | q = d.val; | ||
| 114 | while (i < len) { | ||
| 115 | char c = s[i++]; | ||
| 116 | |||
| 117 | if (c != '\\') { | ||
| 118 | q[d.len++] = c; | ||
| 119 | continue; | ||
| 120 | } | ||
| 121 | |||
| 122 | c = s[i++]; | ||
| 123 | assert(c); | ||
| 124 | switch (c) { | ||
| 125 | case 'a': | ||
| 126 | q[d.len++] = '\a'; | ||
| 127 | break; | ||
| 128 | case 'b': | ||
| 129 | q[d.len++] = '\b'; | ||
| 130 | break; | ||
| 131 | case 't': | ||
| 132 | q[d.len++] = '\t'; | ||
| 133 | break; | ||
| 134 | case 'n': | ||
| 135 | q[d.len++] = '\n'; | ||
| 136 | break; | ||
| 137 | case 'v': | ||
| 138 | q[d.len++] = '\v'; | ||
| 139 | break; | ||
| 140 | case 'f': | ||
| 141 | q[d.len++] = '\f'; | ||
| 142 | break; | ||
| 143 | case 'r': | ||
| 144 | q[d.len++] = '\r'; | ||
| 145 | break; | ||
| 146 | case '0': | ||
| 147 | case '1': | ||
| 148 | case '2': | ||
| 149 | case '3': | ||
| 150 | case '4': | ||
| 151 | case '5': | ||
| 152 | case '6': | ||
| 153 | case '7': | ||
| 154 | i--; /* need to re-read the first digit as | ||
| 155 | * part of the octal value */ | ||
| 156 | q[d.len++] = get_oct_char(s, &i); | ||
| 157 | break; | ||
| 158 | case 'x': | ||
| 159 | q[d.len++] = get_hex_char(s, &i); | ||
| 160 | break; | ||
| 161 | default: | ||
| 162 | q[d.len++] = c; | ||
| 163 | } | ||
| 164 | } | ||
| 165 | |||
| 166 | q[d.len++] = '\0'; | ||
| 167 | return d; | ||
| 168 | } | ||
| 169 | |||
| 170 | struct data data_copy_file(FILE *f, size_t maxlen) | ||
| 171 | { | ||
| 172 | struct data d = empty_data; | ||
| 173 | |||
| 174 | while (!feof(f) && (d.len < maxlen)) { | ||
| 175 | size_t chunksize, ret; | ||
| 176 | |||
| 177 | if (maxlen == -1) | ||
| 178 | chunksize = 4096; | ||
| 179 | else | ||
| 180 | chunksize = maxlen - d.len; | ||
| 181 | |||
| 182 | d = data_grow_for(d, chunksize); | ||
| 183 | ret = fread(d.val + d.len, 1, chunksize, f); | ||
| 184 | |||
| 185 | if (ferror(f)) | ||
| 186 | die("Error reading file into data: %s", strerror(errno)); | ||
| 187 | |||
| 188 | if (d.len + ret < d.len) | ||
| 189 | die("Overflow reading file into data\n"); | ||
| 190 | |||
| 191 | d.len += ret; | ||
| 192 | } | ||
| 193 | |||
| 194 | return d; | ||
| 195 | } | ||
| 196 | |||
| 197 | struct data data_append_data(struct data d, const void *p, int len) | ||
| 198 | { | ||
| 199 | d = data_grow_for(d, len); | ||
| 200 | memcpy(d.val + d.len, p, len); | ||
| 201 | d.len += len; | ||
| 202 | return d; | ||
| 203 | } | ||
| 204 | |||
| 205 | struct data data_insert_at_marker(struct data d, struct marker *m, | ||
| 206 | const void *p, int len) | ||
| 207 | { | ||
| 208 | d = data_grow_for(d, len); | ||
| 209 | memmove(d.val + m->offset + len, d.val + m->offset, d.len - m->offset); | ||
| 210 | memcpy(d.val + m->offset, p, len); | ||
| 211 | d.len += len; | ||
| 212 | |||
| 213 | /* Adjust all markers after the one we're inserting at */ | ||
| 214 | m = m->next; | ||
| 215 | for_each_marker(m) | ||
| 216 | m->offset += len; | ||
| 217 | return d; | ||
| 218 | } | ||
| 219 | |||
| 220 | struct data data_append_markers(struct data d, struct marker *m) | ||
| 221 | { | ||
| 222 | struct marker **mp = &d.markers; | ||
| 223 | |||
| 224 | /* Find the end of the markerlist */ | ||
| 225 | while (*mp) | ||
| 226 | mp = &((*mp)->next); | ||
| 227 | *mp = m; | ||
| 228 | return d; | ||
| 229 | } | ||
| 230 | |||
| 231 | struct data data_merge(struct data d1, struct data d2) | ||
| 232 | { | ||
| 233 | struct data d; | ||
| 234 | struct marker *m2 = d2.markers; | ||
| 235 | |||
| 236 | d = data_append_markers(data_append_data(d1, d2.val, d2.len), m2); | ||
| 237 | |||
| 238 | /* Adjust for the length of d1 */ | ||
| 239 | for_each_marker(m2) | ||
| 240 | m2->offset += d1.len; | ||
| 241 | |||
| 242 | d2.markers = NULL; /* So data_free() doesn't clobber them */ | ||
| 243 | data_free(d2); | ||
| 244 | |||
| 245 | return d; | ||
| 246 | } | ||
| 247 | |||
| 248 | struct data data_append_cell(struct data d, cell_t word) | ||
| 249 | { | ||
| 250 | cell_t beword = cpu_to_fdt32(word); | ||
| 251 | |||
| 252 | return data_append_data(d, &beword, sizeof(beword)); | ||
| 253 | } | ||
| 254 | |||
| 255 | struct data data_append_re(struct data d, const struct fdt_reserve_entry *re) | ||
| 256 | { | ||
| 257 | struct fdt_reserve_entry bere; | ||
| 258 | |||
| 259 | bere.address = cpu_to_fdt64(re->address); | ||
| 260 | bere.size = cpu_to_fdt64(re->size); | ||
| 261 | |||
| 262 | return data_append_data(d, &bere, sizeof(bere)); | ||
| 263 | } | ||
| 264 | |||
| 265 | struct data data_append_addr(struct data d, uint64_t addr) | ||
| 266 | { | ||
| 267 | uint64_t beaddr = cpu_to_fdt64(addr); | ||
| 268 | |||
| 269 | return data_append_data(d, &beaddr, sizeof(beaddr)); | ||
| 270 | } | ||
| 271 | |||
| 272 | struct data data_append_byte(struct data d, uint8_t byte) | ||
| 273 | { | ||
| 274 | return data_append_data(d, &byte, 1); | ||
| 275 | } | ||
| 276 | |||
| 277 | struct data data_append_zeroes(struct data d, int len) | ||
| 278 | { | ||
| 279 | d = data_grow_for(d, len); | ||
| 280 | |||
| 281 | memset(d.val + d.len, 0, len); | ||
| 282 | d.len += len; | ||
| 283 | return d; | ||
| 284 | } | ||
| 285 | |||
| 286 | struct data data_append_align(struct data d, int align) | ||
| 287 | { | ||
| 288 | int newlen = ALIGN(d.len, align); | ||
| 289 | return data_append_zeroes(d, newlen - d.len); | ||
| 290 | } | ||
| 291 | |||
| 292 | struct data data_add_marker(struct data d, enum markertype type, char *ref) | ||
| 293 | { | ||
| 294 | struct marker *m; | ||
| 295 | |||
| 296 | m = xmalloc(sizeof(*m)); | ||
| 297 | m->offset = d.len; | ||
| 298 | m->type = type; | ||
| 299 | m->ref = ref; | ||
| 300 | m->next = NULL; | ||
| 301 | |||
| 302 | return data_append_markers(d, m); | ||
| 303 | } | ||
| 304 | |||
| 305 | int data_is_one_string(struct data d) | ||
| 306 | { | ||
| 307 | int i; | ||
| 308 | int len = d.len; | ||
| 309 | |||
| 310 | if (len == 0) | ||
| 311 | return 0; | ||
| 312 | |||
| 313 | for (i = 0; i < len-1; i++) | ||
| 314 | if (d.val[i] == '\0') | ||
| 315 | return 0; | ||
| 316 | |||
| 317 | if (d.val[len-1] != '\0') | ||
| 318 | return 0; | ||
| 319 | |||
| 320 | return 1; | ||
| 321 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/dtc-lexer.l b/arch/powerpc/boot/dtc-src/dtc-lexer.l deleted file mode 100644 index 44dbfd3f0976..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc-lexer.l +++ /dev/null | |||
| @@ -1,320 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | %option noyywrap nounput yylineno | ||
| 22 | |||
| 23 | %x INCLUDE | ||
| 24 | %x BYTESTRING | ||
| 25 | %x PROPNODENAME | ||
| 26 | %s V1 | ||
| 27 | |||
| 28 | PROPNODECHAR [a-zA-Z0-9,._+*#?@-] | ||
| 29 | PATHCHAR ({PROPNODECHAR}|[/]) | ||
| 30 | LABEL [a-zA-Z_][a-zA-Z0-9_]* | ||
| 31 | STRING \"([^\\"]|\\.)*\" | ||
| 32 | WS [[:space:]] | ||
| 33 | COMMENT "/*"([^*]|\*+[^*/])*\*+"/" | ||
| 34 | LINECOMMENT "//".*\n | ||
| 35 | |||
| 36 | %{ | ||
| 37 | #include "dtc.h" | ||
| 38 | #include "srcpos.h" | ||
| 39 | #include "dtc-parser.tab.h" | ||
| 40 | |||
| 41 | |||
| 42 | /*#define LEXDEBUG 1*/ | ||
| 43 | |||
| 44 | #ifdef LEXDEBUG | ||
| 45 | #define DPRINT(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) | ||
| 46 | #else | ||
| 47 | #define DPRINT(fmt, ...) do { } while (0) | ||
| 48 | #endif | ||
| 49 | |||
| 50 | static int dts_version; /* = 0 */ | ||
| 51 | |||
| 52 | #define BEGIN_DEFAULT() if (dts_version == 0) { \ | ||
| 53 | DPRINT("<INITIAL>\n"); \ | ||
| 54 | BEGIN(INITIAL); \ | ||
| 55 | } else { \ | ||
| 56 | DPRINT("<V1>\n"); \ | ||
| 57 | BEGIN(V1); \ | ||
| 58 | } | ||
| 59 | |||
| 60 | static void push_input_file(const char *filename); | ||
| 61 | static int pop_input_file(void); | ||
| 62 | %} | ||
| 63 | |||
| 64 | %% | ||
| 65 | <*>"/include/"{WS}*{STRING} { | ||
| 66 | char *name = strchr(yytext, '\"') + 1; | ||
| 67 | yytext[yyleng-1] = '\0'; | ||
| 68 | push_input_file(name); | ||
| 69 | } | ||
| 70 | |||
| 71 | <*><<EOF>> { | ||
| 72 | if (!pop_input_file()) { | ||
| 73 | yyterminate(); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | |||
| 77 | <*>{STRING} { | ||
| 78 | yylloc.file = srcpos_file; | ||
| 79 | yylloc.first_line = yylineno; | ||
| 80 | DPRINT("String: %s\n", yytext); | ||
| 81 | yylval.data = data_copy_escape_string(yytext+1, | ||
| 82 | yyleng-2); | ||
| 83 | yylloc.first_line = yylineno; | ||
| 84 | return DT_STRING; | ||
| 85 | } | ||
| 86 | |||
| 87 | <*>"/dts-v1/" { | ||
| 88 | yylloc.file = srcpos_file; | ||
| 89 | yylloc.first_line = yylineno; | ||
| 90 | DPRINT("Keyword: /dts-v1/\n"); | ||
| 91 | dts_version = 1; | ||
| 92 | BEGIN_DEFAULT(); | ||
| 93 | return DT_V1; | ||
| 94 | } | ||
| 95 | |||
| 96 | <*>"/memreserve/" { | ||
| 97 | yylloc.file = srcpos_file; | ||
| 98 | yylloc.first_line = yylineno; | ||
| 99 | DPRINT("Keyword: /memreserve/\n"); | ||
| 100 | BEGIN_DEFAULT(); | ||
| 101 | return DT_MEMRESERVE; | ||
| 102 | } | ||
| 103 | |||
| 104 | <*>{LABEL}: { | ||
| 105 | yylloc.file = srcpos_file; | ||
| 106 | yylloc.first_line = yylineno; | ||
| 107 | DPRINT("Label: %s\n", yytext); | ||
| 108 | yylval.labelref = strdup(yytext); | ||
| 109 | yylval.labelref[yyleng-1] = '\0'; | ||
| 110 | return DT_LABEL; | ||
| 111 | } | ||
| 112 | |||
| 113 | <INITIAL>[bodh]# { | ||
| 114 | yylloc.file = srcpos_file; | ||
| 115 | yylloc.first_line = yylineno; | ||
| 116 | if (*yytext == 'b') | ||
| 117 | yylval.cbase = 2; | ||
| 118 | else if (*yytext == 'o') | ||
| 119 | yylval.cbase = 8; | ||
| 120 | else if (*yytext == 'd') | ||
| 121 | yylval.cbase = 10; | ||
| 122 | else | ||
| 123 | yylval.cbase = 16; | ||
| 124 | DPRINT("Base: %d\n", yylval.cbase); | ||
| 125 | return DT_BASE; | ||
| 126 | } | ||
| 127 | |||
| 128 | <INITIAL>[0-9a-fA-F]+ { | ||
| 129 | yylloc.file = srcpos_file; | ||
| 130 | yylloc.first_line = yylineno; | ||
| 131 | yylval.literal = strdup(yytext); | ||
| 132 | DPRINT("Literal: '%s'\n", yylval.literal); | ||
| 133 | return DT_LEGACYLITERAL; | ||
| 134 | } | ||
| 135 | |||
| 136 | <V1>[0-9]+|0[xX][0-9a-fA-F]+ { | ||
| 137 | yylloc.file = srcpos_file; | ||
| 138 | yylloc.first_line = yylineno; | ||
| 139 | yylval.literal = strdup(yytext); | ||
| 140 | DPRINT("Literal: '%s'\n", yylval.literal); | ||
| 141 | return DT_LITERAL; | ||
| 142 | } | ||
| 143 | |||
| 144 | \&{LABEL} { /* label reference */ | ||
| 145 | yylloc.file = srcpos_file; | ||
| 146 | yylloc.first_line = yylineno; | ||
| 147 | DPRINT("Ref: %s\n", yytext+1); | ||
| 148 | yylval.labelref = strdup(yytext+1); | ||
| 149 | return DT_REF; | ||
| 150 | } | ||
| 151 | |||
| 152 | "&{/"{PATHCHAR}+\} { /* new-style path reference */ | ||
| 153 | yylloc.file = srcpos_file; | ||
| 154 | yylloc.first_line = yylineno; | ||
| 155 | yytext[yyleng-1] = '\0'; | ||
| 156 | DPRINT("Ref: %s\n", yytext+2); | ||
| 157 | yylval.labelref = strdup(yytext+2); | ||
| 158 | return DT_REF; | ||
| 159 | } | ||
| 160 | |||
| 161 | <INITIAL>"&/"{PATHCHAR}+ { /* old-style path reference */ | ||
| 162 | yylloc.file = srcpos_file; | ||
| 163 | yylloc.first_line = yylineno; | ||
| 164 | DPRINT("Ref: %s\n", yytext+1); | ||
| 165 | yylval.labelref = strdup(yytext+1); | ||
| 166 | return DT_REF; | ||
| 167 | } | ||
| 168 | |||
| 169 | <BYTESTRING>[0-9a-fA-F]{2} { | ||
| 170 | yylloc.file = srcpos_file; | ||
| 171 | yylloc.first_line = yylineno; | ||
| 172 | yylval.byte = strtol(yytext, NULL, 16); | ||
| 173 | DPRINT("Byte: %02x\n", (int)yylval.byte); | ||
| 174 | return DT_BYTE; | ||
| 175 | } | ||
| 176 | |||
| 177 | <BYTESTRING>"]" { | ||
| 178 | yylloc.file = srcpos_file; | ||
| 179 | yylloc.first_line = yylineno; | ||
| 180 | DPRINT("/BYTESTRING\n"); | ||
| 181 | BEGIN_DEFAULT(); | ||
| 182 | return ']'; | ||
| 183 | } | ||
| 184 | |||
| 185 | <PROPNODENAME>{PROPNODECHAR}+ { | ||
| 186 | yylloc.file = srcpos_file; | ||
| 187 | yylloc.first_line = yylineno; | ||
| 188 | DPRINT("PropNodeName: %s\n", yytext); | ||
| 189 | yylval.propnodename = strdup(yytext); | ||
| 190 | BEGIN_DEFAULT(); | ||
| 191 | return DT_PROPNODENAME; | ||
| 192 | } | ||
| 193 | |||
| 194 | "/incbin/" { | ||
| 195 | yylloc.file = srcpos_file; | ||
| 196 | yylloc.first_line = yylineno; | ||
| 197 | DPRINT("Binary Include\n"); | ||
| 198 | return DT_INCBIN; | ||
| 199 | } | ||
| 200 | |||
| 201 | <*>{WS}+ /* eat whitespace */ | ||
| 202 | <*>{COMMENT}+ /* eat C-style comments */ | ||
| 203 | <*>{LINECOMMENT}+ /* eat C++-style comments */ | ||
| 204 | |||
| 205 | <*>. { | ||
| 206 | yylloc.file = srcpos_file; | ||
| 207 | yylloc.first_line = yylineno; | ||
| 208 | DPRINT("Char: %c (\\x%02x)\n", yytext[0], | ||
| 209 | (unsigned)yytext[0]); | ||
| 210 | if (yytext[0] == '[') { | ||
| 211 | DPRINT("<BYTESTRING>\n"); | ||
| 212 | BEGIN(BYTESTRING); | ||
| 213 | } | ||
| 214 | if ((yytext[0] == '{') | ||
| 215 | || (yytext[0] == ';')) { | ||
| 216 | DPRINT("<PROPNODENAME>\n"); | ||
| 217 | BEGIN(PROPNODENAME); | ||
| 218 | } | ||
| 219 | return yytext[0]; | ||
| 220 | } | ||
| 221 | |||
| 222 | %% | ||
| 223 | |||
| 224 | |||
| 225 | /* | ||
| 226 | * Stack of nested include file contexts. | ||
| 227 | */ | ||
| 228 | |||
| 229 | struct incl_file { | ||
| 230 | struct dtc_file *file; | ||
| 231 | YY_BUFFER_STATE yy_prev_buf; | ||
| 232 | int yy_prev_lineno; | ||
| 233 | struct incl_file *prev; | ||
| 234 | }; | ||
| 235 | |||
| 236 | static struct incl_file *incl_file_stack; | ||
| 237 | |||
| 238 | |||
| 239 | /* | ||
| 240 | * Detect infinite include recursion. | ||
| 241 | */ | ||
| 242 | #define MAX_INCLUDE_DEPTH (100) | ||
| 243 | |||
| 244 | static int incl_depth = 0; | ||
| 245 | |||
| 246 | |||
| 247 | static void push_input_file(const char *filename) | ||
| 248 | { | ||
| 249 | struct incl_file *incl_file; | ||
| 250 | struct dtc_file *newfile; | ||
| 251 | struct search_path search, *searchptr = NULL; | ||
| 252 | |||
| 253 | assert(filename); | ||
| 254 | |||
| 255 | if (incl_depth++ >= MAX_INCLUDE_DEPTH) | ||
| 256 | die("Includes nested too deeply"); | ||
| 257 | |||
| 258 | if (srcpos_file) { | ||
| 259 | search.dir = srcpos_file->dir; | ||
| 260 | search.next = NULL; | ||
| 261 | search.prev = NULL; | ||
| 262 | searchptr = &search; | ||
| 263 | } | ||
| 264 | |||
| 265 | newfile = dtc_open_file(filename, searchptr); | ||
| 266 | |||
| 267 | incl_file = xmalloc(sizeof(struct incl_file)); | ||
| 268 | |||
| 269 | /* | ||
| 270 | * Save current context. | ||
| 271 | */ | ||
| 272 | incl_file->yy_prev_buf = YY_CURRENT_BUFFER; | ||
| 273 | incl_file->yy_prev_lineno = yylineno; | ||
| 274 | incl_file->file = srcpos_file; | ||
| 275 | incl_file->prev = incl_file_stack; | ||
| 276 | |||
| 277 | incl_file_stack = incl_file; | ||
| 278 | |||
| 279 | /* | ||
| 280 | * Establish new context. | ||
| 281 | */ | ||
| 282 | srcpos_file = newfile; | ||
| 283 | yylineno = 1; | ||
| 284 | yyin = newfile->file; | ||
| 285 | yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE)); | ||
| 286 | } | ||
| 287 | |||
| 288 | |||
| 289 | static int pop_input_file(void) | ||
| 290 | { | ||
| 291 | struct incl_file *incl_file; | ||
| 292 | |||
| 293 | if (incl_file_stack == 0) | ||
| 294 | return 0; | ||
| 295 | |||
| 296 | dtc_close_file(srcpos_file); | ||
| 297 | |||
| 298 | /* | ||
| 299 | * Pop. | ||
| 300 | */ | ||
| 301 | --incl_depth; | ||
| 302 | incl_file = incl_file_stack; | ||
| 303 | incl_file_stack = incl_file->prev; | ||
| 304 | |||
| 305 | /* | ||
| 306 | * Recover old context. | ||
| 307 | */ | ||
| 308 | yy_delete_buffer(YY_CURRENT_BUFFER); | ||
| 309 | yy_switch_to_buffer(incl_file->yy_prev_buf); | ||
| 310 | yylineno = incl_file->yy_prev_lineno; | ||
| 311 | srcpos_file = incl_file->file; | ||
| 312 | yyin = incl_file->file ? incl_file->file->file : NULL; | ||
| 313 | |||
| 314 | /* | ||
| 315 | * Free old state. | ||
| 316 | */ | ||
| 317 | free(incl_file); | ||
| 318 | |||
| 319 | return 1; | ||
| 320 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped b/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped deleted file mode 100644 index ac392cb040f6..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped +++ /dev/null | |||
| @@ -1,2187 +0,0 @@ | |||
| 1 | #line 2 "dtc-lexer.lex.c" | ||
| 2 | |||
| 3 | #line 4 "dtc-lexer.lex.c" | ||
| 4 | |||
| 5 | #define YY_INT_ALIGNED short int | ||
| 6 | |||
| 7 | /* A lexical scanner generated by flex */ | ||
| 8 | |||
| 9 | #define FLEX_SCANNER | ||
| 10 | #define YY_FLEX_MAJOR_VERSION 2 | ||
| 11 | #define YY_FLEX_MINOR_VERSION 5 | ||
| 12 | #define YY_FLEX_SUBMINOR_VERSION 34 | ||
| 13 | #if YY_FLEX_SUBMINOR_VERSION > 0 | ||
| 14 | #define FLEX_BETA | ||
| 15 | #endif | ||
| 16 | |||
| 17 | /* First, we deal with platform-specific or compiler-specific issues. */ | ||
| 18 | |||
| 19 | /* begin standard C headers. */ | ||
| 20 | #include <stdio.h> | ||
| 21 | #include <string.h> | ||
| 22 | #include <errno.h> | ||
| 23 | #include <stdlib.h> | ||
| 24 | |||
| 25 | /* end standard C headers. */ | ||
| 26 | |||
| 27 | /* flex integer type definitions */ | ||
| 28 | |||
| 29 | #ifndef FLEXINT_H | ||
| 30 | #define FLEXINT_H | ||
| 31 | |||
| 32 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ | ||
| 33 | |||
| 34 | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | ||
| 35 | |||
| 36 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | ||
| 37 | * if you want the limit (max/min) macros for int types. | ||
| 38 | */ | ||
| 39 | #ifndef __STDC_LIMIT_MACROS | ||
| 40 | #define __STDC_LIMIT_MACROS 1 | ||
| 41 | #endif | ||
| 42 | |||
| 43 | #include <inttypes.h> | ||
| 44 | typedef int8_t flex_int8_t; | ||
| 45 | typedef uint8_t flex_uint8_t; | ||
| 46 | typedef int16_t flex_int16_t; | ||
| 47 | typedef uint16_t flex_uint16_t; | ||
| 48 | typedef int32_t flex_int32_t; | ||
| 49 | typedef uint32_t flex_uint32_t; | ||
| 50 | #else | ||
| 51 | typedef signed char flex_int8_t; | ||
| 52 | typedef short int flex_int16_t; | ||
| 53 | typedef int flex_int32_t; | ||
| 54 | typedef unsigned char flex_uint8_t; | ||
| 55 | typedef unsigned short int flex_uint16_t; | ||
| 56 | typedef unsigned int flex_uint32_t; | ||
| 57 | #endif /* ! C99 */ | ||
| 58 | |||
| 59 | /* Limits of integral types. */ | ||
| 60 | #ifndef INT8_MIN | ||
| 61 | #define INT8_MIN (-128) | ||
| 62 | #endif | ||
| 63 | #ifndef INT16_MIN | ||
| 64 | #define INT16_MIN (-32767-1) | ||
| 65 | #endif | ||
| 66 | #ifndef INT32_MIN | ||
| 67 | #define INT32_MIN (-2147483647-1) | ||
| 68 | #endif | ||
| 69 | #ifndef INT8_MAX | ||
| 70 | #define INT8_MAX (127) | ||
| 71 | #endif | ||
| 72 | #ifndef INT16_MAX | ||
| 73 | #define INT16_MAX (32767) | ||
| 74 | #endif | ||
| 75 | #ifndef INT32_MAX | ||
| 76 | #define INT32_MAX (2147483647) | ||
| 77 | #endif | ||
| 78 | #ifndef UINT8_MAX | ||
| 79 | #define UINT8_MAX (255U) | ||
| 80 | #endif | ||
| 81 | #ifndef UINT16_MAX | ||
| 82 | #define UINT16_MAX (65535U) | ||
| 83 | #endif | ||
| 84 | #ifndef UINT32_MAX | ||
| 85 | #define UINT32_MAX (4294967295U) | ||
| 86 | #endif | ||
| 87 | |||
| 88 | #endif /* ! FLEXINT_H */ | ||
| 89 | |||
| 90 | #ifdef __cplusplus | ||
| 91 | |||
| 92 | /* The "const" storage-class-modifier is valid. */ | ||
| 93 | #define YY_USE_CONST | ||
| 94 | |||
| 95 | #else /* ! __cplusplus */ | ||
| 96 | |||
| 97 | /* C99 requires __STDC__ to be defined as 1. */ | ||
| 98 | #if defined (__STDC__) | ||
| 99 | |||
| 100 | #define YY_USE_CONST | ||
| 101 | |||
| 102 | #endif /* defined (__STDC__) */ | ||
| 103 | #endif /* ! __cplusplus */ | ||
| 104 | |||
| 105 | #ifdef YY_USE_CONST | ||
| 106 | #define yyconst const | ||
| 107 | #else | ||
| 108 | #define yyconst | ||
| 109 | #endif | ||
| 110 | |||
| 111 | /* Returned upon end-of-file. */ | ||
| 112 | #define YY_NULL 0 | ||
| 113 | |||
| 114 | /* Promotes a possibly negative, possibly signed char to an unsigned | ||
| 115 | * integer for use as an array index. If the signed char is negative, | ||
| 116 | * we want to instead treat it as an 8-bit unsigned char, hence the | ||
| 117 | * double cast. | ||
| 118 | */ | ||
| 119 | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) | ||
| 120 | |||
| 121 | /* Enter a start condition. This macro really ought to take a parameter, | ||
| 122 | * but we do it the disgusting crufty way forced on us by the ()-less | ||
| 123 | * definition of BEGIN. | ||
| 124 | */ | ||
| 125 | #define BEGIN (yy_start) = 1 + 2 * | ||
| 126 | |||
| 127 | /* Translate the current start state into a value that can be later handed | ||
| 128 | * to BEGIN to return to the state. The YYSTATE alias is for lex | ||
| 129 | * compatibility. | ||
| 130 | */ | ||
| 131 | #define YY_START (((yy_start) - 1) / 2) | ||
| 132 | #define YYSTATE YY_START | ||
| 133 | |||
| 134 | /* Action number for EOF rule of a given start state. */ | ||
| 135 | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | ||
| 136 | |||
| 137 | /* Special action meaning "start processing a new file". */ | ||
| 138 | #define YY_NEW_FILE yyrestart(yyin ) | ||
| 139 | |||
| 140 | #define YY_END_OF_BUFFER_CHAR 0 | ||
| 141 | |||
| 142 | /* Size of default input buffer. */ | ||
| 143 | #ifndef YY_BUF_SIZE | ||
| 144 | #define YY_BUF_SIZE 16384 | ||
| 145 | #endif | ||
| 146 | |||
| 147 | /* The state buf must be large enough to hold one state per character in the main buffer. | ||
| 148 | */ | ||
| 149 | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | ||
| 150 | |||
| 151 | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | ||
| 152 | #define YY_TYPEDEF_YY_BUFFER_STATE | ||
| 153 | typedef struct yy_buffer_state *YY_BUFFER_STATE; | ||
| 154 | #endif | ||
| 155 | |||
| 156 | extern int yyleng; | ||
| 157 | |||
| 158 | extern FILE *yyin, *yyout; | ||
| 159 | |||
| 160 | #define EOB_ACT_CONTINUE_SCAN 0 | ||
| 161 | #define EOB_ACT_END_OF_FILE 1 | ||
| 162 | #define EOB_ACT_LAST_MATCH 2 | ||
| 163 | |||
| 164 | /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires | ||
| 165 | * access to the local variable yy_act. Since yyless() is a macro, it would break | ||
| 166 | * existing scanners that call yyless() from OUTSIDE yylex. | ||
| 167 | * One obvious solution it to make yy_act a global. I tried that, and saw | ||
| 168 | * a 5% performance hit in a non-yylineno scanner, because yy_act is | ||
| 169 | * normally declared as a register variable-- so it is not worth it. | ||
| 170 | */ | ||
| 171 | #define YY_LESS_LINENO(n) \ | ||
| 172 | do { \ | ||
| 173 | int yyl;\ | ||
| 174 | for ( yyl = n; yyl < yyleng; ++yyl )\ | ||
| 175 | if ( yytext[yyl] == '\n' )\ | ||
| 176 | --yylineno;\ | ||
| 177 | }while(0) | ||
| 178 | |||
| 179 | /* Return all but the first "n" matched characters back to the input stream. */ | ||
| 180 | #define yyless(n) \ | ||
| 181 | do \ | ||
| 182 | { \ | ||
| 183 | /* Undo effects of setting up yytext. */ \ | ||
| 184 | int yyless_macro_arg = (n); \ | ||
| 185 | YY_LESS_LINENO(yyless_macro_arg);\ | ||
| 186 | *yy_cp = (yy_hold_char); \ | ||
| 187 | YY_RESTORE_YY_MORE_OFFSET \ | ||
| 188 | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | ||
| 189 | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | ||
| 190 | } \ | ||
| 191 | while ( 0 ) | ||
| 192 | |||
| 193 | #define unput(c) yyunput( c, (yytext_ptr) ) | ||
| 194 | |||
| 195 | /* The following is because we cannot portably get our hands on size_t | ||
| 196 | * (without autoconf's help, which isn't available because we want | ||
| 197 | * flex-generated scanners to compile on their own). | ||
| 198 | * Given that the standard has decreed that size_t exists since 1989, | ||
| 199 | * I guess we can afford to depend on it. Manoj. | ||
| 200 | */ | ||
| 201 | |||
| 202 | #ifndef YY_TYPEDEF_YY_SIZE_T | ||
| 203 | #define YY_TYPEDEF_YY_SIZE_T | ||
| 204 | typedef size_t yy_size_t; | ||
| 205 | #endif | ||
| 206 | |||
| 207 | #ifndef YY_STRUCT_YY_BUFFER_STATE | ||
| 208 | #define YY_STRUCT_YY_BUFFER_STATE | ||
| 209 | struct yy_buffer_state | ||
| 210 | { | ||
| 211 | FILE *yy_input_file; | ||
| 212 | |||
| 213 | char *yy_ch_buf; /* input buffer */ | ||
| 214 | char *yy_buf_pos; /* current position in input buffer */ | ||
| 215 | |||
| 216 | /* Size of input buffer in bytes, not including room for EOB | ||
| 217 | * characters. | ||
| 218 | */ | ||
| 219 | yy_size_t yy_buf_size; | ||
| 220 | |||
| 221 | /* Number of characters read into yy_ch_buf, not including EOB | ||
| 222 | * characters. | ||
| 223 | */ | ||
| 224 | int yy_n_chars; | ||
| 225 | |||
| 226 | /* Whether we "own" the buffer - i.e., we know we created it, | ||
| 227 | * and can realloc() it to grow it, and should free() it to | ||
| 228 | * delete it. | ||
| 229 | */ | ||
| 230 | int yy_is_our_buffer; | ||
| 231 | |||
| 232 | /* Whether this is an "interactive" input source; if so, and | ||
| 233 | * if we're using stdio for input, then we want to use getc() | ||
| 234 | * instead of fread(), to make sure we stop fetching input after | ||
| 235 | * each newline. | ||
| 236 | */ | ||
| 237 | int yy_is_interactive; | ||
| 238 | |||
| 239 | /* Whether we're considered to be at the beginning of a line. | ||
| 240 | * If so, '^' rules will be active on the next match, otherwise | ||
| 241 | * not. | ||
| 242 | */ | ||
| 243 | int yy_at_bol; | ||
| 244 | |||
| 245 | int yy_bs_lineno; /**< The line count. */ | ||
| 246 | int yy_bs_column; /**< The column count. */ | ||
| 247 | |||
| 248 | /* Whether to try to fill the input buffer when we reach the | ||
| 249 | * end of it. | ||
| 250 | */ | ||
| 251 | int yy_fill_buffer; | ||
| 252 | |||
| 253 | int yy_buffer_status; | ||
| 254 | |||
| 255 | #define YY_BUFFER_NEW 0 | ||
| 256 | #define YY_BUFFER_NORMAL 1 | ||
| 257 | /* When an EOF's been seen but there's still some text to process | ||
| 258 | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | ||
| 259 | * shouldn't try reading from the input source any more. We might | ||
| 260 | * still have a bunch of tokens to match, though, because of | ||
| 261 | * possible backing-up. | ||
| 262 | * | ||
| 263 | * When we actually see the EOF, we change the status to "new" | ||
| 264 | * (via yyrestart()), so that the user can continue scanning by | ||
| 265 | * just pointing yyin at a new input file. | ||
| 266 | */ | ||
| 267 | #define YY_BUFFER_EOF_PENDING 2 | ||
| 268 | |||
| 269 | }; | ||
| 270 | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | ||
| 271 | |||
| 272 | /* Stack of input buffers. */ | ||
| 273 | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | ||
| 274 | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | ||
| 275 | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ | ||
| 276 | |||
| 277 | /* We provide macros for accessing buffer states in case in the | ||
| 278 | * future we want to put the buffer states in a more general | ||
| 279 | * "scanner state". | ||
| 280 | * | ||
| 281 | * Returns the top of the stack, or NULL. | ||
| 282 | */ | ||
| 283 | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ||
| 284 | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | ||
| 285 | : NULL) | ||
| 286 | |||
| 287 | /* Same as previous macro, but useful when we know that the buffer stack is not | ||
| 288 | * NULL or when we need an lvalue. For internal use only. | ||
| 289 | */ | ||
| 290 | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | ||
| 291 | |||
| 292 | /* yy_hold_char holds the character lost when yytext is formed. */ | ||
| 293 | static char yy_hold_char; | ||
| 294 | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | ||
| 295 | int yyleng; | ||
| 296 | |||
| 297 | /* Points to current character in buffer. */ | ||
| 298 | static char *yy_c_buf_p = (char *) 0; | ||
| 299 | static int yy_init = 0; /* whether we need to initialize */ | ||
| 300 | static int yy_start = 0; /* start state number */ | ||
| 301 | |||
| 302 | /* Flag which is used to allow yywrap()'s to do buffer switches | ||
| 303 | * instead of setting up a fresh yyin. A bit of a hack ... | ||
| 304 | */ | ||
| 305 | static int yy_did_buffer_switch_on_eof; | ||
| 306 | |||
| 307 | void yyrestart (FILE *input_file ); | ||
| 308 | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); | ||
| 309 | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); | ||
| 310 | void yy_delete_buffer (YY_BUFFER_STATE b ); | ||
| 311 | void yy_flush_buffer (YY_BUFFER_STATE b ); | ||
| 312 | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); | ||
| 313 | void yypop_buffer_state (void ); | ||
| 314 | |||
| 315 | static void yyensure_buffer_stack (void ); | ||
| 316 | static void yy_load_buffer_state (void ); | ||
| 317 | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | ||
| 318 | |||
| 319 | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | ||
| 320 | |||
| 321 | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); | ||
| 322 | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); | ||
| 323 | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); | ||
| 324 | |||
| 325 | void *yyalloc (yy_size_t ); | ||
| 326 | void *yyrealloc (void *,yy_size_t ); | ||
| 327 | void yyfree (void * ); | ||
| 328 | |||
| 329 | #define yy_new_buffer yy_create_buffer | ||
| 330 | |||
| 331 | #define yy_set_interactive(is_interactive) \ | ||
| 332 | { \ | ||
| 333 | if ( ! YY_CURRENT_BUFFER ){ \ | ||
| 334 | yyensure_buffer_stack (); \ | ||
| 335 | YY_CURRENT_BUFFER_LVALUE = \ | ||
| 336 | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | ||
| 337 | } \ | ||
| 338 | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | ||
| 339 | } | ||
| 340 | |||
| 341 | #define yy_set_bol(at_bol) \ | ||
| 342 | { \ | ||
| 343 | if ( ! YY_CURRENT_BUFFER ){\ | ||
| 344 | yyensure_buffer_stack (); \ | ||
| 345 | YY_CURRENT_BUFFER_LVALUE = \ | ||
| 346 | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | ||
| 347 | } \ | ||
| 348 | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | ||
| 349 | } | ||
| 350 | |||
| 351 | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | ||
| 352 | |||
| 353 | /* Begin user sect3 */ | ||
| 354 | |||
| 355 | #define yywrap(n) 1 | ||
| 356 | #define YY_SKIP_YYWRAP | ||
| 357 | |||
| 358 | typedef unsigned char YY_CHAR; | ||
| 359 | |||
| 360 | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; | ||
| 361 | |||
| 362 | typedef int yy_state_type; | ||
| 363 | |||
| 364 | extern int yylineno; | ||
| 365 | |||
| 366 | int yylineno = 1; | ||
| 367 | |||
| 368 | extern char *yytext; | ||
| 369 | #define yytext_ptr yytext | ||
| 370 | |||
| 371 | static yy_state_type yy_get_previous_state (void ); | ||
| 372 | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); | ||
| 373 | static int yy_get_next_buffer (void ); | ||
| 374 | static void yy_fatal_error (yyconst char msg[] ); | ||
| 375 | |||
| 376 | /* Done after the current pattern has been matched and before the | ||
| 377 | * corresponding action - sets up yytext. | ||
| 378 | */ | ||
| 379 | #define YY_DO_BEFORE_ACTION \ | ||
| 380 | (yytext_ptr) = yy_bp; \ | ||
| 381 | yyleng = (size_t) (yy_cp - yy_bp); \ | ||
| 382 | (yy_hold_char) = *yy_cp; \ | ||
| 383 | *yy_cp = '\0'; \ | ||
| 384 | (yy_c_buf_p) = yy_cp; | ||
| 385 | |||
| 386 | #define YY_NUM_RULES 20 | ||
| 387 | #define YY_END_OF_BUFFER 21 | ||
| 388 | /* This struct is not used in this scanner, | ||
| 389 | but its presence is necessary. */ | ||
| 390 | struct yy_trans_info | ||
| 391 | { | ||
| 392 | flex_int32_t yy_verify; | ||
| 393 | flex_int32_t yy_nxt; | ||
| 394 | }; | ||
| 395 | static yyconst flex_int16_t yy_accept[104] = | ||
| 396 | { 0, | ||
| 397 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
| 398 | 21, 19, 16, 16, 19, 19, 19, 7, 7, 19, | ||
| 399 | 7, 19, 19, 19, 19, 13, 14, 14, 19, 8, | ||
| 400 | 8, 16, 0, 2, 0, 0, 9, 0, 0, 0, | ||
| 401 | 0, 0, 0, 7, 7, 5, 0, 6, 0, 12, | ||
| 402 | 12, 14, 14, 8, 0, 11, 9, 0, 0, 0, | ||
| 403 | 0, 18, 0, 0, 0, 0, 8, 0, 17, 0, | ||
| 404 | 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, | ||
| 405 | 0, 0, 0, 0, 0, 0, 0, 0, 3, 15, | ||
| 406 | 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, | ||
| 407 | |||
| 408 | 0, 4, 0 | ||
| 409 | } ; | ||
| 410 | |||
| 411 | static yyconst flex_int32_t yy_ec[256] = | ||
| 412 | { 0, | ||
| 413 | 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, | ||
| 414 | 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, | ||
| 415 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 416 | 1, 2, 1, 4, 5, 1, 1, 6, 1, 1, | ||
| 417 | 1, 7, 8, 8, 9, 8, 10, 11, 12, 13, | ||
| 418 | 13, 13, 13, 13, 13, 13, 13, 14, 1, 1, | ||
| 419 | 1, 1, 8, 8, 15, 15, 15, 15, 15, 15, | ||
| 420 | 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, | ||
| 421 | 16, 16, 16, 16, 16, 16, 16, 17, 16, 16, | ||
| 422 | 1, 18, 19, 1, 16, 1, 15, 20, 21, 22, | ||
| 423 | |||
| 424 | 23, 15, 16, 24, 25, 16, 16, 26, 27, 28, | ||
| 425 | 24, 16, 16, 29, 30, 31, 32, 33, 16, 17, | ||
| 426 | 16, 16, 34, 1, 35, 1, 1, 1, 1, 1, | ||
| 427 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 428 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 429 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 430 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 431 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 432 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 433 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 434 | |||
| 435 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 436 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 437 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 438 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 439 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 440 | 1, 1, 1, 1, 1 | ||
| 441 | } ; | ||
| 442 | |||
| 443 | static yyconst flex_int32_t yy_meta[36] = | ||
| 444 | { 0, | ||
| 445 | 1, 1, 1, 1, 2, 1, 2, 2, 2, 3, | ||
| 446 | 4, 4, 4, 5, 6, 7, 7, 1, 1, 6, | ||
| 447 | 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, | ||
| 448 | 7, 7, 7, 8, 1 | ||
| 449 | } ; | ||
| 450 | |||
| 451 | static yyconst flex_int16_t yy_base[117] = | ||
| 452 | { 0, | ||
| 453 | 0, 0, 30, 0, 44, 0, 67, 0, 97, 105, | ||
| 454 | 302, 303, 35, 44, 40, 94, 112, 0, 129, 152, | ||
| 455 | 296, 295, 159, 0, 176, 303, 0, 116, 95, 165, | ||
| 456 | 49, 46, 102, 303, 296, 0, 0, 288, 290, 293, | ||
| 457 | 264, 266, 270, 0, 0, 303, 0, 303, 264, 303, | ||
| 458 | 0, 0, 195, 101, 0, 0, 0, 0, 284, 125, | ||
| 459 | 277, 265, 225, 230, 216, 218, 0, 202, 224, 221, | ||
| 460 | 217, 107, 196, 188, 303, 206, 179, 186, 178, 185, | ||
| 461 | 183, 162, 161, 150, 169, 160, 145, 125, 303, 303, | ||
| 462 | 137, 109, 190, 103, 203, 167, 108, 197, 303, 123, | ||
| 463 | |||
| 464 | 29, 303, 303, 215, 221, 226, 229, 234, 240, 246, | ||
| 465 | 250, 257, 265, 270, 275, 282 | ||
| 466 | } ; | ||
| 467 | |||
| 468 | static yyconst flex_int16_t yy_def[117] = | ||
| 469 | { 0, | ||
| 470 | 103, 1, 1, 3, 3, 5, 103, 7, 3, 3, | ||
| 471 | 103, 103, 103, 103, 104, 105, 103, 106, 103, 19, | ||
| 472 | 19, 20, 103, 107, 20, 103, 108, 109, 105, 103, | ||
| 473 | 103, 103, 104, 103, 104, 110, 111, 103, 112, 113, | ||
| 474 | 103, 103, 103, 106, 19, 103, 20, 103, 103, 103, | ||
| 475 | 20, 108, 109, 103, 114, 110, 111, 115, 112, 112, | ||
| 476 | 113, 103, 103, 103, 103, 103, 114, 115, 103, 103, | ||
| 477 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 478 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 479 | 103, 103, 103, 103, 103, 116, 103, 116, 103, 116, | ||
| 480 | |||
| 481 | 103, 103, 0, 103, 103, 103, 103, 103, 103, 103, | ||
| 482 | 103, 103, 103, 103, 103, 103 | ||
| 483 | } ; | ||
| 484 | |||
| 485 | static yyconst flex_int16_t yy_nxt[339] = | ||
| 486 | { 0, | ||
| 487 | 12, 13, 14, 15, 12, 16, 12, 12, 12, 17, | ||
| 488 | 18, 18, 18, 12, 19, 20, 20, 12, 12, 21, | ||
| 489 | 19, 21, 19, 22, 20, 20, 20, 20, 20, 20, | ||
| 490 | 20, 20, 20, 12, 12, 12, 32, 32, 102, 23, | ||
| 491 | 12, 12, 12, 34, 20, 32, 32, 32, 32, 20, | ||
| 492 | 20, 20, 20, 20, 24, 24, 24, 35, 25, 54, | ||
| 493 | 54, 54, 26, 25, 25, 25, 25, 12, 13, 14, | ||
| 494 | 15, 27, 12, 27, 27, 27, 23, 27, 27, 27, | ||
| 495 | 12, 28, 28, 28, 12, 12, 28, 28, 28, 28, | ||
| 496 | 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, | ||
| 497 | |||
| 498 | 12, 12, 29, 36, 103, 34, 17, 30, 31, 31, | ||
| 499 | 29, 54, 54, 54, 17, 30, 31, 31, 39, 35, | ||
| 500 | 52, 40, 52, 52, 52, 103, 78, 38, 38, 46, | ||
| 501 | 101, 60, 79, 41, 69, 97, 42, 94, 43, 45, | ||
| 502 | 45, 45, 46, 45, 47, 47, 93, 92, 45, 45, | ||
| 503 | 45, 45, 47, 47, 47, 47, 47, 47, 47, 47, | ||
| 504 | 47, 47, 47, 47, 47, 39, 47, 91, 40, 90, | ||
| 505 | 99, 47, 47, 47, 47, 54, 54, 54, 89, 88, | ||
| 506 | 41, 55, 87, 49, 100, 43, 51, 51, 51, 86, | ||
| 507 | 51, 95, 95, 96, 85, 51, 51, 51, 51, 52, | ||
| 508 | |||
| 509 | 99, 52, 52, 52, 95, 95, 96, 84, 46, 83, | ||
| 510 | 82, 81, 39, 79, 100, 33, 33, 33, 33, 33, | ||
| 511 | 33, 33, 33, 37, 80, 77, 37, 37, 37, 44, | ||
| 512 | 40, 44, 50, 76, 50, 52, 75, 52, 74, 52, | ||
| 513 | 52, 53, 73, 53, 53, 53, 53, 56, 56, 56, | ||
| 514 | 72, 56, 56, 57, 71, 57, 57, 59, 59, 59, | ||
| 515 | 59, 59, 59, 59, 59, 61, 61, 61, 61, 61, | ||
| 516 | 61, 61, 61, 67, 70, 67, 68, 68, 68, 62, | ||
| 517 | 68, 68, 98, 98, 98, 98, 98, 98, 98, 98, | ||
| 518 | 60, 66, 65, 64, 63, 62, 60, 58, 103, 48, | ||
| 519 | |||
| 520 | 48, 103, 11, 103, 103, 103, 103, 103, 103, 103, | ||
| 521 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 522 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 523 | 103, 103, 103, 103, 103, 103, 103, 103 | ||
| 524 | } ; | ||
| 525 | |||
| 526 | static yyconst flex_int16_t yy_chk[339] = | ||
| 527 | { 0, | ||
| 528 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 529 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 530 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 531 | 1, 1, 1, 1, 1, 3, 13, 13, 101, 3, | ||
| 532 | 3, 3, 3, 15, 3, 14, 14, 32, 32, 3, | ||
| 533 | 3, 3, 3, 3, 5, 5, 5, 15, 5, 31, | ||
| 534 | 31, 31, 5, 5, 5, 5, 5, 7, 7, 7, | ||
| 535 | 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, | ||
| 536 | 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, | ||
| 537 | 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, | ||
| 538 | |||
| 539 | 7, 7, 9, 16, 29, 33, 9, 9, 9, 9, | ||
| 540 | 10, 54, 54, 54, 10, 10, 10, 10, 17, 33, | ||
| 541 | 28, 17, 28, 28, 28, 100, 72, 16, 29, 28, | ||
| 542 | 97, 60, 72, 17, 60, 94, 17, 92, 17, 19, | ||
| 543 | 19, 19, 19, 19, 19, 19, 91, 88, 19, 19, | ||
| 544 | 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, | ||
| 545 | 19, 19, 20, 20, 20, 23, 20, 87, 23, 86, | ||
| 546 | 96, 20, 20, 20, 20, 30, 30, 30, 85, 84, | ||
| 547 | 23, 30, 83, 23, 96, 23, 25, 25, 25, 82, | ||
| 548 | 25, 93, 93, 93, 81, 25, 25, 25, 25, 53, | ||
| 549 | |||
| 550 | 98, 53, 53, 53, 95, 95, 95, 80, 53, 79, | ||
| 551 | 78, 77, 76, 74, 98, 104, 104, 104, 104, 104, | ||
| 552 | 104, 104, 104, 105, 73, 71, 105, 105, 105, 106, | ||
| 553 | 70, 106, 107, 69, 107, 108, 68, 108, 66, 108, | ||
| 554 | 108, 109, 65, 109, 109, 109, 109, 110, 110, 110, | ||
| 555 | 64, 110, 110, 111, 63, 111, 111, 112, 112, 112, | ||
| 556 | 112, 112, 112, 112, 112, 113, 113, 113, 113, 113, | ||
| 557 | 113, 113, 113, 114, 62, 114, 115, 115, 115, 61, | ||
| 558 | 115, 115, 116, 116, 116, 116, 116, 116, 116, 116, | ||
| 559 | 59, 49, 43, 42, 41, 40, 39, 38, 35, 22, | ||
| 560 | |||
| 561 | 21, 11, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 562 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 563 | 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, | ||
| 564 | 103, 103, 103, 103, 103, 103, 103, 103 | ||
| 565 | } ; | ||
| 566 | |||
| 567 | /* Table of booleans, true if rule could match eol. */ | ||
| 568 | static yyconst flex_int32_t yy_rule_can_match_eol[21] = | ||
| 569 | { 0, | ||
| 570 | 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, | ||
| 571 | 0, }; | ||
| 572 | |||
| 573 | static yy_state_type yy_last_accepting_state; | ||
| 574 | static char *yy_last_accepting_cpos; | ||
| 575 | |||
| 576 | extern int yy_flex_debug; | ||
| 577 | int yy_flex_debug = 0; | ||
| 578 | |||
| 579 | /* The intent behind this definition is that it'll catch | ||
| 580 | * any uses of REJECT which flex missed. | ||
| 581 | */ | ||
| 582 | #define REJECT reject_used_but_not_detected | ||
| 583 | #define yymore() yymore_used_but_not_detected | ||
| 584 | #define YY_MORE_ADJ 0 | ||
| 585 | #define YY_RESTORE_YY_MORE_OFFSET | ||
| 586 | char *yytext; | ||
| 587 | #line 1 "dtc-lexer.l" | ||
| 588 | /* | ||
| 589 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 590 | * | ||
| 591 | * | ||
| 592 | * This program is free software; you can redistribute it and/or | ||
| 593 | * modify it under the terms of the GNU General Public License as | ||
| 594 | * published by the Free Software Foundation; either version 2 of the | ||
| 595 | * License, or (at your option) any later version. | ||
| 596 | * | ||
| 597 | * This program is distributed in the hope that it will be useful, | ||
| 598 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 599 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 600 | * General Public License for more details. | ||
| 601 | * | ||
| 602 | * You should have received a copy of the GNU General Public License | ||
| 603 | * along with this program; if not, write to the Free Software | ||
| 604 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 605 | * USA | ||
| 606 | */ | ||
| 607 | |||
| 608 | |||
| 609 | |||
| 610 | |||
| 611 | #line 37 "dtc-lexer.l" | ||
| 612 | #include "dtc.h" | ||
| 613 | #include "srcpos.h" | ||
| 614 | #include "dtc-parser.tab.h" | ||
| 615 | |||
| 616 | |||
| 617 | /*#define LEXDEBUG 1*/ | ||
| 618 | |||
| 619 | #ifdef LEXDEBUG | ||
| 620 | #define DPRINT(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) | ||
| 621 | #else | ||
| 622 | #define DPRINT(fmt, ...) do { } while (0) | ||
| 623 | #endif | ||
| 624 | |||
| 625 | static int dts_version; /* = 0 */ | ||
| 626 | |||
| 627 | #define BEGIN_DEFAULT() if (dts_version == 0) { \ | ||
| 628 | DPRINT("<INITIAL>\n"); \ | ||
| 629 | BEGIN(INITIAL); \ | ||
| 630 | } else { \ | ||
| 631 | DPRINT("<V1>\n"); \ | ||
| 632 | BEGIN(V1); \ | ||
| 633 | } | ||
| 634 | |||
| 635 | static void push_input_file(const char *filename); | ||
| 636 | static int pop_input_file(void); | ||
| 637 | #line 638 "dtc-lexer.lex.c" | ||
| 638 | |||
| 639 | #define INITIAL 0 | ||
| 640 | #define INCLUDE 1 | ||
| 641 | #define BYTESTRING 2 | ||
| 642 | #define PROPNODENAME 3 | ||
| 643 | #define V1 4 | ||
| 644 | |||
| 645 | #ifndef YY_NO_UNISTD_H | ||
| 646 | /* Special case for "unistd.h", since it is non-ANSI. We include it way | ||
| 647 | * down here because we want the user's section 1 to have been scanned first. | ||
| 648 | * The user has a chance to override it with an option. | ||
| 649 | */ | ||
| 650 | #include <unistd.h> | ||
| 651 | #endif | ||
| 652 | |||
| 653 | #ifndef YY_EXTRA_TYPE | ||
| 654 | #define YY_EXTRA_TYPE void * | ||
| 655 | #endif | ||
| 656 | |||
| 657 | static int yy_init_globals (void ); | ||
| 658 | |||
| 659 | /* Macros after this point can all be overridden by user definitions in | ||
| 660 | * section 1. | ||
| 661 | */ | ||
| 662 | |||
| 663 | #ifndef YY_SKIP_YYWRAP | ||
| 664 | #ifdef __cplusplus | ||
| 665 | extern "C" int yywrap (void ); | ||
| 666 | #else | ||
| 667 | extern int yywrap (void ); | ||
| 668 | #endif | ||
| 669 | #endif | ||
| 670 | |||
| 671 | #ifndef yytext_ptr | ||
| 672 | static void yy_flex_strncpy (char *,yyconst char *,int ); | ||
| 673 | #endif | ||
| 674 | |||
| 675 | #ifdef YY_NEED_STRLEN | ||
| 676 | static int yy_flex_strlen (yyconst char * ); | ||
| 677 | #endif | ||
| 678 | |||
| 679 | #ifndef YY_NO_INPUT | ||
| 680 | |||
| 681 | #ifdef __cplusplus | ||
| 682 | static int yyinput (void ); | ||
| 683 | #else | ||
| 684 | static int input (void ); | ||
| 685 | #endif | ||
| 686 | |||
| 687 | #endif | ||
| 688 | |||
| 689 | /* Amount of stuff to slurp up with each read. */ | ||
| 690 | #ifndef YY_READ_BUF_SIZE | ||
| 691 | #define YY_READ_BUF_SIZE 8192 | ||
| 692 | #endif | ||
| 693 | |||
| 694 | /* Copy whatever the last rule matched to the standard output. */ | ||
| 695 | #ifndef ECHO | ||
| 696 | /* This used to be an fputs(), but since the string might contain NUL's, | ||
| 697 | * we now use fwrite(). | ||
| 698 | */ | ||
| 699 | #define ECHO fwrite( yytext, yyleng, 1, yyout ) | ||
| 700 | #endif | ||
| 701 | |||
| 702 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | ||
| 703 | * is returned in "result". | ||
| 704 | */ | ||
| 705 | #ifndef YY_INPUT | ||
| 706 | #define YY_INPUT(buf,result,max_size) \ | ||
| 707 | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | ||
| 708 | { \ | ||
| 709 | int c = '*'; \ | ||
| 710 | int n; \ | ||
| 711 | for ( n = 0; n < max_size && \ | ||
| 712 | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | ||
| 713 | buf[n] = (char) c; \ | ||
| 714 | if ( c == '\n' ) \ | ||
| 715 | buf[n++] = (char) c; \ | ||
| 716 | if ( c == EOF && ferror( yyin ) ) \ | ||
| 717 | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | ||
| 718 | result = n; \ | ||
| 719 | } \ | ||
| 720 | else \ | ||
| 721 | { \ | ||
| 722 | errno=0; \ | ||
| 723 | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ | ||
| 724 | { \ | ||
| 725 | if( errno != EINTR) \ | ||
| 726 | { \ | ||
| 727 | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | ||
| 728 | break; \ | ||
| 729 | } \ | ||
| 730 | errno=0; \ | ||
| 731 | clearerr(yyin); \ | ||
| 732 | } \ | ||
| 733 | }\ | ||
| 734 | \ | ||
| 735 | |||
| 736 | #endif | ||
| 737 | |||
| 738 | /* No semi-colon after return; correct usage is to write "yyterminate();" - | ||
| 739 | * we don't want an extra ';' after the "return" because that will cause | ||
| 740 | * some compilers to complain about unreachable statements. | ||
| 741 | */ | ||
| 742 | #ifndef yyterminate | ||
| 743 | #define yyterminate() return YY_NULL | ||
| 744 | #endif | ||
| 745 | |||
| 746 | /* Number of entries by which start-condition stack grows. */ | ||
| 747 | #ifndef YY_START_STACK_INCR | ||
| 748 | #define YY_START_STACK_INCR 25 | ||
| 749 | #endif | ||
| 750 | |||
| 751 | /* Report a fatal error. */ | ||
| 752 | #ifndef YY_FATAL_ERROR | ||
| 753 | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | ||
| 754 | #endif | ||
| 755 | |||
| 756 | /* end tables serialization structures and prototypes */ | ||
| 757 | |||
| 758 | /* Default declaration of generated scanner - a define so the user can | ||
| 759 | * easily add parameters. | ||
| 760 | */ | ||
| 761 | #ifndef YY_DECL | ||
| 762 | #define YY_DECL_IS_OURS 1 | ||
| 763 | |||
| 764 | extern int yylex (void); | ||
| 765 | |||
| 766 | #define YY_DECL int yylex (void) | ||
| 767 | #endif /* !YY_DECL */ | ||
| 768 | |||
| 769 | /* Code executed at the beginning of each rule, after yytext and yyleng | ||
| 770 | * have been set up. | ||
| 771 | */ | ||
| 772 | #ifndef YY_USER_ACTION | ||
| 773 | #define YY_USER_ACTION | ||
| 774 | #endif | ||
| 775 | |||
| 776 | /* Code executed at the end of each rule. */ | ||
| 777 | #ifndef YY_BREAK | ||
| 778 | #define YY_BREAK break; | ||
| 779 | #endif | ||
| 780 | |||
| 781 | #define YY_RULE_SETUP \ | ||
| 782 | YY_USER_ACTION | ||
| 783 | |||
| 784 | /** The main scanner function which does all the work. | ||
| 785 | */ | ||
| 786 | YY_DECL | ||
| 787 | { | ||
| 788 | register yy_state_type yy_current_state; | ||
| 789 | register char *yy_cp, *yy_bp; | ||
| 790 | register int yy_act; | ||
| 791 | |||
| 792 | #line 64 "dtc-lexer.l" | ||
| 793 | |||
| 794 | #line 795 "dtc-lexer.lex.c" | ||
| 795 | |||
| 796 | if ( !(yy_init) ) | ||
| 797 | { | ||
| 798 | (yy_init) = 1; | ||
| 799 | |||
| 800 | #ifdef YY_USER_INIT | ||
| 801 | YY_USER_INIT; | ||
| 802 | #endif | ||
| 803 | |||
| 804 | if ( ! (yy_start) ) | ||
| 805 | (yy_start) = 1; /* first start state */ | ||
| 806 | |||
| 807 | if ( ! yyin ) | ||
| 808 | yyin = stdin; | ||
| 809 | |||
| 810 | if ( ! yyout ) | ||
| 811 | yyout = stdout; | ||
| 812 | |||
| 813 | if ( ! YY_CURRENT_BUFFER ) { | ||
| 814 | yyensure_buffer_stack (); | ||
| 815 | YY_CURRENT_BUFFER_LVALUE = | ||
| 816 | yy_create_buffer(yyin,YY_BUF_SIZE ); | ||
| 817 | } | ||
| 818 | |||
| 819 | yy_load_buffer_state( ); | ||
| 820 | } | ||
| 821 | |||
| 822 | while ( 1 ) /* loops until end-of-file is reached */ | ||
| 823 | { | ||
| 824 | yy_cp = (yy_c_buf_p); | ||
| 825 | |||
| 826 | /* Support of yytext. */ | ||
| 827 | *yy_cp = (yy_hold_char); | ||
| 828 | |||
| 829 | /* yy_bp points to the position in yy_ch_buf of the start of | ||
| 830 | * the current run. | ||
| 831 | */ | ||
| 832 | yy_bp = yy_cp; | ||
| 833 | |||
| 834 | yy_current_state = (yy_start); | ||
| 835 | yy_match: | ||
| 836 | do | ||
| 837 | { | ||
| 838 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | ||
| 839 | if ( yy_accept[yy_current_state] ) | ||
| 840 | { | ||
| 841 | (yy_last_accepting_state) = yy_current_state; | ||
| 842 | (yy_last_accepting_cpos) = yy_cp; | ||
| 843 | } | ||
| 844 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | ||
| 845 | { | ||
| 846 | yy_current_state = (int) yy_def[yy_current_state]; | ||
| 847 | if ( yy_current_state >= 104 ) | ||
| 848 | yy_c = yy_meta[(unsigned int) yy_c]; | ||
| 849 | } | ||
| 850 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | ||
| 851 | ++yy_cp; | ||
| 852 | } | ||
| 853 | while ( yy_base[yy_current_state] != 303 ); | ||
| 854 | |||
| 855 | yy_find_action: | ||
| 856 | yy_act = yy_accept[yy_current_state]; | ||
| 857 | if ( yy_act == 0 ) | ||
| 858 | { /* have to back up */ | ||
| 859 | yy_cp = (yy_last_accepting_cpos); | ||
| 860 | yy_current_state = (yy_last_accepting_state); | ||
| 861 | yy_act = yy_accept[yy_current_state]; | ||
| 862 | } | ||
| 863 | |||
| 864 | YY_DO_BEFORE_ACTION; | ||
| 865 | |||
| 866 | if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) | ||
| 867 | { | ||
| 868 | int yyl; | ||
| 869 | for ( yyl = 0; yyl < yyleng; ++yyl ) | ||
| 870 | if ( yytext[yyl] == '\n' ) | ||
| 871 | |||
| 872 | yylineno++; | ||
| 873 | ; | ||
| 874 | } | ||
| 875 | |||
| 876 | do_action: /* This label is used only to access EOF actions. */ | ||
| 877 | |||
| 878 | switch ( yy_act ) | ||
| 879 | { /* beginning of action switch */ | ||
| 880 | case 0: /* must back up */ | ||
| 881 | /* undo the effects of YY_DO_BEFORE_ACTION */ | ||
| 882 | *yy_cp = (yy_hold_char); | ||
| 883 | yy_cp = (yy_last_accepting_cpos); | ||
| 884 | yy_current_state = (yy_last_accepting_state); | ||
| 885 | goto yy_find_action; | ||
| 886 | |||
| 887 | case 1: | ||
| 888 | /* rule 1 can match eol */ | ||
| 889 | YY_RULE_SETUP | ||
| 890 | #line 65 "dtc-lexer.l" | ||
| 891 | { | ||
| 892 | char *name = strchr(yytext, '\"') + 1; | ||
| 893 | yytext[yyleng-1] = '\0'; | ||
| 894 | push_input_file(name); | ||
| 895 | } | ||
| 896 | YY_BREAK | ||
| 897 | case YY_STATE_EOF(INITIAL): | ||
| 898 | case YY_STATE_EOF(INCLUDE): | ||
| 899 | case YY_STATE_EOF(BYTESTRING): | ||
| 900 | case YY_STATE_EOF(PROPNODENAME): | ||
| 901 | case YY_STATE_EOF(V1): | ||
| 902 | #line 71 "dtc-lexer.l" | ||
| 903 | { | ||
| 904 | if (!pop_input_file()) { | ||
| 905 | yyterminate(); | ||
| 906 | } | ||
| 907 | } | ||
| 908 | YY_BREAK | ||
| 909 | case 2: | ||
| 910 | /* rule 2 can match eol */ | ||
| 911 | YY_RULE_SETUP | ||
| 912 | #line 77 "dtc-lexer.l" | ||
| 913 | { | ||
| 914 | yylloc.file = srcpos_file; | ||
| 915 | yylloc.first_line = yylineno; | ||
| 916 | DPRINT("String: %s\n", yytext); | ||
| 917 | yylval.data = data_copy_escape_string(yytext+1, | ||
| 918 | yyleng-2); | ||
| 919 | yylloc.first_line = yylineno; | ||
| 920 | return DT_STRING; | ||
| 921 | } | ||
| 922 | YY_BREAK | ||
| 923 | case 3: | ||
| 924 | YY_RULE_SETUP | ||
| 925 | #line 87 "dtc-lexer.l" | ||
| 926 | { | ||
| 927 | yylloc.file = srcpos_file; | ||
| 928 | yylloc.first_line = yylineno; | ||
| 929 | DPRINT("Keyword: /dts-v1/\n"); | ||
| 930 | dts_version = 1; | ||
| 931 | BEGIN_DEFAULT(); | ||
| 932 | return DT_V1; | ||
| 933 | } | ||
| 934 | YY_BREAK | ||
| 935 | case 4: | ||
| 936 | YY_RULE_SETUP | ||
| 937 | #line 96 "dtc-lexer.l" | ||
| 938 | { | ||
| 939 | yylloc.file = srcpos_file; | ||
| 940 | yylloc.first_line = yylineno; | ||
| 941 | DPRINT("Keyword: /memreserve/\n"); | ||
| 942 | BEGIN_DEFAULT(); | ||
| 943 | return DT_MEMRESERVE; | ||
| 944 | } | ||
| 945 | YY_BREAK | ||
| 946 | case 5: | ||
| 947 | YY_RULE_SETUP | ||
| 948 | #line 104 "dtc-lexer.l" | ||
| 949 | { | ||
| 950 | yylloc.file = srcpos_file; | ||
| 951 | yylloc.first_line = yylineno; | ||
| 952 | DPRINT("Label: %s\n", yytext); | ||
| 953 | yylval.labelref = strdup(yytext); | ||
| 954 | yylval.labelref[yyleng-1] = '\0'; | ||
| 955 | return DT_LABEL; | ||
| 956 | } | ||
| 957 | YY_BREAK | ||
| 958 | case 6: | ||
| 959 | YY_RULE_SETUP | ||
| 960 | #line 113 "dtc-lexer.l" | ||
| 961 | { | ||
| 962 | yylloc.file = srcpos_file; | ||
| 963 | yylloc.first_line = yylineno; | ||
| 964 | if (*yytext == 'b') | ||
| 965 | yylval.cbase = 2; | ||
| 966 | else if (*yytext == 'o') | ||
| 967 | yylval.cbase = 8; | ||
| 968 | else if (*yytext == 'd') | ||
| 969 | yylval.cbase = 10; | ||
| 970 | else | ||
| 971 | yylval.cbase = 16; | ||
| 972 | DPRINT("Base: %d\n", yylval.cbase); | ||
| 973 | return DT_BASE; | ||
| 974 | } | ||
| 975 | YY_BREAK | ||
| 976 | case 7: | ||
| 977 | YY_RULE_SETUP | ||
| 978 | #line 128 "dtc-lexer.l" | ||
| 979 | { | ||
| 980 | yylloc.file = srcpos_file; | ||
| 981 | yylloc.first_line = yylineno; | ||
| 982 | yylval.literal = strdup(yytext); | ||
| 983 | DPRINT("Literal: '%s'\n", yylval.literal); | ||
| 984 | return DT_LEGACYLITERAL; | ||
| 985 | } | ||
| 986 | YY_BREAK | ||
| 987 | case 8: | ||
| 988 | YY_RULE_SETUP | ||
| 989 | #line 136 "dtc-lexer.l" | ||
| 990 | { | ||
| 991 | yylloc.file = srcpos_file; | ||
| 992 | yylloc.first_line = yylineno; | ||
| 993 | yylval.literal = strdup(yytext); | ||
| 994 | DPRINT("Literal: '%s'\n", yylval.literal); | ||
| 995 | return DT_LITERAL; | ||
| 996 | } | ||
| 997 | YY_BREAK | ||
| 998 | case 9: | ||
| 999 | YY_RULE_SETUP | ||
| 1000 | #line 144 "dtc-lexer.l" | ||
| 1001 | { /* label reference */ | ||
| 1002 | yylloc.file = srcpos_file; | ||
| 1003 | yylloc.first_line = yylineno; | ||
| 1004 | DPRINT("Ref: %s\n", yytext+1); | ||
| 1005 | yylval.labelref = strdup(yytext+1); | ||
| 1006 | return DT_REF; | ||
| 1007 | } | ||
| 1008 | YY_BREAK | ||
| 1009 | case 10: | ||
| 1010 | YY_RULE_SETUP | ||
| 1011 | #line 152 "dtc-lexer.l" | ||
| 1012 | { /* new-style path reference */ | ||
| 1013 | yylloc.file = srcpos_file; | ||
| 1014 | yylloc.first_line = yylineno; | ||
| 1015 | yytext[yyleng-1] = '\0'; | ||
| 1016 | DPRINT("Ref: %s\n", yytext+2); | ||
| 1017 | yylval.labelref = strdup(yytext+2); | ||
| 1018 | return DT_REF; | ||
| 1019 | } | ||
| 1020 | YY_BREAK | ||
| 1021 | case 11: | ||
| 1022 | YY_RULE_SETUP | ||
| 1023 | #line 161 "dtc-lexer.l" | ||
| 1024 | { /* old-style path reference */ | ||
| 1025 | yylloc.file = srcpos_file; | ||
| 1026 | yylloc.first_line = yylineno; | ||
| 1027 | DPRINT("Ref: %s\n", yytext+1); | ||
| 1028 | yylval.labelref = strdup(yytext+1); | ||
| 1029 | return DT_REF; | ||
| 1030 | } | ||
| 1031 | YY_BREAK | ||
| 1032 | case 12: | ||
| 1033 | YY_RULE_SETUP | ||
| 1034 | #line 169 "dtc-lexer.l" | ||
| 1035 | { | ||
| 1036 | yylloc.file = srcpos_file; | ||
| 1037 | yylloc.first_line = yylineno; | ||
| 1038 | yylval.byte = strtol(yytext, NULL, 16); | ||
| 1039 | DPRINT("Byte: %02x\n", (int)yylval.byte); | ||
| 1040 | return DT_BYTE; | ||
| 1041 | } | ||
| 1042 | YY_BREAK | ||
| 1043 | case 13: | ||
| 1044 | YY_RULE_SETUP | ||
| 1045 | #line 177 "dtc-lexer.l" | ||
| 1046 | { | ||
| 1047 | yylloc.file = srcpos_file; | ||
| 1048 | yylloc.first_line = yylineno; | ||
| 1049 | DPRINT("/BYTESTRING\n"); | ||
| 1050 | BEGIN_DEFAULT(); | ||
| 1051 | return ']'; | ||
| 1052 | } | ||
| 1053 | YY_BREAK | ||
| 1054 | case 14: | ||
| 1055 | YY_RULE_SETUP | ||
| 1056 | #line 185 "dtc-lexer.l" | ||
| 1057 | { | ||
| 1058 | yylloc.file = srcpos_file; | ||
| 1059 | yylloc.first_line = yylineno; | ||
| 1060 | DPRINT("PropNodeName: %s\n", yytext); | ||
| 1061 | yylval.propnodename = strdup(yytext); | ||
| 1062 | BEGIN_DEFAULT(); | ||
| 1063 | return DT_PROPNODENAME; | ||
| 1064 | } | ||
| 1065 | YY_BREAK | ||
| 1066 | case 15: | ||
| 1067 | YY_RULE_SETUP | ||
| 1068 | #line 194 "dtc-lexer.l" | ||
| 1069 | { | ||
| 1070 | yylloc.file = srcpos_file; | ||
| 1071 | yylloc.first_line = yylineno; | ||
| 1072 | DPRINT("Binary Include\n"); | ||
| 1073 | return DT_INCBIN; | ||
| 1074 | } | ||
| 1075 | YY_BREAK | ||
| 1076 | case 16: | ||
| 1077 | /* rule 16 can match eol */ | ||
| 1078 | YY_RULE_SETUP | ||
| 1079 | #line 201 "dtc-lexer.l" | ||
| 1080 | /* eat whitespace */ | ||
| 1081 | YY_BREAK | ||
| 1082 | case 17: | ||
| 1083 | /* rule 17 can match eol */ | ||
| 1084 | YY_RULE_SETUP | ||
| 1085 | #line 202 "dtc-lexer.l" | ||
| 1086 | /* eat C-style comments */ | ||
| 1087 | YY_BREAK | ||
| 1088 | case 18: | ||
| 1089 | /* rule 18 can match eol */ | ||
| 1090 | YY_RULE_SETUP | ||
| 1091 | #line 203 "dtc-lexer.l" | ||
| 1092 | /* eat C++-style comments */ | ||
| 1093 | YY_BREAK | ||
| 1094 | case 19: | ||
| 1095 | YY_RULE_SETUP | ||
| 1096 | #line 205 "dtc-lexer.l" | ||
| 1097 | { | ||
| 1098 | yylloc.file = srcpos_file; | ||
| 1099 | yylloc.first_line = yylineno; | ||
| 1100 | DPRINT("Char: %c (\\x%02x)\n", yytext[0], | ||
| 1101 | (unsigned)yytext[0]); | ||
| 1102 | if (yytext[0] == '[') { | ||
| 1103 | DPRINT("<BYTESTRING>\n"); | ||
| 1104 | BEGIN(BYTESTRING); | ||
| 1105 | } | ||
| 1106 | if ((yytext[0] == '{') | ||
| 1107 | || (yytext[0] == ';')) { | ||
| 1108 | DPRINT("<PROPNODENAME>\n"); | ||
| 1109 | BEGIN(PROPNODENAME); | ||
| 1110 | } | ||
| 1111 | return yytext[0]; | ||
| 1112 | } | ||
| 1113 | YY_BREAK | ||
| 1114 | case 20: | ||
| 1115 | YY_RULE_SETUP | ||
| 1116 | #line 222 "dtc-lexer.l" | ||
| 1117 | ECHO; | ||
| 1118 | YY_BREAK | ||
| 1119 | #line 1120 "dtc-lexer.lex.c" | ||
| 1120 | |||
| 1121 | case YY_END_OF_BUFFER: | ||
| 1122 | { | ||
| 1123 | /* Amount of text matched not including the EOB char. */ | ||
| 1124 | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | ||
| 1125 | |||
| 1126 | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | ||
| 1127 | *yy_cp = (yy_hold_char); | ||
| 1128 | YY_RESTORE_YY_MORE_OFFSET | ||
| 1129 | |||
| 1130 | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | ||
| 1131 | { | ||
| 1132 | /* We're scanning a new file or input source. It's | ||
| 1133 | * possible that this happened because the user | ||
| 1134 | * just pointed yyin at a new source and called | ||
| 1135 | * yylex(). If so, then we have to assure | ||
| 1136 | * consistency between YY_CURRENT_BUFFER and our | ||
| 1137 | * globals. Here is the right place to do so, because | ||
| 1138 | * this is the first action (other than possibly a | ||
| 1139 | * back-up) that will match for the new input source. | ||
| 1140 | */ | ||
| 1141 | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | ||
| 1142 | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | ||
| 1143 | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | ||
| 1144 | } | ||
| 1145 | |||
| 1146 | /* Note that here we test for yy_c_buf_p "<=" to the position | ||
| 1147 | * of the first EOB in the buffer, since yy_c_buf_p will | ||
| 1148 | * already have been incremented past the NUL character | ||
| 1149 | * (since all states make transitions on EOB to the | ||
| 1150 | * end-of-buffer state). Contrast this with the test | ||
| 1151 | * in input(). | ||
| 1152 | */ | ||
| 1153 | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | ||
| 1154 | { /* This was really a NUL. */ | ||
| 1155 | yy_state_type yy_next_state; | ||
| 1156 | |||
| 1157 | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | ||
| 1158 | |||
| 1159 | yy_current_state = yy_get_previous_state( ); | ||
| 1160 | |||
| 1161 | /* Okay, we're now positioned to make the NUL | ||
| 1162 | * transition. We couldn't have | ||
| 1163 | * yy_get_previous_state() go ahead and do it | ||
| 1164 | * for us because it doesn't know how to deal | ||
| 1165 | * with the possibility of jamming (and we don't | ||
| 1166 | * want to build jamming into it because then it | ||
| 1167 | * will run more slowly). | ||
| 1168 | */ | ||
| 1169 | |||
| 1170 | yy_next_state = yy_try_NUL_trans( yy_current_state ); | ||
| 1171 | |||
| 1172 | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | ||
| 1173 | |||
| 1174 | if ( yy_next_state ) | ||
| 1175 | { | ||
| 1176 | /* Consume the NUL. */ | ||
| 1177 | yy_cp = ++(yy_c_buf_p); | ||
| 1178 | yy_current_state = yy_next_state; | ||
| 1179 | goto yy_match; | ||
| 1180 | } | ||
| 1181 | |||
| 1182 | else | ||
| 1183 | { | ||
| 1184 | yy_cp = (yy_c_buf_p); | ||
| 1185 | goto yy_find_action; | ||
| 1186 | } | ||
| 1187 | } | ||
| 1188 | |||
| 1189 | else switch ( yy_get_next_buffer( ) ) | ||
| 1190 | { | ||
| 1191 | case EOB_ACT_END_OF_FILE: | ||
| 1192 | { | ||
| 1193 | (yy_did_buffer_switch_on_eof) = 0; | ||
| 1194 | |||
| 1195 | if ( yywrap( ) ) | ||
| 1196 | { | ||
| 1197 | /* Note: because we've taken care in | ||
| 1198 | * yy_get_next_buffer() to have set up | ||
| 1199 | * yytext, we can now set up | ||
| 1200 | * yy_c_buf_p so that if some total | ||
| 1201 | * hoser (like flex itself) wants to | ||
| 1202 | * call the scanner after we return the | ||
| 1203 | * YY_NULL, it'll still work - another | ||
| 1204 | * YY_NULL will get returned. | ||
| 1205 | */ | ||
| 1206 | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | ||
| 1207 | |||
| 1208 | yy_act = YY_STATE_EOF(YY_START); | ||
| 1209 | goto do_action; | ||
| 1210 | } | ||
| 1211 | |||
| 1212 | else | ||
| 1213 | { | ||
| 1214 | if ( ! (yy_did_buffer_switch_on_eof) ) | ||
| 1215 | YY_NEW_FILE; | ||
| 1216 | } | ||
| 1217 | break; | ||
| 1218 | } | ||
| 1219 | |||
| 1220 | case EOB_ACT_CONTINUE_SCAN: | ||
| 1221 | (yy_c_buf_p) = | ||
| 1222 | (yytext_ptr) + yy_amount_of_matched_text; | ||
| 1223 | |||
| 1224 | yy_current_state = yy_get_previous_state( ); | ||
| 1225 | |||
| 1226 | yy_cp = (yy_c_buf_p); | ||
| 1227 | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | ||
| 1228 | goto yy_match; | ||
| 1229 | |||
| 1230 | case EOB_ACT_LAST_MATCH: | ||
| 1231 | (yy_c_buf_p) = | ||
| 1232 | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | ||
| 1233 | |||
| 1234 | yy_current_state = yy_get_previous_state( ); | ||
| 1235 | |||
| 1236 | yy_cp = (yy_c_buf_p); | ||
| 1237 | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | ||
| 1238 | goto yy_find_action; | ||
| 1239 | } | ||
| 1240 | break; | ||
| 1241 | } | ||
| 1242 | |||
| 1243 | default: | ||
| 1244 | YY_FATAL_ERROR( | ||
| 1245 | "fatal flex scanner internal error--no action found" ); | ||
| 1246 | } /* end of action switch */ | ||
| 1247 | } /* end of scanning one token */ | ||
| 1248 | } /* end of yylex */ | ||
| 1249 | |||
| 1250 | /* yy_get_next_buffer - try to read in a new buffer | ||
| 1251 | * | ||
| 1252 | * Returns a code representing an action: | ||
| 1253 | * EOB_ACT_LAST_MATCH - | ||
| 1254 | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | ||
| 1255 | * EOB_ACT_END_OF_FILE - end of file | ||
| 1256 | */ | ||
| 1257 | static int yy_get_next_buffer (void) | ||
| 1258 | { | ||
| 1259 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | ||
| 1260 | register char *source = (yytext_ptr); | ||
| 1261 | register int number_to_move, i; | ||
| 1262 | int ret_val; | ||
| 1263 | |||
| 1264 | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | ||
| 1265 | YY_FATAL_ERROR( | ||
| 1266 | "fatal flex scanner internal error--end of buffer missed" ); | ||
| 1267 | |||
| 1268 | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | ||
| 1269 | { /* Don't try to fill the buffer, so this is an EOF. */ | ||
| 1270 | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | ||
| 1271 | { | ||
| 1272 | /* We matched a single character, the EOB, so | ||
| 1273 | * treat this as a final EOF. | ||
| 1274 | */ | ||
| 1275 | return EOB_ACT_END_OF_FILE; | ||
| 1276 | } | ||
| 1277 | |||
| 1278 | else | ||
| 1279 | { | ||
| 1280 | /* We matched some text prior to the EOB, first | ||
| 1281 | * process it. | ||
| 1282 | */ | ||
| 1283 | return EOB_ACT_LAST_MATCH; | ||
| 1284 | } | ||
| 1285 | } | ||
| 1286 | |||
| 1287 | /* Try to read more data. */ | ||
| 1288 | |||
| 1289 | /* First move last chars to start of buffer. */ | ||
| 1290 | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; | ||
| 1291 | |||
| 1292 | for ( i = 0; i < number_to_move; ++i ) | ||
| 1293 | *(dest++) = *(source++); | ||
| 1294 | |||
| 1295 | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | ||
| 1296 | /* don't do the read, it's not guaranteed to return an EOF, | ||
| 1297 | * just force an EOF | ||
| 1298 | */ | ||
| 1299 | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | ||
| 1300 | |||
| 1301 | else | ||
| 1302 | { | ||
| 1303 | int num_to_read = | ||
| 1304 | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | ||
| 1305 | |||
| 1306 | while ( num_to_read <= 0 ) | ||
| 1307 | { /* Not enough room in the buffer - grow it. */ | ||
| 1308 | |||
| 1309 | /* just a shorter name for the current buffer */ | ||
| 1310 | YY_BUFFER_STATE b = YY_CURRENT_BUFFER; | ||
| 1311 | |||
| 1312 | int yy_c_buf_p_offset = | ||
| 1313 | (int) ((yy_c_buf_p) - b->yy_ch_buf); | ||
| 1314 | |||
| 1315 | if ( b->yy_is_our_buffer ) | ||
| 1316 | { | ||
| 1317 | int new_size = b->yy_buf_size * 2; | ||
| 1318 | |||
| 1319 | if ( new_size <= 0 ) | ||
| 1320 | b->yy_buf_size += b->yy_buf_size / 8; | ||
| 1321 | else | ||
| 1322 | b->yy_buf_size *= 2; | ||
| 1323 | |||
| 1324 | b->yy_ch_buf = (char *) | ||
| 1325 | /* Include room in for 2 EOB chars. */ | ||
| 1326 | yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); | ||
| 1327 | } | ||
| 1328 | else | ||
| 1329 | /* Can't grow it, we don't own it. */ | ||
| 1330 | b->yy_ch_buf = 0; | ||
| 1331 | |||
| 1332 | if ( ! b->yy_ch_buf ) | ||
| 1333 | YY_FATAL_ERROR( | ||
| 1334 | "fatal error - scanner input buffer overflow" ); | ||
| 1335 | |||
| 1336 | (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; | ||
| 1337 | |||
| 1338 | num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - | ||
| 1339 | number_to_move - 1; | ||
| 1340 | |||
| 1341 | } | ||
| 1342 | |||
| 1343 | if ( num_to_read > YY_READ_BUF_SIZE ) | ||
| 1344 | num_to_read = YY_READ_BUF_SIZE; | ||
| 1345 | |||
| 1346 | /* Read in more data. */ | ||
| 1347 | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | ||
| 1348 | (yy_n_chars), (size_t) num_to_read ); | ||
| 1349 | |||
| 1350 | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | ||
| 1351 | } | ||
| 1352 | |||
| 1353 | if ( (yy_n_chars) == 0 ) | ||
| 1354 | { | ||
| 1355 | if ( number_to_move == YY_MORE_ADJ ) | ||
| 1356 | { | ||
| 1357 | ret_val = EOB_ACT_END_OF_FILE; | ||
| 1358 | yyrestart(yyin ); | ||
| 1359 | } | ||
| 1360 | |||
| 1361 | else | ||
| 1362 | { | ||
| 1363 | ret_val = EOB_ACT_LAST_MATCH; | ||
| 1364 | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | ||
| 1365 | YY_BUFFER_EOF_PENDING; | ||
| 1366 | } | ||
| 1367 | } | ||
| 1368 | |||
| 1369 | else | ||
| 1370 | ret_val = EOB_ACT_CONTINUE_SCAN; | ||
| 1371 | |||
| 1372 | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ||
| 1373 | /* Extend the array by 50%, plus the number we really need. */ | ||
| 1374 | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | ||
| 1375 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | ||
| 1376 | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | ||
| 1377 | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | ||
| 1378 | } | ||
| 1379 | |||
| 1380 | (yy_n_chars) += number_to_move; | ||
| 1381 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | ||
| 1382 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | ||
| 1383 | |||
| 1384 | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | ||
| 1385 | |||
| 1386 | return ret_val; | ||
| 1387 | } | ||
| 1388 | |||
| 1389 | /* yy_get_previous_state - get the state just before the EOB char was reached */ | ||
| 1390 | |||
| 1391 | static yy_state_type yy_get_previous_state (void) | ||
| 1392 | { | ||
| 1393 | register yy_state_type yy_current_state; | ||
| 1394 | register char *yy_cp; | ||
| 1395 | |||
| 1396 | yy_current_state = (yy_start); | ||
| 1397 | |||
| 1398 | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | ||
| 1399 | { | ||
| 1400 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | ||
| 1401 | if ( yy_accept[yy_current_state] ) | ||
| 1402 | { | ||
| 1403 | (yy_last_accepting_state) = yy_current_state; | ||
| 1404 | (yy_last_accepting_cpos) = yy_cp; | ||
| 1405 | } | ||
| 1406 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | ||
| 1407 | { | ||
| 1408 | yy_current_state = (int) yy_def[yy_current_state]; | ||
| 1409 | if ( yy_current_state >= 104 ) | ||
| 1410 | yy_c = yy_meta[(unsigned int) yy_c]; | ||
| 1411 | } | ||
| 1412 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | ||
| 1413 | } | ||
| 1414 | |||
| 1415 | return yy_current_state; | ||
| 1416 | } | ||
| 1417 | |||
| 1418 | /* yy_try_NUL_trans - try to make a transition on the NUL character | ||
| 1419 | * | ||
| 1420 | * synopsis | ||
| 1421 | * next_state = yy_try_NUL_trans( current_state ); | ||
| 1422 | */ | ||
| 1423 | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | ||
| 1424 | { | ||
| 1425 | register int yy_is_jam; | ||
| 1426 | register char *yy_cp = (yy_c_buf_p); | ||
| 1427 | |||
| 1428 | register YY_CHAR yy_c = 1; | ||
| 1429 | if ( yy_accept[yy_current_state] ) | ||
| 1430 | { | ||
| 1431 | (yy_last_accepting_state) = yy_current_state; | ||
| 1432 | (yy_last_accepting_cpos) = yy_cp; | ||
| 1433 | } | ||
| 1434 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | ||
| 1435 | { | ||
| 1436 | yy_current_state = (int) yy_def[yy_current_state]; | ||
| 1437 | if ( yy_current_state >= 104 ) | ||
| 1438 | yy_c = yy_meta[(unsigned int) yy_c]; | ||
| 1439 | } | ||
| 1440 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | ||
| 1441 | yy_is_jam = (yy_current_state == 103); | ||
| 1442 | |||
| 1443 | return yy_is_jam ? 0 : yy_current_state; | ||
| 1444 | } | ||
| 1445 | |||
| 1446 | #ifndef YY_NO_INPUT | ||
| 1447 | #ifdef __cplusplus | ||
| 1448 | static int yyinput (void) | ||
| 1449 | #else | ||
| 1450 | static int input (void) | ||
| 1451 | #endif | ||
| 1452 | |||
| 1453 | { | ||
| 1454 | int c; | ||
| 1455 | |||
| 1456 | *(yy_c_buf_p) = (yy_hold_char); | ||
| 1457 | |||
| 1458 | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | ||
| 1459 | { | ||
| 1460 | /* yy_c_buf_p now points to the character we want to return. | ||
| 1461 | * If this occurs *before* the EOB characters, then it's a | ||
| 1462 | * valid NUL; if not, then we've hit the end of the buffer. | ||
| 1463 | */ | ||
| 1464 | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | ||
| 1465 | /* This was really a NUL. */ | ||
| 1466 | *(yy_c_buf_p) = '\0'; | ||
| 1467 | |||
| 1468 | else | ||
| 1469 | { /* need more input */ | ||
| 1470 | int offset = (yy_c_buf_p) - (yytext_ptr); | ||
| 1471 | ++(yy_c_buf_p); | ||
| 1472 | |||
| 1473 | switch ( yy_get_next_buffer( ) ) | ||
| 1474 | { | ||
| 1475 | case EOB_ACT_LAST_MATCH: | ||
| 1476 | /* This happens because yy_g_n_b() | ||
| 1477 | * sees that we've accumulated a | ||
| 1478 | * token and flags that we need to | ||
| 1479 | * try matching the token before | ||
| 1480 | * proceeding. But for input(), | ||
| 1481 | * there's no matching to consider. | ||
| 1482 | * So convert the EOB_ACT_LAST_MATCH | ||
| 1483 | * to EOB_ACT_END_OF_FILE. | ||
| 1484 | */ | ||
| 1485 | |||
| 1486 | /* Reset buffer status. */ | ||
| 1487 | yyrestart(yyin ); | ||
| 1488 | |||
| 1489 | /*FALLTHROUGH*/ | ||
| 1490 | |||
| 1491 | case EOB_ACT_END_OF_FILE: | ||
| 1492 | { | ||
| 1493 | if ( yywrap( ) ) | ||
| 1494 | return EOF; | ||
| 1495 | |||
| 1496 | if ( ! (yy_did_buffer_switch_on_eof) ) | ||
| 1497 | YY_NEW_FILE; | ||
| 1498 | #ifdef __cplusplus | ||
| 1499 | return yyinput(); | ||
| 1500 | #else | ||
| 1501 | return input(); | ||
| 1502 | #endif | ||
| 1503 | } | ||
| 1504 | |||
| 1505 | case EOB_ACT_CONTINUE_SCAN: | ||
| 1506 | (yy_c_buf_p) = (yytext_ptr) + offset; | ||
| 1507 | break; | ||
| 1508 | } | ||
| 1509 | } | ||
| 1510 | } | ||
| 1511 | |||
| 1512 | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | ||
| 1513 | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | ||
| 1514 | (yy_hold_char) = *++(yy_c_buf_p); | ||
| 1515 | |||
| 1516 | if ( c == '\n' ) | ||
| 1517 | |||
| 1518 | yylineno++; | ||
| 1519 | ; | ||
| 1520 | |||
| 1521 | return c; | ||
| 1522 | } | ||
| 1523 | #endif /* ifndef YY_NO_INPUT */ | ||
| 1524 | |||
| 1525 | /** Immediately switch to a different input stream. | ||
| 1526 | * @param input_file A readable stream. | ||
| 1527 | * | ||
| 1528 | * @note This function does not reset the start condition to @c INITIAL . | ||
| 1529 | */ | ||
| 1530 | void yyrestart (FILE * input_file ) | ||
| 1531 | { | ||
| 1532 | |||
| 1533 | if ( ! YY_CURRENT_BUFFER ){ | ||
| 1534 | yyensure_buffer_stack (); | ||
| 1535 | YY_CURRENT_BUFFER_LVALUE = | ||
| 1536 | yy_create_buffer(yyin,YY_BUF_SIZE ); | ||
| 1537 | } | ||
| 1538 | |||
| 1539 | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); | ||
| 1540 | yy_load_buffer_state( ); | ||
| 1541 | } | ||
| 1542 | |||
| 1543 | /** Switch to a different input buffer. | ||
| 1544 | * @param new_buffer The new input buffer. | ||
| 1545 | * | ||
| 1546 | */ | ||
| 1547 | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | ||
| 1548 | { | ||
| 1549 | |||
| 1550 | /* TODO. We should be able to replace this entire function body | ||
| 1551 | * with | ||
| 1552 | * yypop_buffer_state(); | ||
| 1553 | * yypush_buffer_state(new_buffer); | ||
| 1554 | */ | ||
| 1555 | yyensure_buffer_stack (); | ||
| 1556 | if ( YY_CURRENT_BUFFER == new_buffer ) | ||
| 1557 | return; | ||
| 1558 | |||
| 1559 | if ( YY_CURRENT_BUFFER ) | ||
| 1560 | { | ||
| 1561 | /* Flush out information for old buffer. */ | ||
| 1562 | *(yy_c_buf_p) = (yy_hold_char); | ||
| 1563 | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | ||
| 1564 | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | ||
| 1565 | } | ||
| 1566 | |||
| 1567 | YY_CURRENT_BUFFER_LVALUE = new_buffer; | ||
| 1568 | yy_load_buffer_state( ); | ||
| 1569 | |||
| 1570 | /* We don't actually know whether we did this switch during | ||
| 1571 | * EOF (yywrap()) processing, but the only time this flag | ||
| 1572 | * is looked at is after yywrap() is called, so it's safe | ||
| 1573 | * to go ahead and always set it. | ||
| 1574 | */ | ||
| 1575 | (yy_did_buffer_switch_on_eof) = 1; | ||
| 1576 | } | ||
| 1577 | |||
| 1578 | static void yy_load_buffer_state (void) | ||
| 1579 | { | ||
| 1580 | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | ||
| 1581 | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | ||
| 1582 | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | ||
| 1583 | (yy_hold_char) = *(yy_c_buf_p); | ||
| 1584 | } | ||
| 1585 | |||
| 1586 | /** Allocate and initialize an input buffer state. | ||
| 1587 | * @param file A readable stream. | ||
| 1588 | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | ||
| 1589 | * | ||
| 1590 | * @return the allocated buffer state. | ||
| 1591 | */ | ||
| 1592 | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | ||
| 1593 | { | ||
| 1594 | YY_BUFFER_STATE b; | ||
| 1595 | |||
| 1596 | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | ||
| 1597 | if ( ! b ) | ||
| 1598 | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | ||
| 1599 | |||
| 1600 | b->yy_buf_size = size; | ||
| 1601 | |||
| 1602 | /* yy_ch_buf has to be 2 characters longer than the size given because | ||
| 1603 | * we need to put in 2 end-of-buffer characters. | ||
| 1604 | */ | ||
| 1605 | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | ||
| 1606 | if ( ! b->yy_ch_buf ) | ||
| 1607 | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | ||
| 1608 | |||
| 1609 | b->yy_is_our_buffer = 1; | ||
| 1610 | |||
| 1611 | yy_init_buffer(b,file ); | ||
| 1612 | |||
| 1613 | return b; | ||
| 1614 | } | ||
| 1615 | |||
| 1616 | /** Destroy the buffer. | ||
| 1617 | * @param b a buffer created with yy_create_buffer() | ||
| 1618 | * | ||
| 1619 | */ | ||
| 1620 | void yy_delete_buffer (YY_BUFFER_STATE b ) | ||
| 1621 | { | ||
| 1622 | |||
| 1623 | if ( ! b ) | ||
| 1624 | return; | ||
| 1625 | |||
| 1626 | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | ||
| 1627 | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | ||
| 1628 | |||
| 1629 | if ( b->yy_is_our_buffer ) | ||
| 1630 | yyfree((void *) b->yy_ch_buf ); | ||
| 1631 | |||
| 1632 | yyfree((void *) b ); | ||
| 1633 | } | ||
| 1634 | |||
| 1635 | #ifndef __cplusplus | ||
| 1636 | extern int isatty (int ); | ||
| 1637 | #endif /* __cplusplus */ | ||
| 1638 | |||
| 1639 | /* Initializes or reinitializes a buffer. | ||
| 1640 | * This function is sometimes called more than once on the same buffer, | ||
| 1641 | * such as during a yyrestart() or at EOF. | ||
| 1642 | */ | ||
| 1643 | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | ||
| 1644 | |||
| 1645 | { | ||
| 1646 | int oerrno = errno; | ||
| 1647 | |||
| 1648 | yy_flush_buffer(b ); | ||
| 1649 | |||
| 1650 | b->yy_input_file = file; | ||
| 1651 | b->yy_fill_buffer = 1; | ||
| 1652 | |||
| 1653 | /* If b is the current buffer, then yy_init_buffer was _probably_ | ||
| 1654 | * called from yyrestart() or through yy_get_next_buffer. | ||
| 1655 | * In that case, we don't want to reset the lineno or column. | ||
| 1656 | */ | ||
| 1657 | if (b != YY_CURRENT_BUFFER){ | ||
| 1658 | b->yy_bs_lineno = 1; | ||
| 1659 | b->yy_bs_column = 0; | ||
| 1660 | } | ||
| 1661 | |||
| 1662 | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | ||
| 1663 | |||
| 1664 | errno = oerrno; | ||
| 1665 | } | ||
| 1666 | |||
| 1667 | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | ||
| 1668 | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | ||
| 1669 | * | ||
| 1670 | */ | ||
| 1671 | void yy_flush_buffer (YY_BUFFER_STATE b ) | ||
| 1672 | { | ||
| 1673 | if ( ! b ) | ||
| 1674 | return; | ||
| 1675 | |||
| 1676 | b->yy_n_chars = 0; | ||
| 1677 | |||
| 1678 | /* We always need two end-of-buffer characters. The first causes | ||
| 1679 | * a transition to the end-of-buffer state. The second causes | ||
| 1680 | * a jam in that state. | ||
| 1681 | */ | ||
| 1682 | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | ||
| 1683 | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | ||
| 1684 | |||
| 1685 | b->yy_buf_pos = &b->yy_ch_buf[0]; | ||
| 1686 | |||
| 1687 | b->yy_at_bol = 1; | ||
| 1688 | b->yy_buffer_status = YY_BUFFER_NEW; | ||
| 1689 | |||
| 1690 | if ( b == YY_CURRENT_BUFFER ) | ||
| 1691 | yy_load_buffer_state( ); | ||
| 1692 | } | ||
| 1693 | |||
| 1694 | /** Pushes the new state onto the stack. The new state becomes | ||
| 1695 | * the current state. This function will allocate the stack | ||
| 1696 | * if necessary. | ||
| 1697 | * @param new_buffer The new state. | ||
| 1698 | * | ||
| 1699 | */ | ||
| 1700 | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | ||
| 1701 | { | ||
| 1702 | if (new_buffer == NULL) | ||
| 1703 | return; | ||
| 1704 | |||
| 1705 | yyensure_buffer_stack(); | ||
| 1706 | |||
| 1707 | /* This block is copied from yy_switch_to_buffer. */ | ||
| 1708 | if ( YY_CURRENT_BUFFER ) | ||
| 1709 | { | ||
| 1710 | /* Flush out information for old buffer. */ | ||
| 1711 | *(yy_c_buf_p) = (yy_hold_char); | ||
| 1712 | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | ||
| 1713 | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | ||
| 1714 | } | ||
| 1715 | |||
| 1716 | /* Only push if top exists. Otherwise, replace top. */ | ||
| 1717 | if (YY_CURRENT_BUFFER) | ||
| 1718 | (yy_buffer_stack_top)++; | ||
| 1719 | YY_CURRENT_BUFFER_LVALUE = new_buffer; | ||
| 1720 | |||
| 1721 | /* copied from yy_switch_to_buffer. */ | ||
| 1722 | yy_load_buffer_state( ); | ||
| 1723 | (yy_did_buffer_switch_on_eof) = 1; | ||
| 1724 | } | ||
| 1725 | |||
| 1726 | /** Removes and deletes the top of the stack, if present. | ||
| 1727 | * The next element becomes the new top. | ||
| 1728 | * | ||
| 1729 | */ | ||
| 1730 | void yypop_buffer_state (void) | ||
| 1731 | { | ||
| 1732 | if (!YY_CURRENT_BUFFER) | ||
| 1733 | return; | ||
| 1734 | |||
| 1735 | yy_delete_buffer(YY_CURRENT_BUFFER ); | ||
| 1736 | YY_CURRENT_BUFFER_LVALUE = NULL; | ||
| 1737 | if ((yy_buffer_stack_top) > 0) | ||
| 1738 | --(yy_buffer_stack_top); | ||
| 1739 | |||
| 1740 | if (YY_CURRENT_BUFFER) { | ||
| 1741 | yy_load_buffer_state( ); | ||
| 1742 | (yy_did_buffer_switch_on_eof) = 1; | ||
| 1743 | } | ||
| 1744 | } | ||
| 1745 | |||
| 1746 | /* Allocates the stack if it does not exist. | ||
| 1747 | * Guarantees space for at least one push. | ||
| 1748 | */ | ||
| 1749 | static void yyensure_buffer_stack (void) | ||
| 1750 | { | ||
| 1751 | int num_to_alloc; | ||
| 1752 | |||
| 1753 | if (!(yy_buffer_stack)) { | ||
| 1754 | |||
| 1755 | /* First allocation is just for 2 elements, since we don't know if this | ||
| 1756 | * scanner will even need a stack. We use 2 instead of 1 to avoid an | ||
| 1757 | * immediate realloc on the next call. | ||
| 1758 | */ | ||
| 1759 | num_to_alloc = 1; | ||
| 1760 | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | ||
| 1761 | (num_to_alloc * sizeof(struct yy_buffer_state*) | ||
| 1762 | ); | ||
| 1763 | if ( ! (yy_buffer_stack) ) | ||
| 1764 | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | ||
| 1765 | |||
| 1766 | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | ||
| 1767 | |||
| 1768 | (yy_buffer_stack_max) = num_to_alloc; | ||
| 1769 | (yy_buffer_stack_top) = 0; | ||
| 1770 | return; | ||
| 1771 | } | ||
| 1772 | |||
| 1773 | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | ||
| 1774 | |||
| 1775 | /* Increase the buffer to prepare for a possible push. */ | ||
| 1776 | int grow_size = 8 /* arbitrary grow size */; | ||
| 1777 | |||
| 1778 | num_to_alloc = (yy_buffer_stack_max) + grow_size; | ||
| 1779 | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ||
| 1780 | ((yy_buffer_stack), | ||
| 1781 | num_to_alloc * sizeof(struct yy_buffer_state*) | ||
| 1782 | ); | ||
| 1783 | if ( ! (yy_buffer_stack) ) | ||
| 1784 | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | ||
| 1785 | |||
| 1786 | /* zero only the new slots.*/ | ||
| 1787 | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | ||
| 1788 | (yy_buffer_stack_max) = num_to_alloc; | ||
| 1789 | } | ||
| 1790 | } | ||
| 1791 | |||
| 1792 | /** Setup the input buffer state to scan directly from a user-specified character buffer. | ||
| 1793 | * @param base the character buffer | ||
| 1794 | * @param size the size in bytes of the character buffer | ||
| 1795 | * | ||
| 1796 | * @return the newly allocated buffer state object. | ||
| 1797 | */ | ||
| 1798 | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | ||
| 1799 | { | ||
| 1800 | YY_BUFFER_STATE b; | ||
| 1801 | |||
| 1802 | if ( size < 2 || | ||
| 1803 | base[size-2] != YY_END_OF_BUFFER_CHAR || | ||
| 1804 | base[size-1] != YY_END_OF_BUFFER_CHAR ) | ||
| 1805 | /* They forgot to leave room for the EOB's. */ | ||
| 1806 | return 0; | ||
| 1807 | |||
| 1808 | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | ||
| 1809 | if ( ! b ) | ||
| 1810 | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | ||
| 1811 | |||
| 1812 | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ | ||
| 1813 | b->yy_buf_pos = b->yy_ch_buf = base; | ||
| 1814 | b->yy_is_our_buffer = 0; | ||
| 1815 | b->yy_input_file = 0; | ||
| 1816 | b->yy_n_chars = b->yy_buf_size; | ||
| 1817 | b->yy_is_interactive = 0; | ||
| 1818 | b->yy_at_bol = 1; | ||
| 1819 | b->yy_fill_buffer = 0; | ||
| 1820 | b->yy_buffer_status = YY_BUFFER_NEW; | ||
| 1821 | |||
| 1822 | yy_switch_to_buffer(b ); | ||
| 1823 | |||
| 1824 | return b; | ||
| 1825 | } | ||
| 1826 | |||
| 1827 | /** Setup the input buffer state to scan a string. The next call to yylex() will | ||
| 1828 | * scan from a @e copy of @a str. | ||
| 1829 | * @param yystr a NUL-terminated string to scan | ||
| 1830 | * | ||
| 1831 | * @return the newly allocated buffer state object. | ||
| 1832 | * @note If you want to scan bytes that may contain NUL values, then use | ||
| 1833 | * yy_scan_bytes() instead. | ||
| 1834 | */ | ||
| 1835 | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | ||
| 1836 | { | ||
| 1837 | |||
| 1838 | return yy_scan_bytes(yystr,strlen(yystr) ); | ||
| 1839 | } | ||
| 1840 | |||
| 1841 | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | ||
| 1842 | * scan from a @e copy of @a bytes. | ||
| 1843 | * @param bytes the byte buffer to scan | ||
| 1844 | * @param len the number of bytes in the buffer pointed to by @a bytes. | ||
| 1845 | * | ||
| 1846 | * @return the newly allocated buffer state object. | ||
| 1847 | */ | ||
| 1848 | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) | ||
| 1849 | { | ||
| 1850 | YY_BUFFER_STATE b; | ||
| 1851 | char *buf; | ||
| 1852 | yy_size_t n; | ||
| 1853 | int i; | ||
| 1854 | |||
| 1855 | /* Get memory for full buffer, including space for trailing EOB's. */ | ||
| 1856 | n = _yybytes_len + 2; | ||
| 1857 | buf = (char *) yyalloc(n ); | ||
| 1858 | if ( ! buf ) | ||
| 1859 | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | ||
| 1860 | |||
| 1861 | for ( i = 0; i < _yybytes_len; ++i ) | ||
| 1862 | buf[i] = yybytes[i]; | ||
| 1863 | |||
| 1864 | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | ||
| 1865 | |||
| 1866 | b = yy_scan_buffer(buf,n ); | ||
| 1867 | if ( ! b ) | ||
| 1868 | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | ||
| 1869 | |||
| 1870 | /* It's okay to grow etc. this buffer, and we should throw it | ||
| 1871 | * away when we're done. | ||
| 1872 | */ | ||
| 1873 | b->yy_is_our_buffer = 1; | ||
| 1874 | |||
| 1875 | return b; | ||
| 1876 | } | ||
| 1877 | |||
| 1878 | #ifndef YY_EXIT_FAILURE | ||
| 1879 | #define YY_EXIT_FAILURE 2 | ||
| 1880 | #endif | ||
| 1881 | |||
| 1882 | static void yy_fatal_error (yyconst char* msg ) | ||
| 1883 | { | ||
| 1884 | (void) fprintf( stderr, "%s\n", msg ); | ||
| 1885 | exit( YY_EXIT_FAILURE ); | ||
| 1886 | } | ||
| 1887 | |||
| 1888 | /* Redefine yyless() so it works in section 3 code. */ | ||
| 1889 | |||
| 1890 | #undef yyless | ||
| 1891 | #define yyless(n) \ | ||
| 1892 | do \ | ||
| 1893 | { \ | ||
| 1894 | /* Undo effects of setting up yytext. */ \ | ||
| 1895 | int yyless_macro_arg = (n); \ | ||
| 1896 | YY_LESS_LINENO(yyless_macro_arg);\ | ||
| 1897 | yytext[yyleng] = (yy_hold_char); \ | ||
| 1898 | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | ||
| 1899 | (yy_hold_char) = *(yy_c_buf_p); \ | ||
| 1900 | *(yy_c_buf_p) = '\0'; \ | ||
| 1901 | yyleng = yyless_macro_arg; \ | ||
| 1902 | } \ | ||
| 1903 | while ( 0 ) | ||
| 1904 | |||
| 1905 | /* Accessor methods (get/set functions) to struct members. */ | ||
| 1906 | |||
| 1907 | /** Get the current line number. | ||
| 1908 | * | ||
| 1909 | */ | ||
| 1910 | int yyget_lineno (void) | ||
| 1911 | { | ||
| 1912 | |||
| 1913 | return yylineno; | ||
| 1914 | } | ||
| 1915 | |||
| 1916 | /** Get the input stream. | ||
| 1917 | * | ||
| 1918 | */ | ||
| 1919 | FILE *yyget_in (void) | ||
| 1920 | { | ||
| 1921 | return yyin; | ||
| 1922 | } | ||
| 1923 | |||
| 1924 | /** Get the output stream. | ||
| 1925 | * | ||
| 1926 | */ | ||
| 1927 | FILE *yyget_out (void) | ||
| 1928 | { | ||
| 1929 | return yyout; | ||
| 1930 | } | ||
| 1931 | |||
| 1932 | /** Get the length of the current token. | ||
| 1933 | * | ||
| 1934 | */ | ||
| 1935 | int yyget_leng (void) | ||
| 1936 | { | ||
| 1937 | return yyleng; | ||
| 1938 | } | ||
| 1939 | |||
| 1940 | /** Get the current token. | ||
| 1941 | * | ||
| 1942 | */ | ||
| 1943 | |||
| 1944 | char *yyget_text (void) | ||
| 1945 | { | ||
| 1946 | return yytext; | ||
| 1947 | } | ||
| 1948 | |||
| 1949 | /** Set the current line number. | ||
| 1950 | * @param line_number | ||
| 1951 | * | ||
| 1952 | */ | ||
| 1953 | void yyset_lineno (int line_number ) | ||
| 1954 | { | ||
| 1955 | |||
| 1956 | yylineno = line_number; | ||
| 1957 | } | ||
| 1958 | |||
| 1959 | /** Set the input stream. This does not discard the current | ||
| 1960 | * input buffer. | ||
| 1961 | * @param in_str A readable stream. | ||
| 1962 | * | ||
| 1963 | * @see yy_switch_to_buffer | ||
| 1964 | */ | ||
| 1965 | void yyset_in (FILE * in_str ) | ||
| 1966 | { | ||
| 1967 | yyin = in_str ; | ||
| 1968 | } | ||
| 1969 | |||
| 1970 | void yyset_out (FILE * out_str ) | ||
| 1971 | { | ||
| 1972 | yyout = out_str ; | ||
| 1973 | } | ||
| 1974 | |||
| 1975 | int yyget_debug (void) | ||
| 1976 | { | ||
| 1977 | return yy_flex_debug; | ||
| 1978 | } | ||
| 1979 | |||
| 1980 | void yyset_debug (int bdebug ) | ||
| 1981 | { | ||
| 1982 | yy_flex_debug = bdebug ; | ||
| 1983 | } | ||
| 1984 | |||
| 1985 | static int yy_init_globals (void) | ||
| 1986 | { | ||
| 1987 | /* Initialization is the same as for the non-reentrant scanner. | ||
| 1988 | * This function is called from yylex_destroy(), so don't allocate here. | ||
| 1989 | */ | ||
| 1990 | |||
| 1991 | /* We do not touch yylineno unless the option is enabled. */ | ||
| 1992 | yylineno = 1; | ||
| 1993 | |||
| 1994 | (yy_buffer_stack) = 0; | ||
| 1995 | (yy_buffer_stack_top) = 0; | ||
| 1996 | (yy_buffer_stack_max) = 0; | ||
| 1997 | (yy_c_buf_p) = (char *) 0; | ||
| 1998 | (yy_init) = 0; | ||
| 1999 | (yy_start) = 0; | ||
| 2000 | |||
| 2001 | /* Defined in main.c */ | ||
| 2002 | #ifdef YY_STDINIT | ||
| 2003 | yyin = stdin; | ||
| 2004 | yyout = stdout; | ||
| 2005 | #else | ||
| 2006 | yyin = (FILE *) 0; | ||
| 2007 | yyout = (FILE *) 0; | ||
| 2008 | #endif | ||
| 2009 | |||
| 2010 | /* For future reference: Set errno on error, since we are called by | ||
| 2011 | * yylex_init() | ||
| 2012 | */ | ||
| 2013 | return 0; | ||
| 2014 | } | ||
| 2015 | |||
| 2016 | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | ||
| 2017 | int yylex_destroy (void) | ||
| 2018 | { | ||
| 2019 | |||
| 2020 | /* Pop the buffer stack, destroying each element. */ | ||
| 2021 | while(YY_CURRENT_BUFFER){ | ||
| 2022 | yy_delete_buffer(YY_CURRENT_BUFFER ); | ||
| 2023 | YY_CURRENT_BUFFER_LVALUE = NULL; | ||
| 2024 | yypop_buffer_state(); | ||
| 2025 | } | ||
| 2026 | |||
| 2027 | /* Destroy the stack itself. */ | ||
| 2028 | yyfree((yy_buffer_stack) ); | ||
| 2029 | (yy_buffer_stack) = NULL; | ||
| 2030 | |||
| 2031 | /* Reset the globals. This is important in a non-reentrant scanner so the next time | ||
| 2032 | * yylex() is called, initialization will occur. */ | ||
| 2033 | yy_init_globals( ); | ||
| 2034 | |||
| 2035 | return 0; | ||
| 2036 | } | ||
| 2037 | |||
| 2038 | /* | ||
| 2039 | * Internal utility routines. | ||
| 2040 | */ | ||
| 2041 | |||
| 2042 | #ifndef yytext_ptr | ||
| 2043 | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) | ||
| 2044 | { | ||
| 2045 | register int i; | ||
| 2046 | for ( i = 0; i < n; ++i ) | ||
| 2047 | s1[i] = s2[i]; | ||
| 2048 | } | ||
| 2049 | #endif | ||
| 2050 | |||
| 2051 | #ifdef YY_NEED_STRLEN | ||
| 2052 | static int yy_flex_strlen (yyconst char * s ) | ||
| 2053 | { | ||
| 2054 | register int n; | ||
| 2055 | for ( n = 0; s[n]; ++n ) | ||
| 2056 | ; | ||
| 2057 | |||
| 2058 | return n; | ||
| 2059 | } | ||
| 2060 | #endif | ||
| 2061 | |||
| 2062 | void *yyalloc (yy_size_t size ) | ||
| 2063 | { | ||
| 2064 | return (void *) malloc( size ); | ||
| 2065 | } | ||
| 2066 | |||
| 2067 | void *yyrealloc (void * ptr, yy_size_t size ) | ||
| 2068 | { | ||
| 2069 | /* The cast to (char *) in the following accommodates both | ||
| 2070 | * implementations that use char* generic pointers, and those | ||
| 2071 | * that use void* generic pointers. It works with the latter | ||
| 2072 | * because both ANSI C and C++ allow castless assignment from | ||
| 2073 | * any pointer type to void*, and deal with argument conversions | ||
| 2074 | * as though doing an assignment. | ||
| 2075 | */ | ||
| 2076 | return (void *) realloc( (char *) ptr, size ); | ||
| 2077 | } | ||
| 2078 | |||
| 2079 | void yyfree (void * ptr ) | ||
| 2080 | { | ||
| 2081 | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | ||
| 2082 | } | ||
| 2083 | |||
| 2084 | #define YYTABLES_NAME "yytables" | ||
| 2085 | |||
| 2086 | #line 222 "dtc-lexer.l" | ||
| 2087 | |||
| 2088 | |||
| 2089 | |||
| 2090 | |||
| 2091 | /* | ||
| 2092 | * Stack of nested include file contexts. | ||
| 2093 | */ | ||
| 2094 | |||
| 2095 | struct incl_file { | ||
| 2096 | struct dtc_file *file; | ||
| 2097 | YY_BUFFER_STATE yy_prev_buf; | ||
| 2098 | int yy_prev_lineno; | ||
| 2099 | struct incl_file *prev; | ||
| 2100 | }; | ||
| 2101 | |||
| 2102 | static struct incl_file *incl_file_stack; | ||
| 2103 | |||
| 2104 | |||
| 2105 | /* | ||
| 2106 | * Detect infinite include recursion. | ||
| 2107 | */ | ||
| 2108 | #define MAX_INCLUDE_DEPTH (100) | ||
| 2109 | |||
| 2110 | static int incl_depth = 0; | ||
| 2111 | |||
| 2112 | |||
| 2113 | static void push_input_file(const char *filename) | ||
| 2114 | { | ||
| 2115 | struct incl_file *incl_file; | ||
| 2116 | struct dtc_file *newfile; | ||
| 2117 | struct search_path search, *searchptr = NULL; | ||
| 2118 | |||
| 2119 | assert(filename); | ||
| 2120 | |||
| 2121 | if (incl_depth++ >= MAX_INCLUDE_DEPTH) | ||
| 2122 | die("Includes nested too deeply"); | ||
| 2123 | |||
| 2124 | if (srcpos_file) { | ||
| 2125 | search.dir = srcpos_file->dir; | ||
| 2126 | search.next = NULL; | ||
| 2127 | search.prev = NULL; | ||
| 2128 | searchptr = &search; | ||
| 2129 | } | ||
| 2130 | |||
| 2131 | newfile = dtc_open_file(filename, searchptr); | ||
| 2132 | |||
| 2133 | incl_file = xmalloc(sizeof(struct incl_file)); | ||
| 2134 | |||
| 2135 | /* | ||
| 2136 | * Save current context. | ||
| 2137 | */ | ||
| 2138 | incl_file->yy_prev_buf = YY_CURRENT_BUFFER; | ||
| 2139 | incl_file->yy_prev_lineno = yylineno; | ||
| 2140 | incl_file->file = srcpos_file; | ||
| 2141 | incl_file->prev = incl_file_stack; | ||
| 2142 | |||
| 2143 | incl_file_stack = incl_file; | ||
| 2144 | |||
| 2145 | /* | ||
| 2146 | * Establish new context. | ||
| 2147 | */ | ||
| 2148 | srcpos_file = newfile; | ||
| 2149 | yylineno = 1; | ||
| 2150 | yyin = newfile->file; | ||
| 2151 | yy_switch_to_buffer(yy_create_buffer(yyin,YY_BUF_SIZE)); | ||
| 2152 | } | ||
| 2153 | |||
| 2154 | |||
| 2155 | static int pop_input_file(void) | ||
| 2156 | { | ||
| 2157 | struct incl_file *incl_file; | ||
| 2158 | |||
| 2159 | if (incl_file_stack == 0) | ||
| 2160 | return 0; | ||
| 2161 | |||
| 2162 | dtc_close_file(srcpos_file); | ||
| 2163 | |||
| 2164 | /* | ||
| 2165 | * Pop. | ||
| 2166 | */ | ||
| 2167 | --incl_depth; | ||
| 2168 | incl_file = incl_file_stack; | ||
| 2169 | incl_file_stack = incl_file->prev; | ||
| 2170 | |||
| 2171 | /* | ||
| 2172 | * Recover old context. | ||
| 2173 | */ | ||
| 2174 | yy_delete_buffer(YY_CURRENT_BUFFER); | ||
| 2175 | yy_switch_to_buffer(incl_file->yy_prev_buf); | ||
| 2176 | yylineno = incl_file->yy_prev_lineno; | ||
| 2177 | srcpos_file = incl_file->file; | ||
| 2178 | yyin = incl_file->file ? incl_file->file->file : NULL; | ||
| 2179 | |||
| 2180 | /* | ||
| 2181 | * Free old state. | ||
| 2182 | */ | ||
| 2183 | free(incl_file); | ||
| 2184 | |||
| 2185 | return 1; | ||
| 2186 | } | ||
| 2187 | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped b/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped deleted file mode 100644 index 27129377e5d2..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped +++ /dev/null | |||
| @@ -1,2040 +0,0 @@ | |||
| 1 | /* A Bison parser, made by GNU Bison 2.3. */ | ||
| 2 | |||
| 3 | /* Skeleton implementation for Bison's Yacc-like parsers in C | ||
| 4 | |||
| 5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | ||
| 6 | Free Software Foundation, Inc. | ||
| 7 | |||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* As a special exception, you may create a larger work that contains | ||
| 24 | part or all of the Bison parser skeleton and distribute that work | ||
| 25 | under terms of your choice, so long as that work isn't itself a | ||
| 26 | parser generator using the skeleton or a modified version thereof | ||
| 27 | as a parser skeleton. Alternatively, if you modify or redistribute | ||
| 28 | the parser skeleton itself, you may (at your option) remove this | ||
| 29 | special exception, which will cause the skeleton and the resulting | ||
| 30 | Bison output files to be licensed under the GNU General Public | ||
| 31 | License without this special exception. | ||
| 32 | |||
| 33 | This special exception was added by the Free Software Foundation in | ||
| 34 | version 2.2 of Bison. */ | ||
| 35 | |||
| 36 | /* C LALR(1) parser skeleton written by Richard Stallman, by | ||
| 37 | simplifying the original so-called "semantic" parser. */ | ||
| 38 | |||
| 39 | /* All symbols defined below should begin with yy or YY, to avoid | ||
| 40 | infringing on user name space. This should be done even for local | ||
| 41 | variables, as they might otherwise be expanded by user macros. | ||
| 42 | There are some unavoidable exceptions within include files to | ||
| 43 | define necessary library symbols; they are noted "INFRINGES ON | ||
| 44 | USER NAME SPACE" below. */ | ||
| 45 | |||
| 46 | /* Identify Bison output. */ | ||
| 47 | #define YYBISON 1 | ||
| 48 | |||
| 49 | /* Bison version. */ | ||
| 50 | #define YYBISON_VERSION "2.3" | ||
| 51 | |||
| 52 | /* Skeleton name. */ | ||
| 53 | #define YYSKELETON_NAME "yacc.c" | ||
| 54 | |||
| 55 | /* Pure parsers. */ | ||
| 56 | #define YYPURE 0 | ||
| 57 | |||
| 58 | /* Using locations. */ | ||
| 59 | #define YYLSP_NEEDED 1 | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | /* Tokens. */ | ||
| 64 | #ifndef YYTOKENTYPE | ||
| 65 | # define YYTOKENTYPE | ||
| 66 | /* Put the tokens into the symbol table, so that GDB and other debuggers | ||
| 67 | know about them. */ | ||
| 68 | enum yytokentype { | ||
| 69 | DT_V1 = 258, | ||
| 70 | DT_MEMRESERVE = 259, | ||
| 71 | DT_PROPNODENAME = 260, | ||
| 72 | DT_LITERAL = 261, | ||
| 73 | DT_LEGACYLITERAL = 262, | ||
| 74 | DT_BASE = 263, | ||
| 75 | DT_BYTE = 264, | ||
| 76 | DT_STRING = 265, | ||
| 77 | DT_LABEL = 266, | ||
| 78 | DT_REF = 267, | ||
| 79 | DT_INCBIN = 268 | ||
| 80 | }; | ||
| 81 | #endif | ||
| 82 | /* Tokens. */ | ||
| 83 | #define DT_V1 258 | ||
| 84 | #define DT_MEMRESERVE 259 | ||
| 85 | #define DT_PROPNODENAME 260 | ||
| 86 | #define DT_LITERAL 261 | ||
| 87 | #define DT_LEGACYLITERAL 262 | ||
| 88 | #define DT_BASE 263 | ||
| 89 | #define DT_BYTE 264 | ||
| 90 | #define DT_STRING 265 | ||
| 91 | #define DT_LABEL 266 | ||
| 92 | #define DT_REF 267 | ||
| 93 | #define DT_INCBIN 268 | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | /* Copy the first part of user declarations. */ | ||
| 99 | #line 23 "dtc-parser.y" | ||
| 100 | |||
| 101 | #include <stdio.h> | ||
| 102 | |||
| 103 | #include "dtc.h" | ||
| 104 | #include "srcpos.h" | ||
| 105 | |||
| 106 | extern int yylex(void); | ||
| 107 | |||
| 108 | extern struct boot_info *the_boot_info; | ||
| 109 | extern int treesource_error; | ||
| 110 | |||
| 111 | static unsigned long long eval_literal(const char *s, int base, int bits); | ||
| 112 | |||
| 113 | |||
| 114 | /* Enabling traces. */ | ||
| 115 | #ifndef YYDEBUG | ||
| 116 | # define YYDEBUG 0 | ||
| 117 | #endif | ||
| 118 | |||
| 119 | /* Enabling verbose error messages. */ | ||
| 120 | #ifdef YYERROR_VERBOSE | ||
| 121 | # undef YYERROR_VERBOSE | ||
| 122 | # define YYERROR_VERBOSE 1 | ||
| 123 | #else | ||
| 124 | # define YYERROR_VERBOSE 0 | ||
| 125 | #endif | ||
| 126 | |||
| 127 | /* Enabling the token table. */ | ||
| 128 | #ifndef YYTOKEN_TABLE | ||
| 129 | # define YYTOKEN_TABLE 0 | ||
| 130 | #endif | ||
| 131 | |||
| 132 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | ||
| 133 | typedef union YYSTYPE | ||
| 134 | #line 37 "dtc-parser.y" | ||
| 135 | { | ||
| 136 | char *propnodename; | ||
| 137 | char *literal; | ||
| 138 | char *labelref; | ||
| 139 | unsigned int cbase; | ||
| 140 | uint8_t byte; | ||
| 141 | struct data data; | ||
| 142 | |||
| 143 | uint64_t addr; | ||
| 144 | cell_t cell; | ||
| 145 | struct property *prop; | ||
| 146 | struct property *proplist; | ||
| 147 | struct node *node; | ||
| 148 | struct node *nodelist; | ||
| 149 | struct reserve_info *re; | ||
| 150 | } | ||
| 151 | /* Line 187 of yacc.c. */ | ||
| 152 | #line 153 "dtc-parser.tab.c" | ||
| 153 | YYSTYPE; | ||
| 154 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | ||
| 155 | # define YYSTYPE_IS_DECLARED 1 | ||
| 156 | # define YYSTYPE_IS_TRIVIAL 1 | ||
| 157 | #endif | ||
| 158 | |||
| 159 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED | ||
| 160 | typedef struct YYLTYPE | ||
| 161 | { | ||
| 162 | int first_line; | ||
| 163 | int first_column; | ||
| 164 | int last_line; | ||
| 165 | int last_column; | ||
| 166 | } YYLTYPE; | ||
| 167 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | ||
| 168 | # define YYLTYPE_IS_DECLARED 1 | ||
| 169 | # define YYLTYPE_IS_TRIVIAL 1 | ||
| 170 | #endif | ||
| 171 | |||
| 172 | |||
| 173 | /* Copy the second part of user declarations. */ | ||
| 174 | |||
| 175 | |||
| 176 | /* Line 216 of yacc.c. */ | ||
| 177 | #line 178 "dtc-parser.tab.c" | ||
| 178 | |||
| 179 | #ifdef short | ||
| 180 | # undef short | ||
| 181 | #endif | ||
| 182 | |||
| 183 | #ifdef YYTYPE_UINT8 | ||
| 184 | typedef YYTYPE_UINT8 yytype_uint8; | ||
| 185 | #else | ||
| 186 | typedef unsigned char yytype_uint8; | ||
| 187 | #endif | ||
| 188 | |||
| 189 | #ifdef YYTYPE_INT8 | ||
| 190 | typedef YYTYPE_INT8 yytype_int8; | ||
| 191 | #elif (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 192 | || defined __cplusplus || defined _MSC_VER) | ||
| 193 | typedef signed char yytype_int8; | ||
| 194 | #else | ||
| 195 | typedef short int yytype_int8; | ||
| 196 | #endif | ||
| 197 | |||
| 198 | #ifdef YYTYPE_UINT16 | ||
| 199 | typedef YYTYPE_UINT16 yytype_uint16; | ||
| 200 | #else | ||
| 201 | typedef unsigned short int yytype_uint16; | ||
| 202 | #endif | ||
| 203 | |||
| 204 | #ifdef YYTYPE_INT16 | ||
| 205 | typedef YYTYPE_INT16 yytype_int16; | ||
| 206 | #else | ||
| 207 | typedef short int yytype_int16; | ||
| 208 | #endif | ||
| 209 | |||
| 210 | #ifndef YYSIZE_T | ||
| 211 | # ifdef __SIZE_TYPE__ | ||
| 212 | # define YYSIZE_T __SIZE_TYPE__ | ||
| 213 | # elif defined size_t | ||
| 214 | # define YYSIZE_T size_t | ||
| 215 | # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 216 | || defined __cplusplus || defined _MSC_VER) | ||
| 217 | # include <stddef.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 218 | # define YYSIZE_T size_t | ||
| 219 | # else | ||
| 220 | # define YYSIZE_T unsigned int | ||
| 221 | # endif | ||
| 222 | #endif | ||
| 223 | |||
| 224 | #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) | ||
| 225 | |||
| 226 | #ifndef YY_ | ||
| 227 | # if YYENABLE_NLS | ||
| 228 | # if ENABLE_NLS | ||
| 229 | # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 230 | # define YY_(msgid) dgettext ("bison-runtime", msgid) | ||
| 231 | # endif | ||
| 232 | # endif | ||
| 233 | # ifndef YY_ | ||
| 234 | # define YY_(msgid) msgid | ||
| 235 | # endif | ||
| 236 | #endif | ||
| 237 | |||
| 238 | /* Suppress unused-variable warnings by "using" E. */ | ||
| 239 | #if ! defined lint || defined __GNUC__ | ||
| 240 | # define YYUSE(e) ((void) (e)) | ||
| 241 | #else | ||
| 242 | # define YYUSE(e) /* empty */ | ||
| 243 | #endif | ||
| 244 | |||
| 245 | /* Identity function, used to suppress warnings about constant conditions. */ | ||
| 246 | #ifndef lint | ||
| 247 | # define YYID(n) (n) | ||
| 248 | #else | ||
| 249 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 250 | || defined __cplusplus || defined _MSC_VER) | ||
| 251 | static int | ||
| 252 | YYID (int i) | ||
| 253 | #else | ||
| 254 | static int | ||
| 255 | YYID (i) | ||
| 256 | int i; | ||
| 257 | #endif | ||
| 258 | { | ||
| 259 | return i; | ||
| 260 | } | ||
| 261 | #endif | ||
| 262 | |||
| 263 | #if ! defined yyoverflow || YYERROR_VERBOSE | ||
| 264 | |||
| 265 | /* The parser invokes alloca or malloc; define the necessary symbols. */ | ||
| 266 | |||
| 267 | # ifdef YYSTACK_USE_ALLOCA | ||
| 268 | # if YYSTACK_USE_ALLOCA | ||
| 269 | # ifdef __GNUC__ | ||
| 270 | # define YYSTACK_ALLOC __builtin_alloca | ||
| 271 | # elif defined __BUILTIN_VA_ARG_INCR | ||
| 272 | # include <alloca.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 273 | # elif defined _AIX | ||
| 274 | # define YYSTACK_ALLOC __alloca | ||
| 275 | # elif defined _MSC_VER | ||
| 276 | # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 277 | # define alloca _alloca | ||
| 278 | # else | ||
| 279 | # define YYSTACK_ALLOC alloca | ||
| 280 | # if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 281 | || defined __cplusplus || defined _MSC_VER) | ||
| 282 | # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 283 | # ifndef _STDLIB_H | ||
| 284 | # define _STDLIB_H 1 | ||
| 285 | # endif | ||
| 286 | # endif | ||
| 287 | # endif | ||
| 288 | # endif | ||
| 289 | # endif | ||
| 290 | |||
| 291 | # ifdef YYSTACK_ALLOC | ||
| 292 | /* Pacify GCC's `empty if-body' warning. */ | ||
| 293 | # define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) | ||
| 294 | # ifndef YYSTACK_ALLOC_MAXIMUM | ||
| 295 | /* The OS might guarantee only one guard page at the bottom of the stack, | ||
| 296 | and a page size can be as small as 4096 bytes. So we cannot safely | ||
| 297 | invoke alloca (N) if N exceeds 4096. Use a slightly smaller number | ||
| 298 | to allow for a few compiler-allocated temporary stack slots. */ | ||
| 299 | # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ | ||
| 300 | # endif | ||
| 301 | # else | ||
| 302 | # define YYSTACK_ALLOC YYMALLOC | ||
| 303 | # define YYSTACK_FREE YYFREE | ||
| 304 | # ifndef YYSTACK_ALLOC_MAXIMUM | ||
| 305 | # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM | ||
| 306 | # endif | ||
| 307 | # if (defined __cplusplus && ! defined _STDLIB_H \ | ||
| 308 | && ! ((defined YYMALLOC || defined malloc) \ | ||
| 309 | && (defined YYFREE || defined free))) | ||
| 310 | # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 311 | # ifndef _STDLIB_H | ||
| 312 | # define _STDLIB_H 1 | ||
| 313 | # endif | ||
| 314 | # endif | ||
| 315 | # ifndef YYMALLOC | ||
| 316 | # define YYMALLOC malloc | ||
| 317 | # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 318 | || defined __cplusplus || defined _MSC_VER) | ||
| 319 | void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ | ||
| 320 | # endif | ||
| 321 | # endif | ||
| 322 | # ifndef YYFREE | ||
| 323 | # define YYFREE free | ||
| 324 | # if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 325 | || defined __cplusplus || defined _MSC_VER) | ||
| 326 | void free (void *); /* INFRINGES ON USER NAME SPACE */ | ||
| 327 | # endif | ||
| 328 | # endif | ||
| 329 | # endif | ||
| 330 | #endif /* ! defined yyoverflow || YYERROR_VERBOSE */ | ||
| 331 | |||
| 332 | |||
| 333 | #if (! defined yyoverflow \ | ||
| 334 | && (! defined __cplusplus \ | ||
| 335 | || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \ | ||
| 336 | && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) | ||
| 337 | |||
| 338 | /* A type that is properly aligned for any stack member. */ | ||
| 339 | union yyalloc | ||
| 340 | { | ||
| 341 | yytype_int16 yyss; | ||
| 342 | YYSTYPE yyvs; | ||
| 343 | YYLTYPE yyls; | ||
| 344 | }; | ||
| 345 | |||
| 346 | /* The size of the maximum gap between one aligned stack and the next. */ | ||
| 347 | # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) | ||
| 348 | |||
| 349 | /* The size of an array large to enough to hold all stacks, each with | ||
| 350 | N elements. */ | ||
| 351 | # define YYSTACK_BYTES(N) \ | ||
| 352 | ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ | ||
| 353 | + 2 * YYSTACK_GAP_MAXIMUM) | ||
| 354 | |||
| 355 | /* Copy COUNT objects from FROM to TO. The source and destination do | ||
| 356 | not overlap. */ | ||
| 357 | # ifndef YYCOPY | ||
| 358 | # if defined __GNUC__ && 1 < __GNUC__ | ||
| 359 | # define YYCOPY(To, From, Count) \ | ||
| 360 | __builtin_memcpy (To, From, (Count) * sizeof (*(From))) | ||
| 361 | # else | ||
| 362 | # define YYCOPY(To, From, Count) \ | ||
| 363 | do \ | ||
| 364 | { \ | ||
| 365 | YYSIZE_T yyi; \ | ||
| 366 | for (yyi = 0; yyi < (Count); yyi++) \ | ||
| 367 | (To)[yyi] = (From)[yyi]; \ | ||
| 368 | } \ | ||
| 369 | while (YYID (0)) | ||
| 370 | # endif | ||
| 371 | # endif | ||
| 372 | |||
| 373 | /* Relocate STACK from its old location to the new one. The | ||
| 374 | local variables YYSIZE and YYSTACKSIZE give the old and new number of | ||
| 375 | elements in the stack, and YYPTR gives the new location of the | ||
| 376 | stack. Advance YYPTR to a properly aligned location for the next | ||
| 377 | stack. */ | ||
| 378 | # define YYSTACK_RELOCATE(Stack) \ | ||
| 379 | do \ | ||
| 380 | { \ | ||
| 381 | YYSIZE_T yynewbytes; \ | ||
| 382 | YYCOPY (&yyptr->Stack, Stack, yysize); \ | ||
| 383 | Stack = &yyptr->Stack; \ | ||
| 384 | yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ | ||
| 385 | yyptr += yynewbytes / sizeof (*yyptr); \ | ||
| 386 | } \ | ||
| 387 | while (YYID (0)) | ||
| 388 | |||
| 389 | #endif | ||
| 390 | |||
| 391 | /* YYFINAL -- State number of the termination state. */ | ||
| 392 | #define YYFINAL 9 | ||
| 393 | /* YYLAST -- Last index in YYTABLE. */ | ||
| 394 | #define YYLAST 73 | ||
| 395 | |||
| 396 | /* YYNTOKENS -- Number of terminals. */ | ||
| 397 | #define YYNTOKENS 27 | ||
| 398 | /* YYNNTS -- Number of nonterminals. */ | ||
| 399 | #define YYNNTS 20 | ||
| 400 | /* YYNRULES -- Number of rules. */ | ||
| 401 | #define YYNRULES 45 | ||
| 402 | /* YYNRULES -- Number of states. */ | ||
| 403 | #define YYNSTATES 76 | ||
| 404 | |||
| 405 | /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ | ||
| 406 | #define YYUNDEFTOK 2 | ||
| 407 | #define YYMAXUTOK 268 | ||
| 408 | |||
| 409 | #define YYTRANSLATE(YYX) \ | ||
| 410 | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) | ||
| 411 | |||
| 412 | /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ | ||
| 413 | static const yytype_uint8 yytranslate[] = | ||
| 414 | { | ||
| 415 | 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 416 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 417 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 418 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 419 | 24, 26, 2, 2, 25, 15, 2, 16, 2, 2, | ||
| 420 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 14, | ||
| 421 | 20, 19, 21, 2, 2, 2, 2, 2, 2, 2, | ||
| 422 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 423 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 424 | 2, 22, 2, 23, 2, 2, 2, 2, 2, 2, | ||
| 425 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 426 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 427 | 2, 2, 2, 17, 2, 18, 2, 2, 2, 2, | ||
| 428 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 429 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 430 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 431 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 432 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 433 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 434 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 435 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 436 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 437 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 438 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 439 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
| 440 | 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, | ||
| 441 | 5, 6, 7, 8, 9, 10, 11, 12, 13 | ||
| 442 | }; | ||
| 443 | |||
| 444 | #if YYDEBUG | ||
| 445 | /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in | ||
| 446 | YYRHS. */ | ||
| 447 | static const yytype_uint8 yyprhs[] = | ||
| 448 | { | ||
| 449 | 0, 0, 3, 8, 11, 12, 15, 21, 22, 25, | ||
| 450 | 27, 34, 36, 38, 41, 47, 48, 51, 57, 61, | ||
| 451 | 64, 69, 74, 77, 87, 93, 96, 97, 100, 103, | ||
| 452 | 104, 107, 110, 113, 114, 116, 118, 121, 122, 125, | ||
| 453 | 128, 129, 132, 135, 139, 140 | ||
| 454 | }; | ||
| 455 | |||
| 456 | /* YYRHS -- A `-1'-separated list of the rules' RHS. */ | ||
| 457 | static const yytype_int8 yyrhs[] = | ||
| 458 | { | ||
| 459 | 28, 0, -1, 3, 14, 29, 34, -1, 31, 34, | ||
| 460 | -1, -1, 30, 29, -1, 46, 4, 33, 33, 14, | ||
| 461 | -1, -1, 32, 31, -1, 30, -1, 46, 4, 33, | ||
| 462 | 15, 33, 14, -1, 6, -1, 7, -1, 16, 35, | ||
| 463 | -1, 17, 36, 44, 18, 14, -1, -1, 36, 37, | ||
| 464 | -1, 46, 5, 19, 38, 14, -1, 46, 5, 14, | ||
| 465 | -1, 39, 10, -1, 39, 20, 40, 21, -1, 39, | ||
| 466 | 22, 43, 23, -1, 39, 12, -1, 39, 13, 24, | ||
| 467 | 10, 25, 33, 25, 33, 26, -1, 39, 13, 24, | ||
| 468 | 10, 26, -1, 38, 11, -1, -1, 38, 25, -1, | ||
| 469 | 39, 11, -1, -1, 40, 42, -1, 40, 12, -1, | ||
| 470 | 40, 11, -1, -1, 8, -1, 6, -1, 41, 7, | ||
| 471 | -1, -1, 43, 9, -1, 43, 11, -1, -1, 45, | ||
| 472 | 44, -1, 45, 37, -1, 46, 5, 35, -1, -1, | ||
| 473 | 11, -1 | ||
| 474 | }; | ||
| 475 | |||
| 476 | /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ | ||
| 477 | static const yytype_uint16 yyrline[] = | ||
| 478 | { | ||
| 479 | 0, 89, 89, 93, 101, 104, 111, 119, 122, 129, | ||
| 480 | 133, 140, 144, 151, 158, 166, 169, 176, 180, 187, | ||
| 481 | 191, 195, 199, 203, 220, 231, 239, 242, 246, 254, | ||
| 482 | 257, 261, 266, 274, 277, 281, 285, 293, 296, 300, | ||
| 483 | 308, 311, 315, 323, 331, 334 | ||
| 484 | }; | ||
| 485 | #endif | ||
| 486 | |||
| 487 | #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE | ||
| 488 | /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. | ||
| 489 | First, the terminals, then, starting at YYNTOKENS, nonterminals. */ | ||
| 490 | static const char *const yytname[] = | ||
| 491 | { | ||
| 492 | "$end", "error", "$undefined", "DT_V1", "DT_MEMRESERVE", | ||
| 493 | "DT_PROPNODENAME", "DT_LITERAL", "DT_LEGACYLITERAL", "DT_BASE", | ||
| 494 | "DT_BYTE", "DT_STRING", "DT_LABEL", "DT_REF", "DT_INCBIN", "';'", "'-'", | ||
| 495 | "'/'", "'{'", "'}'", "'='", "'<'", "'>'", "'['", "']'", "'('", "','", | ||
| 496 | "')'", "$accept", "sourcefile", "memreserves", "memreserve", | ||
| 497 | "v0_memreserves", "v0_memreserve", "addr", "devicetree", "nodedef", | ||
| 498 | "proplist", "propdef", "propdata", "propdataprefix", "celllist", | ||
| 499 | "cellbase", "cellval", "bytestring", "subnodes", "subnode", "label", 0 | ||
| 500 | }; | ||
| 501 | #endif | ||
| 502 | |||
| 503 | # ifdef YYPRINT | ||
| 504 | /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to | ||
| 505 | token YYLEX-NUM. */ | ||
| 506 | static const yytype_uint16 yytoknum[] = | ||
| 507 | { | ||
| 508 | 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, | ||
| 509 | 265, 266, 267, 268, 59, 45, 47, 123, 125, 61, | ||
| 510 | 60, 62, 91, 93, 40, 44, 41 | ||
| 511 | }; | ||
| 512 | # endif | ||
| 513 | |||
| 514 | /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ | ||
| 515 | static const yytype_uint8 yyr1[] = | ||
| 516 | { | ||
| 517 | 0, 27, 28, 28, 29, 29, 30, 31, 31, 32, | ||
| 518 | 32, 33, 33, 34, 35, 36, 36, 37, 37, 38, | ||
| 519 | 38, 38, 38, 38, 38, 38, 39, 39, 39, 40, | ||
| 520 | 40, 40, 40, 41, 41, 42, 42, 43, 43, 43, | ||
| 521 | 44, 44, 44, 45, 46, 46 | ||
| 522 | }; | ||
| 523 | |||
| 524 | /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ | ||
| 525 | static const yytype_uint8 yyr2[] = | ||
| 526 | { | ||
| 527 | 0, 2, 4, 2, 0, 2, 5, 0, 2, 1, | ||
| 528 | 6, 1, 1, 2, 5, 0, 2, 5, 3, 2, | ||
| 529 | 4, 4, 2, 9, 5, 2, 0, 2, 2, 0, | ||
| 530 | 2, 2, 2, 0, 1, 1, 2, 0, 2, 2, | ||
| 531 | 0, 2, 2, 3, 0, 1 | ||
| 532 | }; | ||
| 533 | |||
| 534 | /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state | ||
| 535 | STATE-NUM when YYTABLE doesn't specify something else to do. Zero | ||
| 536 | means the default is an error. */ | ||
| 537 | static const yytype_uint8 yydefact[] = | ||
| 538 | { | ||
| 539 | 7, 0, 45, 0, 9, 0, 7, 0, 4, 1, | ||
| 540 | 0, 3, 8, 0, 0, 4, 0, 15, 13, 11, | ||
| 541 | 12, 0, 2, 5, 0, 40, 0, 0, 0, 16, | ||
| 542 | 0, 40, 0, 0, 6, 0, 42, 41, 0, 10, | ||
| 543 | 14, 18, 26, 43, 0, 0, 25, 17, 27, 19, | ||
| 544 | 28, 22, 0, 29, 37, 0, 33, 0, 0, 35, | ||
| 545 | 34, 32, 31, 20, 0, 30, 38, 39, 21, 0, | ||
| 546 | 24, 36, 0, 0, 0, 23 | ||
| 547 | }; | ||
| 548 | |||
| 549 | /* YYDEFGOTO[NTERM-NUM]. */ | ||
| 550 | static const yytype_int8 yydefgoto[] = | ||
| 551 | { | ||
| 552 | -1, 3, 14, 4, 5, 6, 27, 11, 18, 25, | ||
| 553 | 29, 44, 45, 56, 64, 65, 57, 30, 31, 7 | ||
| 554 | }; | ||
| 555 | |||
| 556 | /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing | ||
| 557 | STATE-NUM. */ | ||
| 558 | #define YYPACT_NINF -14 | ||
| 559 | static const yytype_int8 yypact[] = | ||
| 560 | { | ||
| 561 | 30, -11, -14, 7, -14, -1, 27, 13, 27, -14, | ||
| 562 | 8, -14, -14, 40, -1, 27, 35, -14, -14, -14, | ||
| 563 | -14, 21, -14, -14, 40, 24, 40, 28, 40, -14, | ||
| 564 | 32, 24, 46, 38, -14, 39, -14, -14, 26, -14, | ||
| 565 | -14, -14, -14, -14, -9, 10, -14, -14, -14, -14, | ||
| 566 | -14, -14, 31, -14, -14, 44, -2, 3, 23, -14, | ||
| 567 | -14, -14, -14, -14, 50, -14, -14, -14, -14, 40, | ||
| 568 | -14, -14, 33, 40, 36, -14 | ||
| 569 | }; | ||
| 570 | |||
| 571 | /* YYPGOTO[NTERM-NUM]. */ | ||
| 572 | static const yytype_int8 yypgoto[] = | ||
| 573 | { | ||
| 574 | -14, -14, 48, 29, 53, -14, -13, 47, 34, -14, | ||
| 575 | 37, -14, -14, -14, -14, -14, -14, 42, -14, -7 | ||
| 576 | }; | ||
| 577 | |||
| 578 | /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If | ||
| 579 | positive, shift that token. If negative, reduce the rule which | ||
| 580 | number is the opposite. If zero, do what YYDEFACT says. | ||
| 581 | If YYTABLE_NINF, syntax error. */ | ||
| 582 | #define YYTABLE_NINF -45 | ||
| 583 | static const yytype_int8 yytable[] = | ||
| 584 | { | ||
| 585 | 21, 16, 46, 8, 59, 47, 60, 9, 16, 61, | ||
| 586 | 62, 28, 66, 33, 67, 10, 48, 13, 32, 63, | ||
| 587 | 49, 50, 51, 52, 32, 17, 68, 19, 20, -44, | ||
| 588 | 53, -44, 54, 1, -44, 2, 26, 15, 2, 24, | ||
| 589 | 41, 2, 34, 17, 15, 42, 19, 20, 69, 70, | ||
| 590 | 35, 38, 39, 40, 58, 55, 72, 71, 73, 12, | ||
| 591 | 74, 22, 75, 23, 0, 0, 0, 0, 36, 0, | ||
| 592 | 0, 0, 43, 37 | ||
| 593 | }; | ||
| 594 | |||
| 595 | static const yytype_int8 yycheck[] = | ||
| 596 | { | ||
| 597 | 13, 8, 11, 14, 6, 14, 8, 0, 15, 11, | ||
| 598 | 12, 24, 9, 26, 11, 16, 25, 4, 25, 21, | ||
| 599 | 10, 11, 12, 13, 31, 17, 23, 6, 7, 5, | ||
| 600 | 20, 4, 22, 3, 4, 11, 15, 8, 11, 4, | ||
| 601 | 14, 11, 14, 17, 15, 19, 6, 7, 25, 26, | ||
| 602 | 18, 5, 14, 14, 10, 24, 69, 7, 25, 6, | ||
| 603 | 73, 14, 26, 15, -1, -1, -1, -1, 31, -1, | ||
| 604 | -1, -1, 38, 31 | ||
| 605 | }; | ||
| 606 | |||
| 607 | /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing | ||
| 608 | symbol of state STATE-NUM. */ | ||
| 609 | static const yytype_uint8 yystos[] = | ||
| 610 | { | ||
| 611 | 0, 3, 11, 28, 30, 31, 32, 46, 14, 0, | ||
| 612 | 16, 34, 31, 4, 29, 30, 46, 17, 35, 6, | ||
| 613 | 7, 33, 34, 29, 4, 36, 15, 33, 33, 37, | ||
| 614 | 44, 45, 46, 33, 14, 18, 37, 44, 5, 14, | ||
| 615 | 14, 14, 19, 35, 38, 39, 11, 14, 25, 10, | ||
| 616 | 11, 12, 13, 20, 22, 24, 40, 43, 10, 6, | ||
| 617 | 8, 11, 12, 21, 41, 42, 9, 11, 23, 25, | ||
| 618 | 26, 7, 33, 25, 33, 26 | ||
| 619 | }; | ||
| 620 | |||
| 621 | #define yyerrok (yyerrstatus = 0) | ||
| 622 | #define yyclearin (yychar = YYEMPTY) | ||
| 623 | #define YYEMPTY (-2) | ||
| 624 | #define YYEOF 0 | ||
| 625 | |||
| 626 | #define YYACCEPT goto yyacceptlab | ||
| 627 | #define YYABORT goto yyabortlab | ||
| 628 | #define YYERROR goto yyerrorlab | ||
| 629 | |||
| 630 | |||
| 631 | /* Like YYERROR except do call yyerror. This remains here temporarily | ||
| 632 | to ease the transition to the new meaning of YYERROR, for GCC. | ||
| 633 | Once GCC version 2 has supplanted version 1, this can go. */ | ||
| 634 | |||
| 635 | #define YYFAIL goto yyerrlab | ||
| 636 | |||
| 637 | #define YYRECOVERING() (!!yyerrstatus) | ||
| 638 | |||
| 639 | #define YYBACKUP(Token, Value) \ | ||
| 640 | do \ | ||
| 641 | if (yychar == YYEMPTY && yylen == 1) \ | ||
| 642 | { \ | ||
| 643 | yychar = (Token); \ | ||
| 644 | yylval = (Value); \ | ||
| 645 | yytoken = YYTRANSLATE (yychar); \ | ||
| 646 | YYPOPSTACK (1); \ | ||
| 647 | goto yybackup; \ | ||
| 648 | } \ | ||
| 649 | else \ | ||
| 650 | { \ | ||
| 651 | yyerror (YY_("syntax error: cannot back up")); \ | ||
| 652 | YYERROR; \ | ||
| 653 | } \ | ||
| 654 | while (YYID (0)) | ||
| 655 | |||
| 656 | |||
| 657 | #define YYTERROR 1 | ||
| 658 | #define YYERRCODE 256 | ||
| 659 | |||
| 660 | |||
| 661 | /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. | ||
| 662 | If N is 0, then set CURRENT to the empty location which ends | ||
| 663 | the previous symbol: RHS[0] (always defined). */ | ||
| 664 | |||
| 665 | #define YYRHSLOC(Rhs, K) ((Rhs)[K]) | ||
| 666 | #ifndef YYLLOC_DEFAULT | ||
| 667 | # define YYLLOC_DEFAULT(Current, Rhs, N) \ | ||
| 668 | do \ | ||
| 669 | if (YYID (N)) \ | ||
| 670 | { \ | ||
| 671 | (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ | ||
| 672 | (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ | ||
| 673 | (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ | ||
| 674 | (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ | ||
| 675 | } \ | ||
| 676 | else \ | ||
| 677 | { \ | ||
| 678 | (Current).first_line = (Current).last_line = \ | ||
| 679 | YYRHSLOC (Rhs, 0).last_line; \ | ||
| 680 | (Current).first_column = (Current).last_column = \ | ||
| 681 | YYRHSLOC (Rhs, 0).last_column; \ | ||
| 682 | } \ | ||
| 683 | while (YYID (0)) | ||
| 684 | #endif | ||
| 685 | |||
| 686 | |||
| 687 | /* YY_LOCATION_PRINT -- Print the location on the stream. | ||
| 688 | This macro was not mandated originally: define only if we know | ||
| 689 | we won't break user code: when these are the locations we know. */ | ||
| 690 | |||
| 691 | #ifndef YY_LOCATION_PRINT | ||
| 692 | # if YYLTYPE_IS_TRIVIAL | ||
| 693 | # define YY_LOCATION_PRINT(File, Loc) \ | ||
| 694 | fprintf (File, "%d.%d-%d.%d", \ | ||
| 695 | (Loc).first_line, (Loc).first_column, \ | ||
| 696 | (Loc).last_line, (Loc).last_column) | ||
| 697 | # else | ||
| 698 | # define YY_LOCATION_PRINT(File, Loc) ((void) 0) | ||
| 699 | # endif | ||
| 700 | #endif | ||
| 701 | |||
| 702 | |||
| 703 | /* YYLEX -- calling `yylex' with the right arguments. */ | ||
| 704 | |||
| 705 | #ifdef YYLEX_PARAM | ||
| 706 | # define YYLEX yylex (YYLEX_PARAM) | ||
| 707 | #else | ||
| 708 | # define YYLEX yylex () | ||
| 709 | #endif | ||
| 710 | |||
| 711 | /* Enable debugging if requested. */ | ||
| 712 | #if YYDEBUG | ||
| 713 | |||
| 714 | # ifndef YYFPRINTF | ||
| 715 | # include <stdio.h> /* INFRINGES ON USER NAME SPACE */ | ||
| 716 | # define YYFPRINTF fprintf | ||
| 717 | # endif | ||
| 718 | |||
| 719 | # define YYDPRINTF(Args) \ | ||
| 720 | do { \ | ||
| 721 | if (yydebug) \ | ||
| 722 | YYFPRINTF Args; \ | ||
| 723 | } while (YYID (0)) | ||
| 724 | |||
| 725 | # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ | ||
| 726 | do { \ | ||
| 727 | if (yydebug) \ | ||
| 728 | { \ | ||
| 729 | YYFPRINTF (stderr, "%s ", Title); \ | ||
| 730 | yy_symbol_print (stderr, \ | ||
| 731 | Type, Value, Location); \ | ||
| 732 | YYFPRINTF (stderr, "\n"); \ | ||
| 733 | } \ | ||
| 734 | } while (YYID (0)) | ||
| 735 | |||
| 736 | |||
| 737 | /*--------------------------------. | ||
| 738 | | Print this symbol on YYOUTPUT. | | ||
| 739 | `--------------------------------*/ | ||
| 740 | |||
| 741 | /*ARGSUSED*/ | ||
| 742 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 743 | || defined __cplusplus || defined _MSC_VER) | ||
| 744 | static void | ||
| 745 | yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp) | ||
| 746 | #else | ||
| 747 | static void | ||
| 748 | yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp) | ||
| 749 | FILE *yyoutput; | ||
| 750 | int yytype; | ||
| 751 | YYSTYPE const * const yyvaluep; | ||
| 752 | YYLTYPE const * const yylocationp; | ||
| 753 | #endif | ||
| 754 | { | ||
| 755 | if (!yyvaluep) | ||
| 756 | return; | ||
| 757 | YYUSE (yylocationp); | ||
| 758 | # ifdef YYPRINT | ||
| 759 | if (yytype < YYNTOKENS) | ||
| 760 | YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); | ||
| 761 | # else | ||
| 762 | YYUSE (yyoutput); | ||
| 763 | # endif | ||
| 764 | switch (yytype) | ||
| 765 | { | ||
| 766 | default: | ||
| 767 | break; | ||
| 768 | } | ||
| 769 | } | ||
| 770 | |||
| 771 | |||
| 772 | /*--------------------------------. | ||
| 773 | | Print this symbol on YYOUTPUT. | | ||
| 774 | `--------------------------------*/ | ||
| 775 | |||
| 776 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 777 | || defined __cplusplus || defined _MSC_VER) | ||
| 778 | static void | ||
| 779 | yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp) | ||
| 780 | #else | ||
| 781 | static void | ||
| 782 | yy_symbol_print (yyoutput, yytype, yyvaluep, yylocationp) | ||
| 783 | FILE *yyoutput; | ||
| 784 | int yytype; | ||
| 785 | YYSTYPE const * const yyvaluep; | ||
| 786 | YYLTYPE const * const yylocationp; | ||
| 787 | #endif | ||
| 788 | { | ||
| 789 | if (yytype < YYNTOKENS) | ||
| 790 | YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); | ||
| 791 | else | ||
| 792 | YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); | ||
| 793 | |||
| 794 | YY_LOCATION_PRINT (yyoutput, *yylocationp); | ||
| 795 | YYFPRINTF (yyoutput, ": "); | ||
| 796 | yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp); | ||
| 797 | YYFPRINTF (yyoutput, ")"); | ||
| 798 | } | ||
| 799 | |||
| 800 | /*------------------------------------------------------------------. | ||
| 801 | | yy_stack_print -- Print the state stack from its BOTTOM up to its | | ||
| 802 | | TOP (included). | | ||
| 803 | `------------------------------------------------------------------*/ | ||
| 804 | |||
| 805 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 806 | || defined __cplusplus || defined _MSC_VER) | ||
| 807 | static void | ||
| 808 | yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) | ||
| 809 | #else | ||
| 810 | static void | ||
| 811 | yy_stack_print (bottom, top) | ||
| 812 | yytype_int16 *bottom; | ||
| 813 | yytype_int16 *top; | ||
| 814 | #endif | ||
| 815 | { | ||
| 816 | YYFPRINTF (stderr, "Stack now"); | ||
| 817 | for (; bottom <= top; ++bottom) | ||
| 818 | YYFPRINTF (stderr, " %d", *bottom); | ||
| 819 | YYFPRINTF (stderr, "\n"); | ||
| 820 | } | ||
| 821 | |||
| 822 | # define YY_STACK_PRINT(Bottom, Top) \ | ||
| 823 | do { \ | ||
| 824 | if (yydebug) \ | ||
| 825 | yy_stack_print ((Bottom), (Top)); \ | ||
| 826 | } while (YYID (0)) | ||
| 827 | |||
| 828 | |||
| 829 | /*------------------------------------------------. | ||
| 830 | | Report that the YYRULE is going to be reduced. | | ||
| 831 | `------------------------------------------------*/ | ||
| 832 | |||
| 833 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 834 | || defined __cplusplus || defined _MSC_VER) | ||
| 835 | static void | ||
| 836 | yy_reduce_print (YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule) | ||
| 837 | #else | ||
| 838 | static void | ||
| 839 | yy_reduce_print (yyvsp, yylsp, yyrule) | ||
| 840 | YYSTYPE *yyvsp; | ||
| 841 | YYLTYPE *yylsp; | ||
| 842 | int yyrule; | ||
| 843 | #endif | ||
| 844 | { | ||
| 845 | int yynrhs = yyr2[yyrule]; | ||
| 846 | int yyi; | ||
| 847 | unsigned long int yylno = yyrline[yyrule]; | ||
| 848 | YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", | ||
| 849 | yyrule - 1, yylno); | ||
| 850 | /* The symbols being reduced. */ | ||
| 851 | for (yyi = 0; yyi < yynrhs; yyi++) | ||
| 852 | { | ||
| 853 | fprintf (stderr, " $%d = ", yyi + 1); | ||
| 854 | yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], | ||
| 855 | &(yyvsp[(yyi + 1) - (yynrhs)]) | ||
| 856 | , &(yylsp[(yyi + 1) - (yynrhs)]) ); | ||
| 857 | fprintf (stderr, "\n"); | ||
| 858 | } | ||
| 859 | } | ||
| 860 | |||
| 861 | # define YY_REDUCE_PRINT(Rule) \ | ||
| 862 | do { \ | ||
| 863 | if (yydebug) \ | ||
| 864 | yy_reduce_print (yyvsp, yylsp, Rule); \ | ||
| 865 | } while (YYID (0)) | ||
| 866 | |||
| 867 | /* Nonzero means print parse trace. It is left uninitialized so that | ||
| 868 | multiple parsers can coexist. */ | ||
| 869 | int yydebug; | ||
| 870 | #else /* !YYDEBUG */ | ||
| 871 | # define YYDPRINTF(Args) | ||
| 872 | # define YY_SYMBOL_PRINT(Title, Type, Value, Location) | ||
| 873 | # define YY_STACK_PRINT(Bottom, Top) | ||
| 874 | # define YY_REDUCE_PRINT(Rule) | ||
| 875 | #endif /* !YYDEBUG */ | ||
| 876 | |||
| 877 | |||
| 878 | /* YYINITDEPTH -- initial size of the parser's stacks. */ | ||
| 879 | #ifndef YYINITDEPTH | ||
| 880 | # define YYINITDEPTH 200 | ||
| 881 | #endif | ||
| 882 | |||
| 883 | /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only | ||
| 884 | if the built-in stack extension method is used). | ||
| 885 | |||
| 886 | Do not make this value too large; the results are undefined if | ||
| 887 | YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) | ||
| 888 | evaluated with infinite-precision integer arithmetic. */ | ||
| 889 | |||
| 890 | #ifndef YYMAXDEPTH | ||
| 891 | # define YYMAXDEPTH 10000 | ||
| 892 | #endif | ||
| 893 | |||
| 894 | |||
| 895 | |||
| 896 | #if YYERROR_VERBOSE | ||
| 897 | |||
| 898 | # ifndef yystrlen | ||
| 899 | # if defined __GLIBC__ && defined _STRING_H | ||
| 900 | # define yystrlen strlen | ||
| 901 | # else | ||
| 902 | /* Return the length of YYSTR. */ | ||
| 903 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 904 | || defined __cplusplus || defined _MSC_VER) | ||
| 905 | static YYSIZE_T | ||
| 906 | yystrlen (const char *yystr) | ||
| 907 | #else | ||
| 908 | static YYSIZE_T | ||
| 909 | yystrlen (yystr) | ||
| 910 | const char *yystr; | ||
| 911 | #endif | ||
| 912 | { | ||
| 913 | YYSIZE_T yylen; | ||
| 914 | for (yylen = 0; yystr[yylen]; yylen++) | ||
| 915 | continue; | ||
| 916 | return yylen; | ||
| 917 | } | ||
| 918 | # endif | ||
| 919 | # endif | ||
| 920 | |||
| 921 | # ifndef yystpcpy | ||
| 922 | # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE | ||
| 923 | # define yystpcpy stpcpy | ||
| 924 | # else | ||
| 925 | /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in | ||
| 926 | YYDEST. */ | ||
| 927 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 928 | || defined __cplusplus || defined _MSC_VER) | ||
| 929 | static char * | ||
| 930 | yystpcpy (char *yydest, const char *yysrc) | ||
| 931 | #else | ||
| 932 | static char * | ||
| 933 | yystpcpy (yydest, yysrc) | ||
| 934 | char *yydest; | ||
| 935 | const char *yysrc; | ||
| 936 | #endif | ||
| 937 | { | ||
| 938 | char *yyd = yydest; | ||
| 939 | const char *yys = yysrc; | ||
| 940 | |||
| 941 | while ((*yyd++ = *yys++) != '\0') | ||
| 942 | continue; | ||
| 943 | |||
| 944 | return yyd - 1; | ||
| 945 | } | ||
| 946 | # endif | ||
| 947 | # endif | ||
| 948 | |||
| 949 | # ifndef yytnamerr | ||
| 950 | /* Copy to YYRES the contents of YYSTR after stripping away unnecessary | ||
| 951 | quotes and backslashes, so that it's suitable for yyerror. The | ||
| 952 | heuristic is that double-quoting is unnecessary unless the string | ||
| 953 | contains an apostrophe, a comma, or backslash (other than | ||
| 954 | backslash-backslash). YYSTR is taken from yytname. If YYRES is | ||
| 955 | null, do not copy; instead, return the length of what the result | ||
| 956 | would have been. */ | ||
| 957 | static YYSIZE_T | ||
| 958 | yytnamerr (char *yyres, const char *yystr) | ||
| 959 | { | ||
| 960 | if (*yystr == '"') | ||
| 961 | { | ||
| 962 | YYSIZE_T yyn = 0; | ||
| 963 | char const *yyp = yystr; | ||
| 964 | |||
| 965 | for (;;) | ||
| 966 | switch (*++yyp) | ||
| 967 | { | ||
| 968 | case '\'': | ||
| 969 | case ',': | ||
| 970 | goto do_not_strip_quotes; | ||
| 971 | |||
| 972 | case '\\': | ||
| 973 | if (*++yyp != '\\') | ||
| 974 | goto do_not_strip_quotes; | ||
| 975 | /* Fall through. */ | ||
| 976 | default: | ||
| 977 | if (yyres) | ||
| 978 | yyres[yyn] = *yyp; | ||
| 979 | yyn++; | ||
| 980 | break; | ||
| 981 | |||
| 982 | case '"': | ||
| 983 | if (yyres) | ||
| 984 | yyres[yyn] = '\0'; | ||
| 985 | return yyn; | ||
| 986 | } | ||
| 987 | do_not_strip_quotes: ; | ||
| 988 | } | ||
| 989 | |||
| 990 | if (! yyres) | ||
| 991 | return yystrlen (yystr); | ||
| 992 | |||
| 993 | return yystpcpy (yyres, yystr) - yyres; | ||
| 994 | } | ||
| 995 | # endif | ||
| 996 | |||
| 997 | /* Copy into YYRESULT an error message about the unexpected token | ||
| 998 | YYCHAR while in state YYSTATE. Return the number of bytes copied, | ||
| 999 | including the terminating null byte. If YYRESULT is null, do not | ||
| 1000 | copy anything; just return the number of bytes that would be | ||
| 1001 | copied. As a special case, return 0 if an ordinary "syntax error" | ||
| 1002 | message will do. Return YYSIZE_MAXIMUM if overflow occurs during | ||
| 1003 | size calculation. */ | ||
| 1004 | static YYSIZE_T | ||
| 1005 | yysyntax_error (char *yyresult, int yystate, int yychar) | ||
| 1006 | { | ||
| 1007 | int yyn = yypact[yystate]; | ||
| 1008 | |||
| 1009 | if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) | ||
| 1010 | return 0; | ||
| 1011 | else | ||
| 1012 | { | ||
| 1013 | int yytype = YYTRANSLATE (yychar); | ||
| 1014 | YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); | ||
| 1015 | YYSIZE_T yysize = yysize0; | ||
| 1016 | YYSIZE_T yysize1; | ||
| 1017 | int yysize_overflow = 0; | ||
| 1018 | enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; | ||
| 1019 | char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; | ||
| 1020 | int yyx; | ||
| 1021 | |||
| 1022 | # if 0 | ||
| 1023 | /* This is so xgettext sees the translatable formats that are | ||
| 1024 | constructed on the fly. */ | ||
| 1025 | YY_("syntax error, unexpected %s"); | ||
| 1026 | YY_("syntax error, unexpected %s, expecting %s"); | ||
| 1027 | YY_("syntax error, unexpected %s, expecting %s or %s"); | ||
| 1028 | YY_("syntax error, unexpected %s, expecting %s or %s or %s"); | ||
| 1029 | YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); | ||
| 1030 | # endif | ||
| 1031 | char *yyfmt; | ||
| 1032 | char const *yyf; | ||
| 1033 | static char const yyunexpected[] = "syntax error, unexpected %s"; | ||
| 1034 | static char const yyexpecting[] = ", expecting %s"; | ||
| 1035 | static char const yyor[] = " or %s"; | ||
| 1036 | char yyformat[sizeof yyunexpected | ||
| 1037 | + sizeof yyexpecting - 1 | ||
| 1038 | + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) | ||
| 1039 | * (sizeof yyor - 1))]; | ||
| 1040 | char const *yyprefix = yyexpecting; | ||
| 1041 | |||
| 1042 | /* Start YYX at -YYN if negative to avoid negative indexes in | ||
| 1043 | YYCHECK. */ | ||
| 1044 | int yyxbegin = yyn < 0 ? -yyn : 0; | ||
| 1045 | |||
| 1046 | /* Stay within bounds of both yycheck and yytname. */ | ||
| 1047 | int yychecklim = YYLAST - yyn + 1; | ||
| 1048 | int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; | ||
| 1049 | int yycount = 1; | ||
| 1050 | |||
| 1051 | yyarg[0] = yytname[yytype]; | ||
| 1052 | yyfmt = yystpcpy (yyformat, yyunexpected); | ||
| 1053 | |||
| 1054 | for (yyx = yyxbegin; yyx < yyxend; ++yyx) | ||
| 1055 | if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) | ||
| 1056 | { | ||
| 1057 | if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) | ||
| 1058 | { | ||
| 1059 | yycount = 1; | ||
| 1060 | yysize = yysize0; | ||
| 1061 | yyformat[sizeof yyunexpected - 1] = '\0'; | ||
| 1062 | break; | ||
| 1063 | } | ||
| 1064 | yyarg[yycount++] = yytname[yyx]; | ||
| 1065 | yysize1 = yysize + yytnamerr (0, yytname[yyx]); | ||
| 1066 | yysize_overflow |= (yysize1 < yysize); | ||
| 1067 | yysize = yysize1; | ||
| 1068 | yyfmt = yystpcpy (yyfmt, yyprefix); | ||
| 1069 | yyprefix = yyor; | ||
| 1070 | } | ||
| 1071 | |||
| 1072 | yyf = YY_(yyformat); | ||
| 1073 | yysize1 = yysize + yystrlen (yyf); | ||
| 1074 | yysize_overflow |= (yysize1 < yysize); | ||
| 1075 | yysize = yysize1; | ||
| 1076 | |||
| 1077 | if (yysize_overflow) | ||
| 1078 | return YYSIZE_MAXIMUM; | ||
| 1079 | |||
| 1080 | if (yyresult) | ||
| 1081 | { | ||
| 1082 | /* Avoid sprintf, as that infringes on the user's name space. | ||
| 1083 | Don't have undefined behavior even if the translation | ||
| 1084 | produced a string with the wrong number of "%s"s. */ | ||
| 1085 | char *yyp = yyresult; | ||
| 1086 | int yyi = 0; | ||
| 1087 | while ((*yyp = *yyf) != '\0') | ||
| 1088 | { | ||
| 1089 | if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) | ||
| 1090 | { | ||
| 1091 | yyp += yytnamerr (yyp, yyarg[yyi++]); | ||
| 1092 | yyf += 2; | ||
| 1093 | } | ||
| 1094 | else | ||
| 1095 | { | ||
| 1096 | yyp++; | ||
| 1097 | yyf++; | ||
| 1098 | } | ||
| 1099 | } | ||
| 1100 | } | ||
| 1101 | return yysize; | ||
| 1102 | } | ||
| 1103 | } | ||
| 1104 | #endif /* YYERROR_VERBOSE */ | ||
| 1105 | |||
| 1106 | |||
| 1107 | /*-----------------------------------------------. | ||
| 1108 | | Release the memory associated to this symbol. | | ||
| 1109 | `-----------------------------------------------*/ | ||
| 1110 | |||
| 1111 | /*ARGSUSED*/ | ||
| 1112 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 1113 | || defined __cplusplus || defined _MSC_VER) | ||
| 1114 | static void | ||
| 1115 | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp) | ||
| 1116 | #else | ||
| 1117 | static void | ||
| 1118 | yydestruct (yymsg, yytype, yyvaluep, yylocationp) | ||
| 1119 | const char *yymsg; | ||
| 1120 | int yytype; | ||
| 1121 | YYSTYPE *yyvaluep; | ||
| 1122 | YYLTYPE *yylocationp; | ||
| 1123 | #endif | ||
| 1124 | { | ||
| 1125 | YYUSE (yyvaluep); | ||
| 1126 | YYUSE (yylocationp); | ||
| 1127 | |||
| 1128 | if (!yymsg) | ||
| 1129 | yymsg = "Deleting"; | ||
| 1130 | YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); | ||
| 1131 | |||
| 1132 | switch (yytype) | ||
| 1133 | { | ||
| 1134 | |||
| 1135 | default: | ||
| 1136 | break; | ||
| 1137 | } | ||
| 1138 | } | ||
| 1139 | |||
| 1140 | |||
| 1141 | /* Prevent warnings from -Wmissing-prototypes. */ | ||
| 1142 | |||
| 1143 | #ifdef YYPARSE_PARAM | ||
| 1144 | #if defined __STDC__ || defined __cplusplus | ||
| 1145 | int yyparse (void *YYPARSE_PARAM); | ||
| 1146 | #else | ||
| 1147 | int yyparse (); | ||
| 1148 | #endif | ||
| 1149 | #else /* ! YYPARSE_PARAM */ | ||
| 1150 | #if defined __STDC__ || defined __cplusplus | ||
| 1151 | int yyparse (void); | ||
| 1152 | #else | ||
| 1153 | int yyparse (); | ||
| 1154 | #endif | ||
| 1155 | #endif /* ! YYPARSE_PARAM */ | ||
| 1156 | |||
| 1157 | |||
| 1158 | |||
| 1159 | /* The look-ahead symbol. */ | ||
| 1160 | int yychar; | ||
| 1161 | |||
| 1162 | /* The semantic value of the look-ahead symbol. */ | ||
| 1163 | YYSTYPE yylval; | ||
| 1164 | |||
| 1165 | /* Number of syntax errors so far. */ | ||
| 1166 | int yynerrs; | ||
| 1167 | /* Location data for the look-ahead symbol. */ | ||
| 1168 | YYLTYPE yylloc; | ||
| 1169 | |||
| 1170 | |||
| 1171 | |||
| 1172 | /*----------. | ||
| 1173 | | yyparse. | | ||
| 1174 | `----------*/ | ||
| 1175 | |||
| 1176 | #ifdef YYPARSE_PARAM | ||
| 1177 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 1178 | || defined __cplusplus || defined _MSC_VER) | ||
| 1179 | int | ||
| 1180 | yyparse (void *YYPARSE_PARAM) | ||
| 1181 | #else | ||
| 1182 | int | ||
| 1183 | yyparse (YYPARSE_PARAM) | ||
| 1184 | void *YYPARSE_PARAM; | ||
| 1185 | #endif | ||
| 1186 | #else /* ! YYPARSE_PARAM */ | ||
| 1187 | #if (defined __STDC__ || defined __C99__FUNC__ \ | ||
| 1188 | || defined __cplusplus || defined _MSC_VER) | ||
| 1189 | int | ||
| 1190 | yyparse (void) | ||
| 1191 | #else | ||
| 1192 | int | ||
| 1193 | yyparse () | ||
| 1194 | |||
| 1195 | #endif | ||
| 1196 | #endif | ||
| 1197 | { | ||
| 1198 | |||
| 1199 | int yystate; | ||
| 1200 | int yyn; | ||
| 1201 | int yyresult; | ||
| 1202 | /* Number of tokens to shift before error messages enabled. */ | ||
| 1203 | int yyerrstatus; | ||
| 1204 | /* Look-ahead token as an internal (translated) token number. */ | ||
| 1205 | int yytoken = 0; | ||
| 1206 | #if YYERROR_VERBOSE | ||
| 1207 | /* Buffer for error messages, and its allocated size. */ | ||
| 1208 | char yymsgbuf[128]; | ||
| 1209 | char *yymsg = yymsgbuf; | ||
| 1210 | YYSIZE_T yymsg_alloc = sizeof yymsgbuf; | ||
| 1211 | #endif | ||
| 1212 | |||
| 1213 | /* Three stacks and their tools: | ||
| 1214 | `yyss': related to states, | ||
| 1215 | `yyvs': related to semantic values, | ||
| 1216 | `yyls': related to locations. | ||
| 1217 | |||
| 1218 | Refer to the stacks thru separate pointers, to allow yyoverflow | ||
| 1219 | to reallocate them elsewhere. */ | ||
| 1220 | |||
| 1221 | /* The state stack. */ | ||
| 1222 | yytype_int16 yyssa[YYINITDEPTH]; | ||
| 1223 | yytype_int16 *yyss = yyssa; | ||
| 1224 | yytype_int16 *yyssp; | ||
| 1225 | |||
| 1226 | /* The semantic value stack. */ | ||
| 1227 | YYSTYPE yyvsa[YYINITDEPTH]; | ||
| 1228 | YYSTYPE *yyvs = yyvsa; | ||
| 1229 | YYSTYPE *yyvsp; | ||
| 1230 | |||
| 1231 | /* The location stack. */ | ||
| 1232 | YYLTYPE yylsa[YYINITDEPTH]; | ||
| 1233 | YYLTYPE *yyls = yylsa; | ||
| 1234 | YYLTYPE *yylsp; | ||
| 1235 | /* The locations where the error started and ended. */ | ||
| 1236 | YYLTYPE yyerror_range[2]; | ||
| 1237 | |||
| 1238 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) | ||
| 1239 | |||
| 1240 | YYSIZE_T yystacksize = YYINITDEPTH; | ||
| 1241 | |||
| 1242 | /* The variables used to return semantic value and location from the | ||
| 1243 | action routines. */ | ||
| 1244 | YYSTYPE yyval; | ||
| 1245 | YYLTYPE yyloc; | ||
| 1246 | |||
| 1247 | /* The number of symbols on the RHS of the reduced rule. | ||
| 1248 | Keep to zero when no symbol should be popped. */ | ||
| 1249 | int yylen = 0; | ||
| 1250 | |||
| 1251 | YYDPRINTF ((stderr, "Starting parse\n")); | ||
| 1252 | |||
| 1253 | yystate = 0; | ||
| 1254 | yyerrstatus = 0; | ||
| 1255 | yynerrs = 0; | ||
| 1256 | yychar = YYEMPTY; /* Cause a token to be read. */ | ||
| 1257 | |||
| 1258 | /* Initialize stack pointers. | ||
| 1259 | Waste one element of value and location stack | ||
| 1260 | so that they stay on the same level as the state stack. | ||
| 1261 | The wasted elements are never initialized. */ | ||
| 1262 | |||
| 1263 | yyssp = yyss; | ||
| 1264 | yyvsp = yyvs; | ||
| 1265 | yylsp = yyls; | ||
| 1266 | #if YYLTYPE_IS_TRIVIAL | ||
| 1267 | /* Initialize the default location before parsing starts. */ | ||
| 1268 | yylloc.first_line = yylloc.last_line = 1; | ||
| 1269 | yylloc.first_column = yylloc.last_column = 0; | ||
| 1270 | #endif | ||
| 1271 | |||
| 1272 | goto yysetstate; | ||
| 1273 | |||
| 1274 | /*------------------------------------------------------------. | ||
| 1275 | | yynewstate -- Push a new state, which is found in yystate. | | ||
| 1276 | `------------------------------------------------------------*/ | ||
| 1277 | yynewstate: | ||
| 1278 | /* In all cases, when you get here, the value and location stacks | ||
| 1279 | have just been pushed. So pushing a state here evens the stacks. */ | ||
| 1280 | yyssp++; | ||
| 1281 | |||
| 1282 | yysetstate: | ||
| 1283 | *yyssp = yystate; | ||
| 1284 | |||
| 1285 | if (yyss + yystacksize - 1 <= yyssp) | ||
| 1286 | { | ||
| 1287 | /* Get the current used size of the three stacks, in elements. */ | ||
| 1288 | YYSIZE_T yysize = yyssp - yyss + 1; | ||
| 1289 | |||
| 1290 | #ifdef yyoverflow | ||
| 1291 | { | ||
| 1292 | /* Give user a chance to reallocate the stack. Use copies of | ||
| 1293 | these so that the &'s don't force the real ones into | ||
| 1294 | memory. */ | ||
| 1295 | YYSTYPE *yyvs1 = yyvs; | ||
| 1296 | yytype_int16 *yyss1 = yyss; | ||
| 1297 | YYLTYPE *yyls1 = yyls; | ||
| 1298 | |||
| 1299 | /* Each stack pointer address is followed by the size of the | ||
| 1300 | data in use in that stack, in bytes. This used to be a | ||
| 1301 | conditional around just the two extra args, but that might | ||
| 1302 | be undefined if yyoverflow is a macro. */ | ||
| 1303 | yyoverflow (YY_("memory exhausted"), | ||
| 1304 | &yyss1, yysize * sizeof (*yyssp), | ||
| 1305 | &yyvs1, yysize * sizeof (*yyvsp), | ||
| 1306 | &yyls1, yysize * sizeof (*yylsp), | ||
| 1307 | &yystacksize); | ||
| 1308 | yyls = yyls1; | ||
| 1309 | yyss = yyss1; | ||
| 1310 | yyvs = yyvs1; | ||
| 1311 | } | ||
| 1312 | #else /* no yyoverflow */ | ||
| 1313 | # ifndef YYSTACK_RELOCATE | ||
| 1314 | goto yyexhaustedlab; | ||
| 1315 | # else | ||
| 1316 | /* Extend the stack our own way. */ | ||
| 1317 | if (YYMAXDEPTH <= yystacksize) | ||
| 1318 | goto yyexhaustedlab; | ||
| 1319 | yystacksize *= 2; | ||
| 1320 | if (YYMAXDEPTH < yystacksize) | ||
| 1321 | yystacksize = YYMAXDEPTH; | ||
| 1322 | |||
| 1323 | { | ||
| 1324 | yytype_int16 *yyss1 = yyss; | ||
| 1325 | union yyalloc *yyptr = | ||
| 1326 | (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); | ||
| 1327 | if (! yyptr) | ||
| 1328 | goto yyexhaustedlab; | ||
| 1329 | YYSTACK_RELOCATE (yyss); | ||
| 1330 | YYSTACK_RELOCATE (yyvs); | ||
| 1331 | YYSTACK_RELOCATE (yyls); | ||
| 1332 | # undef YYSTACK_RELOCATE | ||
| 1333 | if (yyss1 != yyssa) | ||
| 1334 | YYSTACK_FREE (yyss1); | ||
| 1335 | } | ||
| 1336 | # endif | ||
| 1337 | #endif /* no yyoverflow */ | ||
| 1338 | |||
| 1339 | yyssp = yyss + yysize - 1; | ||
| 1340 | yyvsp = yyvs + yysize - 1; | ||
| 1341 | yylsp = yyls + yysize - 1; | ||
| 1342 | |||
| 1343 | YYDPRINTF ((stderr, "Stack size increased to %lu\n", | ||
| 1344 | (unsigned long int) yystacksize)); | ||
| 1345 | |||
| 1346 | if (yyss + yystacksize - 1 <= yyssp) | ||
| 1347 | YYABORT; | ||
| 1348 | } | ||
| 1349 | |||
| 1350 | YYDPRINTF ((stderr, "Entering state %d\n", yystate)); | ||
| 1351 | |||
| 1352 | goto yybackup; | ||
| 1353 | |||
| 1354 | /*-----------. | ||
| 1355 | | yybackup. | | ||
| 1356 | `-----------*/ | ||
| 1357 | yybackup: | ||
| 1358 | |||
| 1359 | /* Do appropriate processing given the current state. Read a | ||
| 1360 | look-ahead token if we need one and don't already have one. */ | ||
| 1361 | |||
| 1362 | /* First try to decide what to do without reference to look-ahead token. */ | ||
| 1363 | yyn = yypact[yystate]; | ||
| 1364 | if (yyn == YYPACT_NINF) | ||
| 1365 | goto yydefault; | ||
| 1366 | |||
| 1367 | /* Not known => get a look-ahead token if don't already have one. */ | ||
| 1368 | |||
| 1369 | /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ | ||
| 1370 | if (yychar == YYEMPTY) | ||
| 1371 | { | ||
| 1372 | YYDPRINTF ((stderr, "Reading a token: ")); | ||
| 1373 | yychar = YYLEX; | ||
| 1374 | } | ||
| 1375 | |||
| 1376 | if (yychar <= YYEOF) | ||
| 1377 | { | ||
| 1378 | yychar = yytoken = YYEOF; | ||
| 1379 | YYDPRINTF ((stderr, "Now at end of input.\n")); | ||
| 1380 | } | ||
| 1381 | else | ||
| 1382 | { | ||
| 1383 | yytoken = YYTRANSLATE (yychar); | ||
| 1384 | YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); | ||
| 1385 | } | ||
| 1386 | |||
| 1387 | /* If the proper action on seeing token YYTOKEN is to reduce or to | ||
| 1388 | detect an error, take that action. */ | ||
| 1389 | yyn += yytoken; | ||
| 1390 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | ||
| 1391 | goto yydefault; | ||
| 1392 | yyn = yytable[yyn]; | ||
| 1393 | if (yyn <= 0) | ||
| 1394 | { | ||
| 1395 | if (yyn == 0 || yyn == YYTABLE_NINF) | ||
| 1396 | goto yyerrlab; | ||
| 1397 | yyn = -yyn; | ||
| 1398 | goto yyreduce; | ||
| 1399 | } | ||
| 1400 | |||
| 1401 | if (yyn == YYFINAL) | ||
| 1402 | YYACCEPT; | ||
| 1403 | |||
| 1404 | /* Count tokens shifted since error; after three, turn off error | ||
| 1405 | status. */ | ||
| 1406 | if (yyerrstatus) | ||
| 1407 | yyerrstatus--; | ||
| 1408 | |||
| 1409 | /* Shift the look-ahead token. */ | ||
| 1410 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | ||
| 1411 | |||
| 1412 | /* Discard the shifted token unless it is eof. */ | ||
| 1413 | if (yychar != YYEOF) | ||
| 1414 | yychar = YYEMPTY; | ||
| 1415 | |||
| 1416 | yystate = yyn; | ||
| 1417 | *++yyvsp = yylval; | ||
| 1418 | *++yylsp = yylloc; | ||
| 1419 | goto yynewstate; | ||
| 1420 | |||
| 1421 | |||
| 1422 | /*-----------------------------------------------------------. | ||
| 1423 | | yydefault -- do the default action for the current state. | | ||
| 1424 | `-----------------------------------------------------------*/ | ||
| 1425 | yydefault: | ||
| 1426 | yyn = yydefact[yystate]; | ||
| 1427 | if (yyn == 0) | ||
| 1428 | goto yyerrlab; | ||
| 1429 | goto yyreduce; | ||
| 1430 | |||
| 1431 | |||
| 1432 | /*-----------------------------. | ||
| 1433 | | yyreduce -- Do a reduction. | | ||
| 1434 | `-----------------------------*/ | ||
| 1435 | yyreduce: | ||
| 1436 | /* yyn is the number of a rule to reduce with. */ | ||
| 1437 | yylen = yyr2[yyn]; | ||
| 1438 | |||
| 1439 | /* If YYLEN is nonzero, implement the default value of the action: | ||
| 1440 | `$$ = $1'. | ||
| 1441 | |||
| 1442 | Otherwise, the following line sets YYVAL to garbage. | ||
| 1443 | This behavior is undocumented and Bison | ||
| 1444 | users should not rely upon it. Assigning to YYVAL | ||
| 1445 | unconditionally makes the parser a bit smaller, and it avoids a | ||
| 1446 | GCC warning that YYVAL may be used uninitialized. */ | ||
| 1447 | yyval = yyvsp[1-yylen]; | ||
| 1448 | |||
| 1449 | /* Default location. */ | ||
| 1450 | YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); | ||
| 1451 | YY_REDUCE_PRINT (yyn); | ||
| 1452 | switch (yyn) | ||
| 1453 | { | ||
| 1454 | case 2: | ||
| 1455 | #line 90 "dtc-parser.y" | ||
| 1456 | { | ||
| 1457 | the_boot_info = build_boot_info((yyvsp[(3) - (4)].re), (yyvsp[(4) - (4)].node), 0); | ||
| 1458 | ;} | ||
| 1459 | break; | ||
| 1460 | |||
| 1461 | case 3: | ||
| 1462 | #line 94 "dtc-parser.y" | ||
| 1463 | { | ||
| 1464 | the_boot_info = build_boot_info((yyvsp[(1) - (2)].re), (yyvsp[(2) - (2)].node), 0); | ||
| 1465 | ;} | ||
| 1466 | break; | ||
| 1467 | |||
| 1468 | case 4: | ||
| 1469 | #line 101 "dtc-parser.y" | ||
| 1470 | { | ||
| 1471 | (yyval.re) = NULL; | ||
| 1472 | ;} | ||
| 1473 | break; | ||
| 1474 | |||
| 1475 | case 5: | ||
| 1476 | #line 105 "dtc-parser.y" | ||
| 1477 | { | ||
| 1478 | (yyval.re) = chain_reserve_entry((yyvsp[(1) - (2)].re), (yyvsp[(2) - (2)].re)); | ||
| 1479 | ;} | ||
| 1480 | break; | ||
| 1481 | |||
| 1482 | case 6: | ||
| 1483 | #line 112 "dtc-parser.y" | ||
| 1484 | { | ||
| 1485 | (yyval.re) = build_reserve_entry((yyvsp[(3) - (5)].addr), (yyvsp[(4) - (5)].addr), (yyvsp[(1) - (5)].labelref)); | ||
| 1486 | ;} | ||
| 1487 | break; | ||
| 1488 | |||
| 1489 | case 7: | ||
| 1490 | #line 119 "dtc-parser.y" | ||
| 1491 | { | ||
| 1492 | (yyval.re) = NULL; | ||
| 1493 | ;} | ||
| 1494 | break; | ||
| 1495 | |||
| 1496 | case 8: | ||
| 1497 | #line 123 "dtc-parser.y" | ||
| 1498 | { | ||
| 1499 | (yyval.re) = chain_reserve_entry((yyvsp[(1) - (2)].re), (yyvsp[(2) - (2)].re)); | ||
| 1500 | ;} | ||
| 1501 | break; | ||
| 1502 | |||
| 1503 | case 9: | ||
| 1504 | #line 130 "dtc-parser.y" | ||
| 1505 | { | ||
| 1506 | (yyval.re) = (yyvsp[(1) - (1)].re); | ||
| 1507 | ;} | ||
| 1508 | break; | ||
| 1509 | |||
| 1510 | case 10: | ||
| 1511 | #line 134 "dtc-parser.y" | ||
| 1512 | { | ||
| 1513 | (yyval.re) = build_reserve_entry((yyvsp[(3) - (6)].addr), (yyvsp[(5) - (6)].addr) - (yyvsp[(3) - (6)].addr) + 1, (yyvsp[(1) - (6)].labelref)); | ||
| 1514 | ;} | ||
| 1515 | break; | ||
| 1516 | |||
| 1517 | case 11: | ||
| 1518 | #line 141 "dtc-parser.y" | ||
| 1519 | { | ||
| 1520 | (yyval.addr) = eval_literal((yyvsp[(1) - (1)].literal), 0, 64); | ||
| 1521 | ;} | ||
| 1522 | break; | ||
| 1523 | |||
| 1524 | case 12: | ||
| 1525 | #line 145 "dtc-parser.y" | ||
| 1526 | { | ||
| 1527 | (yyval.addr) = eval_literal((yyvsp[(1) - (1)].literal), 16, 64); | ||
| 1528 | ;} | ||
| 1529 | break; | ||
| 1530 | |||
| 1531 | case 13: | ||
| 1532 | #line 152 "dtc-parser.y" | ||
| 1533 | { | ||
| 1534 | (yyval.node) = name_node((yyvsp[(2) - (2)].node), "", NULL); | ||
| 1535 | ;} | ||
| 1536 | break; | ||
| 1537 | |||
| 1538 | case 14: | ||
| 1539 | #line 159 "dtc-parser.y" | ||
| 1540 | { | ||
| 1541 | (yyval.node) = build_node((yyvsp[(2) - (5)].proplist), (yyvsp[(3) - (5)].nodelist)); | ||
| 1542 | ;} | ||
| 1543 | break; | ||
| 1544 | |||
| 1545 | case 15: | ||
| 1546 | #line 166 "dtc-parser.y" | ||
| 1547 | { | ||
| 1548 | (yyval.proplist) = NULL; | ||
| 1549 | ;} | ||
| 1550 | break; | ||
| 1551 | |||
| 1552 | case 16: | ||
| 1553 | #line 170 "dtc-parser.y" | ||
| 1554 | { | ||
| 1555 | (yyval.proplist) = chain_property((yyvsp[(2) - (2)].prop), (yyvsp[(1) - (2)].proplist)); | ||
| 1556 | ;} | ||
| 1557 | break; | ||
| 1558 | |||
| 1559 | case 17: | ||
| 1560 | #line 177 "dtc-parser.y" | ||
| 1561 | { | ||
| 1562 | (yyval.prop) = build_property((yyvsp[(2) - (5)].propnodename), (yyvsp[(4) - (5)].data), (yyvsp[(1) - (5)].labelref)); | ||
| 1563 | ;} | ||
| 1564 | break; | ||
| 1565 | |||
| 1566 | case 18: | ||
| 1567 | #line 181 "dtc-parser.y" | ||
| 1568 | { | ||
| 1569 | (yyval.prop) = build_property((yyvsp[(2) - (3)].propnodename), empty_data, (yyvsp[(1) - (3)].labelref)); | ||
| 1570 | ;} | ||
| 1571 | break; | ||
| 1572 | |||
| 1573 | case 19: | ||
| 1574 | #line 188 "dtc-parser.y" | ||
| 1575 | { | ||
| 1576 | (yyval.data) = data_merge((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].data)); | ||
| 1577 | ;} | ||
| 1578 | break; | ||
| 1579 | |||
| 1580 | case 20: | ||
| 1581 | #line 192 "dtc-parser.y" | ||
| 1582 | { | ||
| 1583 | (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data)); | ||
| 1584 | ;} | ||
| 1585 | break; | ||
| 1586 | |||
| 1587 | case 21: | ||
| 1588 | #line 196 "dtc-parser.y" | ||
| 1589 | { | ||
| 1590 | (yyval.data) = data_merge((yyvsp[(1) - (4)].data), (yyvsp[(3) - (4)].data)); | ||
| 1591 | ;} | ||
| 1592 | break; | ||
| 1593 | |||
| 1594 | case 22: | ||
| 1595 | #line 200 "dtc-parser.y" | ||
| 1596 | { | ||
| 1597 | (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), REF_PATH, (yyvsp[(2) - (2)].labelref)); | ||
| 1598 | ;} | ||
| 1599 | break; | ||
| 1600 | |||
| 1601 | case 23: | ||
| 1602 | #line 204 "dtc-parser.y" | ||
| 1603 | { | ||
| 1604 | struct search_path path = { srcpos_file->dir, NULL, NULL }; | ||
| 1605 | struct dtc_file *file = dtc_open_file((yyvsp[(4) - (9)].data).val, &path); | ||
| 1606 | struct data d = empty_data; | ||
| 1607 | |||
| 1608 | if ((yyvsp[(6) - (9)].addr) != 0) | ||
| 1609 | if (fseek(file->file, (yyvsp[(6) - (9)].addr), SEEK_SET) != 0) | ||
| 1610 | yyerrorf("Couldn't seek to offset %llu in \"%s\": %s", | ||
| 1611 | (unsigned long long)(yyvsp[(6) - (9)].addr), | ||
| 1612 | (yyvsp[(4) - (9)].data).val, strerror(errno)); | ||
| 1613 | |||
| 1614 | d = data_copy_file(file->file, (yyvsp[(8) - (9)].addr)); | ||
| 1615 | |||
| 1616 | (yyval.data) = data_merge((yyvsp[(1) - (9)].data), d); | ||
| 1617 | dtc_close_file(file); | ||
| 1618 | ;} | ||
| 1619 | break; | ||
| 1620 | |||
| 1621 | case 24: | ||
| 1622 | #line 221 "dtc-parser.y" | ||
| 1623 | { | ||
| 1624 | struct search_path path = { srcpos_file->dir, NULL, NULL }; | ||
| 1625 | struct dtc_file *file = dtc_open_file((yyvsp[(4) - (5)].data).val, &path); | ||
| 1626 | struct data d = empty_data; | ||
| 1627 | |||
| 1628 | d = data_copy_file(file->file, -1); | ||
| 1629 | |||
| 1630 | (yyval.data) = data_merge((yyvsp[(1) - (5)].data), d); | ||
| 1631 | dtc_close_file(file); | ||
| 1632 | ;} | ||
| 1633 | break; | ||
| 1634 | |||
| 1635 | case 25: | ||
| 1636 | #line 232 "dtc-parser.y" | ||
| 1637 | { | ||
| 1638 | (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); | ||
| 1639 | ;} | ||
| 1640 | break; | ||
| 1641 | |||
| 1642 | case 26: | ||
| 1643 | #line 239 "dtc-parser.y" | ||
| 1644 | { | ||
| 1645 | (yyval.data) = empty_data; | ||
| 1646 | ;} | ||
| 1647 | break; | ||
| 1648 | |||
| 1649 | case 27: | ||
| 1650 | #line 243 "dtc-parser.y" | ||
| 1651 | { | ||
| 1652 | (yyval.data) = (yyvsp[(1) - (2)].data); | ||
| 1653 | ;} | ||
| 1654 | break; | ||
| 1655 | |||
| 1656 | case 28: | ||
| 1657 | #line 247 "dtc-parser.y" | ||
| 1658 | { | ||
| 1659 | (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); | ||
| 1660 | ;} | ||
| 1661 | break; | ||
| 1662 | |||
| 1663 | case 29: | ||
| 1664 | #line 254 "dtc-parser.y" | ||
| 1665 | { | ||
| 1666 | (yyval.data) = empty_data; | ||
| 1667 | ;} | ||
| 1668 | break; | ||
| 1669 | |||
| 1670 | case 30: | ||
| 1671 | #line 258 "dtc-parser.y" | ||
| 1672 | { | ||
| 1673 | (yyval.data) = data_append_cell((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].cell)); | ||
| 1674 | ;} | ||
| 1675 | break; | ||
| 1676 | |||
| 1677 | case 31: | ||
| 1678 | #line 262 "dtc-parser.y" | ||
| 1679 | { | ||
| 1680 | (yyval.data) = data_append_cell(data_add_marker((yyvsp[(1) - (2)].data), REF_PHANDLE, | ||
| 1681 | (yyvsp[(2) - (2)].labelref)), -1); | ||
| 1682 | ;} | ||
| 1683 | break; | ||
| 1684 | |||
| 1685 | case 32: | ||
| 1686 | #line 267 "dtc-parser.y" | ||
| 1687 | { | ||
| 1688 | (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); | ||
| 1689 | ;} | ||
| 1690 | break; | ||
| 1691 | |||
| 1692 | case 33: | ||
| 1693 | #line 274 "dtc-parser.y" | ||
| 1694 | { | ||
| 1695 | (yyval.cbase) = 16; | ||
| 1696 | ;} | ||
| 1697 | break; | ||
| 1698 | |||
| 1699 | case 35: | ||
| 1700 | #line 282 "dtc-parser.y" | ||
| 1701 | { | ||
| 1702 | (yyval.cell) = eval_literal((yyvsp[(1) - (1)].literal), 0, 32); | ||
| 1703 | ;} | ||
| 1704 | break; | ||
| 1705 | |||
| 1706 | case 36: | ||
| 1707 | #line 286 "dtc-parser.y" | ||
| 1708 | { | ||
| 1709 | (yyval.cell) = eval_literal((yyvsp[(2) - (2)].literal), (yyvsp[(1) - (2)].cbase), 32); | ||
| 1710 | ;} | ||
| 1711 | break; | ||
| 1712 | |||
| 1713 | case 37: | ||
| 1714 | #line 293 "dtc-parser.y" | ||
| 1715 | { | ||
| 1716 | (yyval.data) = empty_data; | ||
| 1717 | ;} | ||
| 1718 | break; | ||
| 1719 | |||
| 1720 | case 38: | ||
| 1721 | #line 297 "dtc-parser.y" | ||
| 1722 | { | ||
| 1723 | (yyval.data) = data_append_byte((yyvsp[(1) - (2)].data), (yyvsp[(2) - (2)].byte)); | ||
| 1724 | ;} | ||
| 1725 | break; | ||
| 1726 | |||
| 1727 | case 39: | ||
| 1728 | #line 301 "dtc-parser.y" | ||
| 1729 | { | ||
| 1730 | (yyval.data) = data_add_marker((yyvsp[(1) - (2)].data), LABEL, (yyvsp[(2) - (2)].labelref)); | ||
| 1731 | ;} | ||
| 1732 | break; | ||
| 1733 | |||
| 1734 | case 40: | ||
| 1735 | #line 308 "dtc-parser.y" | ||
| 1736 | { | ||
| 1737 | (yyval.nodelist) = NULL; | ||
| 1738 | ;} | ||
| 1739 | break; | ||
| 1740 | |||
| 1741 | case 41: | ||
| 1742 | #line 312 "dtc-parser.y" | ||
| 1743 | { | ||
| 1744 | (yyval.nodelist) = chain_node((yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].nodelist)); | ||
| 1745 | ;} | ||
| 1746 | break; | ||
| 1747 | |||
| 1748 | case 42: | ||
| 1749 | #line 316 "dtc-parser.y" | ||
| 1750 | { | ||
| 1751 | yyerror("syntax error: properties must precede subnodes"); | ||
| 1752 | YYERROR; | ||
| 1753 | ;} | ||
| 1754 | break; | ||
| 1755 | |||
| 1756 | case 43: | ||
| 1757 | #line 324 "dtc-parser.y" | ||
| 1758 | { | ||
| 1759 | (yyval.node) = name_node((yyvsp[(3) - (3)].node), (yyvsp[(2) - (3)].propnodename), (yyvsp[(1) - (3)].labelref)); | ||
| 1760 | ;} | ||
| 1761 | break; | ||
| 1762 | |||
| 1763 | case 44: | ||
| 1764 | #line 331 "dtc-parser.y" | ||
| 1765 | { | ||
| 1766 | (yyval.labelref) = NULL; | ||
| 1767 | ;} | ||
| 1768 | break; | ||
| 1769 | |||
| 1770 | case 45: | ||
| 1771 | #line 335 "dtc-parser.y" | ||
| 1772 | { | ||
| 1773 | (yyval.labelref) = (yyvsp[(1) - (1)].labelref); | ||
| 1774 | ;} | ||
| 1775 | break; | ||
| 1776 | |||
| 1777 | |||
| 1778 | /* Line 1267 of yacc.c. */ | ||
| 1779 | #line 1780 "dtc-parser.tab.c" | ||
| 1780 | default: break; | ||
| 1781 | } | ||
| 1782 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ||
| 1783 | |||
| 1784 | YYPOPSTACK (yylen); | ||
| 1785 | yylen = 0; | ||
| 1786 | YY_STACK_PRINT (yyss, yyssp); | ||
| 1787 | |||
| 1788 | *++yyvsp = yyval; | ||
| 1789 | *++yylsp = yyloc; | ||
| 1790 | |||
| 1791 | /* Now `shift' the result of the reduction. Determine what state | ||
| 1792 | that goes to, based on the state we popped back to and the rule | ||
| 1793 | number reduced by. */ | ||
| 1794 | |||
| 1795 | yyn = yyr1[yyn]; | ||
| 1796 | |||
| 1797 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ||
| 1798 | if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) | ||
| 1799 | yystate = yytable[yystate]; | ||
| 1800 | else | ||
| 1801 | yystate = yydefgoto[yyn - YYNTOKENS]; | ||
| 1802 | |||
| 1803 | goto yynewstate; | ||
| 1804 | |||
| 1805 | |||
| 1806 | /*------------------------------------. | ||
| 1807 | | yyerrlab -- here on detecting error | | ||
| 1808 | `------------------------------------*/ | ||
| 1809 | yyerrlab: | ||
| 1810 | /* If not already recovering from an error, report this error. */ | ||
| 1811 | if (!yyerrstatus) | ||
| 1812 | { | ||
| 1813 | ++yynerrs; | ||
| 1814 | #if ! YYERROR_VERBOSE | ||
| 1815 | yyerror (YY_("syntax error")); | ||
| 1816 | #else | ||
| 1817 | { | ||
| 1818 | YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); | ||
| 1819 | if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) | ||
| 1820 | { | ||
| 1821 | YYSIZE_T yyalloc = 2 * yysize; | ||
| 1822 | if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) | ||
| 1823 | yyalloc = YYSTACK_ALLOC_MAXIMUM; | ||
| 1824 | if (yymsg != yymsgbuf) | ||
| 1825 | YYSTACK_FREE (yymsg); | ||
| 1826 | yymsg = (char *) YYSTACK_ALLOC (yyalloc); | ||
| 1827 | if (yymsg) | ||
| 1828 | yymsg_alloc = yyalloc; | ||
| 1829 | else | ||
| 1830 | { | ||
| 1831 | yymsg = yymsgbuf; | ||
| 1832 | yymsg_alloc = sizeof yymsgbuf; | ||
| 1833 | } | ||
| 1834 | } | ||
| 1835 | |||
| 1836 | if (0 < yysize && yysize <= yymsg_alloc) | ||
| 1837 | { | ||
| 1838 | (void) yysyntax_error (yymsg, yystate, yychar); | ||
| 1839 | yyerror (yymsg); | ||
| 1840 | } | ||
| 1841 | else | ||
| 1842 | { | ||
| 1843 | yyerror (YY_("syntax error")); | ||
| 1844 | if (yysize != 0) | ||
| 1845 | goto yyexhaustedlab; | ||
| 1846 | } | ||
| 1847 | } | ||
| 1848 | #endif | ||
| 1849 | } | ||
| 1850 | |||
| 1851 | yyerror_range[0] = yylloc; | ||
| 1852 | |||
| 1853 | if (yyerrstatus == 3) | ||
| 1854 | { | ||
| 1855 | /* If just tried and failed to reuse look-ahead token after an | ||
| 1856 | error, discard it. */ | ||
| 1857 | |||
| 1858 | if (yychar <= YYEOF) | ||
| 1859 | { | ||
| 1860 | /* Return failure if at end of input. */ | ||
| 1861 | if (yychar == YYEOF) | ||
| 1862 | YYABORT; | ||
| 1863 | } | ||
| 1864 | else | ||
| 1865 | { | ||
| 1866 | yydestruct ("Error: discarding", | ||
| 1867 | yytoken, &yylval, &yylloc); | ||
| 1868 | yychar = YYEMPTY; | ||
| 1869 | } | ||
| 1870 | } | ||
| 1871 | |||
| 1872 | /* Else will try to reuse look-ahead token after shifting the error | ||
| 1873 | token. */ | ||
| 1874 | goto yyerrlab1; | ||
| 1875 | |||
| 1876 | |||
| 1877 | /*---------------------------------------------------. | ||
| 1878 | | yyerrorlab -- error raised explicitly by YYERROR. | | ||
| 1879 | `---------------------------------------------------*/ | ||
| 1880 | yyerrorlab: | ||
| 1881 | |||
| 1882 | /* Pacify compilers like GCC when the user code never invokes | ||
| 1883 | YYERROR and the label yyerrorlab therefore never appears in user | ||
| 1884 | code. */ | ||
| 1885 | if (/*CONSTCOND*/ 0) | ||
| 1886 | goto yyerrorlab; | ||
| 1887 | |||
| 1888 | yyerror_range[0] = yylsp[1-yylen]; | ||
| 1889 | /* Do not reclaim the symbols of the rule which action triggered | ||
| 1890 | this YYERROR. */ | ||
| 1891 | YYPOPSTACK (yylen); | ||
| 1892 | yylen = 0; | ||
| 1893 | YY_STACK_PRINT (yyss, yyssp); | ||
| 1894 | yystate = *yyssp; | ||
| 1895 | goto yyerrlab1; | ||
| 1896 | |||
| 1897 | |||
| 1898 | /*-------------------------------------------------------------. | ||
| 1899 | | yyerrlab1 -- common code for both syntax error and YYERROR. | | ||
| 1900 | `-------------------------------------------------------------*/ | ||
| 1901 | yyerrlab1: | ||
| 1902 | yyerrstatus = 3; /* Each real token shifted decrements this. */ | ||
| 1903 | |||
| 1904 | for (;;) | ||
| 1905 | { | ||
| 1906 | yyn = yypact[yystate]; | ||
| 1907 | if (yyn != YYPACT_NINF) | ||
| 1908 | { | ||
| 1909 | yyn += YYTERROR; | ||
| 1910 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) | ||
| 1911 | { | ||
| 1912 | yyn = yytable[yyn]; | ||
| 1913 | if (0 < yyn) | ||
| 1914 | break; | ||
| 1915 | } | ||
| 1916 | } | ||
| 1917 | |||
| 1918 | /* Pop the current state because it cannot handle the error token. */ | ||
| 1919 | if (yyssp == yyss) | ||
| 1920 | YYABORT; | ||
| 1921 | |||
| 1922 | yyerror_range[0] = *yylsp; | ||
| 1923 | yydestruct ("Error: popping", | ||
| 1924 | yystos[yystate], yyvsp, yylsp); | ||
| 1925 | YYPOPSTACK (1); | ||
| 1926 | yystate = *yyssp; | ||
| 1927 | YY_STACK_PRINT (yyss, yyssp); | ||
| 1928 | } | ||
| 1929 | |||
| 1930 | if (yyn == YYFINAL) | ||
| 1931 | YYACCEPT; | ||
| 1932 | |||
| 1933 | *++yyvsp = yylval; | ||
| 1934 | |||
| 1935 | yyerror_range[1] = yylloc; | ||
| 1936 | /* Using YYLLOC is tempting, but would change the location of | ||
| 1937 | the look-ahead. YYLOC is available though. */ | ||
| 1938 | YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2); | ||
| 1939 | *++yylsp = yyloc; | ||
| 1940 | |||
| 1941 | /* Shift the error token. */ | ||
| 1942 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ||
| 1943 | |||
| 1944 | yystate = yyn; | ||
| 1945 | goto yynewstate; | ||
| 1946 | |||
| 1947 | |||
| 1948 | /*-------------------------------------. | ||
| 1949 | | yyacceptlab -- YYACCEPT comes here. | | ||
| 1950 | `-------------------------------------*/ | ||
| 1951 | yyacceptlab: | ||
| 1952 | yyresult = 0; | ||
| 1953 | goto yyreturn; | ||
| 1954 | |||
| 1955 | /*-----------------------------------. | ||
| 1956 | | yyabortlab -- YYABORT comes here. | | ||
| 1957 | `-----------------------------------*/ | ||
| 1958 | yyabortlab: | ||
| 1959 | yyresult = 1; | ||
| 1960 | goto yyreturn; | ||
| 1961 | |||
| 1962 | #ifndef yyoverflow | ||
| 1963 | /*-------------------------------------------------. | ||
| 1964 | | yyexhaustedlab -- memory exhaustion comes here. | | ||
| 1965 | `-------------------------------------------------*/ | ||
| 1966 | yyexhaustedlab: | ||
| 1967 | yyerror (YY_("memory exhausted")); | ||
| 1968 | yyresult = 2; | ||
| 1969 | /* Fall through. */ | ||
| 1970 | #endif | ||
| 1971 | |||
| 1972 | yyreturn: | ||
| 1973 | if (yychar != YYEOF && yychar != YYEMPTY) | ||
| 1974 | yydestruct ("Cleanup: discarding lookahead", | ||
| 1975 | yytoken, &yylval, &yylloc); | ||
| 1976 | /* Do not reclaim the symbols of the rule which action triggered | ||
| 1977 | this YYABORT or YYACCEPT. */ | ||
| 1978 | YYPOPSTACK (yylen); | ||
| 1979 | YY_STACK_PRINT (yyss, yyssp); | ||
| 1980 | while (yyssp != yyss) | ||
| 1981 | { | ||
| 1982 | yydestruct ("Cleanup: popping", | ||
| 1983 | yystos[*yyssp], yyvsp, yylsp); | ||
| 1984 | YYPOPSTACK (1); | ||
| 1985 | } | ||
| 1986 | #ifndef yyoverflow | ||
| 1987 | if (yyss != yyssa) | ||
| 1988 | YYSTACK_FREE (yyss); | ||
| 1989 | #endif | ||
| 1990 | #if YYERROR_VERBOSE | ||
| 1991 | if (yymsg != yymsgbuf) | ||
| 1992 | YYSTACK_FREE (yymsg); | ||
| 1993 | #endif | ||
| 1994 | /* Make sure YYID is used. */ | ||
| 1995 | return YYID (yyresult); | ||
| 1996 | } | ||
| 1997 | |||
| 1998 | |||
| 1999 | #line 340 "dtc-parser.y" | ||
| 2000 | |||
| 2001 | |||
| 2002 | void yyerrorf(char const *s, ...) | ||
| 2003 | { | ||
| 2004 | const char *fname = srcpos_file ? srcpos_file->name : "<no-file>"; | ||
| 2005 | va_list va; | ||
| 2006 | va_start(va, s); | ||
| 2007 | |||
| 2008 | if (strcmp(fname, "-") == 0) | ||
| 2009 | fname = "stdin"; | ||
| 2010 | |||
| 2011 | fprintf(stderr, "%s:%d ", fname, yylloc.first_line); | ||
| 2012 | vfprintf(stderr, s, va); | ||
| 2013 | fprintf(stderr, "\n"); | ||
| 2014 | |||
| 2015 | treesource_error = 1; | ||
| 2016 | va_end(va); | ||
| 2017 | } | ||
| 2018 | |||
| 2019 | void yyerror (char const *s) | ||
| 2020 | { | ||
| 2021 | yyerrorf("%s", s); | ||
| 2022 | } | ||
| 2023 | |||
| 2024 | static unsigned long long eval_literal(const char *s, int base, int bits) | ||
| 2025 | { | ||
| 2026 | unsigned long long val; | ||
| 2027 | char *e; | ||
| 2028 | |||
| 2029 | errno = 0; | ||
| 2030 | val = strtoull(s, &e, base); | ||
| 2031 | if (*e) | ||
| 2032 | yyerror("bad characters in literal"); | ||
| 2033 | else if ((errno == ERANGE) | ||
| 2034 | || ((bits < 64) && (val >= (1ULL << bits)))) | ||
| 2035 | yyerror("literal out of range"); | ||
| 2036 | else if (errno != 0) | ||
| 2037 | yyerror("bad literal"); | ||
| 2038 | return val; | ||
| 2039 | } | ||
| 2040 | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped b/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped deleted file mode 100644 index ba99100d55c9..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped +++ /dev/null | |||
| @@ -1,113 +0,0 @@ | |||
| 1 | /* A Bison parser, made by GNU Bison 2.3. */ | ||
| 2 | |||
| 3 | /* Skeleton interface for Bison's Yacc-like parsers in C | ||
| 4 | |||
| 5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | ||
| 6 | Free Software Foundation, Inc. | ||
| 7 | |||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* As a special exception, you may create a larger work that contains | ||
| 24 | part or all of the Bison parser skeleton and distribute that work | ||
| 25 | under terms of your choice, so long as that work isn't itself a | ||
| 26 | parser generator using the skeleton or a modified version thereof | ||
| 27 | as a parser skeleton. Alternatively, if you modify or redistribute | ||
| 28 | the parser skeleton itself, you may (at your option) remove this | ||
| 29 | special exception, which will cause the skeleton and the resulting | ||
| 30 | Bison output files to be licensed under the GNU General Public | ||
| 31 | License without this special exception. | ||
| 32 | |||
| 33 | This special exception was added by the Free Software Foundation in | ||
| 34 | version 2.2 of Bison. */ | ||
| 35 | |||
| 36 | /* Tokens. */ | ||
| 37 | #ifndef YYTOKENTYPE | ||
| 38 | # define YYTOKENTYPE | ||
| 39 | /* Put the tokens into the symbol table, so that GDB and other debuggers | ||
| 40 | know about them. */ | ||
| 41 | enum yytokentype { | ||
| 42 | DT_V1 = 258, | ||
| 43 | DT_MEMRESERVE = 259, | ||
| 44 | DT_PROPNODENAME = 260, | ||
| 45 | DT_LITERAL = 261, | ||
| 46 | DT_LEGACYLITERAL = 262, | ||
| 47 | DT_BASE = 263, | ||
| 48 | DT_BYTE = 264, | ||
| 49 | DT_STRING = 265, | ||
| 50 | DT_LABEL = 266, | ||
| 51 | DT_REF = 267, | ||
| 52 | DT_INCBIN = 268 | ||
| 53 | }; | ||
| 54 | #endif | ||
| 55 | /* Tokens. */ | ||
| 56 | #define DT_V1 258 | ||
| 57 | #define DT_MEMRESERVE 259 | ||
| 58 | #define DT_PROPNODENAME 260 | ||
| 59 | #define DT_LITERAL 261 | ||
| 60 | #define DT_LEGACYLITERAL 262 | ||
| 61 | #define DT_BASE 263 | ||
| 62 | #define DT_BYTE 264 | ||
| 63 | #define DT_STRING 265 | ||
| 64 | #define DT_LABEL 266 | ||
| 65 | #define DT_REF 267 | ||
| 66 | #define DT_INCBIN 268 | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | ||
| 72 | typedef union YYSTYPE | ||
| 73 | #line 37 "dtc-parser.y" | ||
| 74 | { | ||
| 75 | char *propnodename; | ||
| 76 | char *literal; | ||
| 77 | char *labelref; | ||
| 78 | unsigned int cbase; | ||
| 79 | uint8_t byte; | ||
| 80 | struct data data; | ||
| 81 | |||
| 82 | uint64_t addr; | ||
| 83 | cell_t cell; | ||
| 84 | struct property *prop; | ||
| 85 | struct property *proplist; | ||
| 86 | struct node *node; | ||
| 87 | struct node *nodelist; | ||
| 88 | struct reserve_info *re; | ||
| 89 | } | ||
| 90 | /* Line 1489 of yacc.c. */ | ||
| 91 | #line 92 "dtc-parser.tab.h" | ||
| 92 | YYSTYPE; | ||
| 93 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | ||
| 94 | # define YYSTYPE_IS_DECLARED 1 | ||
| 95 | # define YYSTYPE_IS_TRIVIAL 1 | ||
| 96 | #endif | ||
| 97 | |||
| 98 | extern YYSTYPE yylval; | ||
| 99 | |||
| 100 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED | ||
| 101 | typedef struct YYLTYPE | ||
| 102 | { | ||
| 103 | int first_line; | ||
| 104 | int first_column; | ||
| 105 | int last_line; | ||
| 106 | int last_column; | ||
| 107 | } YYLTYPE; | ||
| 108 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ | ||
| 109 | # define YYLTYPE_IS_DECLARED 1 | ||
| 110 | # define YYLTYPE_IS_TRIVIAL 1 | ||
| 111 | #endif | ||
| 112 | |||
| 113 | extern YYLTYPE yylloc; | ||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.y b/arch/powerpc/boot/dtc-src/dtc-parser.y deleted file mode 100644 index b2ab562420ea..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc-parser.y +++ /dev/null | |||
| @@ -1,379 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | %locations | ||
| 22 | |||
| 23 | %{ | ||
| 24 | #include <stdio.h> | ||
| 25 | |||
| 26 | #include "dtc.h" | ||
| 27 | #include "srcpos.h" | ||
| 28 | |||
| 29 | extern int yylex(void); | ||
| 30 | |||
| 31 | extern struct boot_info *the_boot_info; | ||
| 32 | extern int treesource_error; | ||
| 33 | |||
| 34 | static unsigned long long eval_literal(const char *s, int base, int bits); | ||
| 35 | %} | ||
| 36 | |||
| 37 | %union { | ||
| 38 | char *propnodename; | ||
| 39 | char *literal; | ||
| 40 | char *labelref; | ||
| 41 | unsigned int cbase; | ||
| 42 | uint8_t byte; | ||
| 43 | struct data data; | ||
| 44 | |||
| 45 | uint64_t addr; | ||
| 46 | cell_t cell; | ||
| 47 | struct property *prop; | ||
| 48 | struct property *proplist; | ||
| 49 | struct node *node; | ||
| 50 | struct node *nodelist; | ||
| 51 | struct reserve_info *re; | ||
| 52 | } | ||
| 53 | |||
| 54 | %token DT_V1 | ||
| 55 | %token DT_MEMRESERVE | ||
| 56 | %token <propnodename> DT_PROPNODENAME | ||
| 57 | %token <literal> DT_LITERAL | ||
| 58 | %token <literal> DT_LEGACYLITERAL | ||
| 59 | %token <cbase> DT_BASE | ||
| 60 | %token <byte> DT_BYTE | ||
| 61 | %token <data> DT_STRING | ||
| 62 | %token <labelref> DT_LABEL | ||
| 63 | %token <labelref> DT_REF | ||
| 64 | %token DT_INCBIN | ||
| 65 | |||
| 66 | %type <data> propdata | ||
| 67 | %type <data> propdataprefix | ||
| 68 | %type <re> memreserve | ||
| 69 | %type <re> memreserves | ||
| 70 | %type <re> v0_memreserve | ||
| 71 | %type <re> v0_memreserves | ||
| 72 | %type <addr> addr | ||
| 73 | %type <data> celllist | ||
| 74 | %type <cbase> cellbase | ||
| 75 | %type <cell> cellval | ||
| 76 | %type <data> bytestring | ||
| 77 | %type <prop> propdef | ||
| 78 | %type <proplist> proplist | ||
| 79 | |||
| 80 | %type <node> devicetree | ||
| 81 | %type <node> nodedef | ||
| 82 | %type <node> subnode | ||
| 83 | %type <nodelist> subnodes | ||
| 84 | %type <labelref> label | ||
| 85 | |||
| 86 | %% | ||
| 87 | |||
| 88 | sourcefile: | ||
| 89 | DT_V1 ';' memreserves devicetree | ||
| 90 | { | ||
| 91 | the_boot_info = build_boot_info($3, $4, 0); | ||
| 92 | } | ||
| 93 | | v0_memreserves devicetree | ||
| 94 | { | ||
| 95 | the_boot_info = build_boot_info($1, $2, 0); | ||
| 96 | } | ||
| 97 | ; | ||
| 98 | |||
| 99 | memreserves: | ||
| 100 | /* empty */ | ||
| 101 | { | ||
| 102 | $$ = NULL; | ||
| 103 | } | ||
| 104 | | memreserve memreserves | ||
| 105 | { | ||
| 106 | $$ = chain_reserve_entry($1, $2); | ||
| 107 | } | ||
| 108 | ; | ||
| 109 | |||
| 110 | memreserve: | ||
| 111 | label DT_MEMRESERVE addr addr ';' | ||
| 112 | { | ||
| 113 | $$ = build_reserve_entry($3, $4, $1); | ||
| 114 | } | ||
| 115 | ; | ||
| 116 | |||
| 117 | v0_memreserves: | ||
| 118 | /* empty */ | ||
| 119 | { | ||
| 120 | $$ = NULL; | ||
| 121 | } | ||
| 122 | | v0_memreserve v0_memreserves | ||
| 123 | { | ||
| 124 | $$ = chain_reserve_entry($1, $2); | ||
| 125 | }; | ||
| 126 | ; | ||
| 127 | |||
| 128 | v0_memreserve: | ||
| 129 | memreserve | ||
| 130 | { | ||
| 131 | $$ = $1; | ||
| 132 | } | ||
| 133 | | label DT_MEMRESERVE addr '-' addr ';' | ||
| 134 | { | ||
| 135 | $$ = build_reserve_entry($3, $5 - $3 + 1, $1); | ||
| 136 | } | ||
| 137 | ; | ||
| 138 | |||
| 139 | addr: | ||
| 140 | DT_LITERAL | ||
| 141 | { | ||
| 142 | $$ = eval_literal($1, 0, 64); | ||
| 143 | } | ||
| 144 | | DT_LEGACYLITERAL | ||
| 145 | { | ||
| 146 | $$ = eval_literal($1, 16, 64); | ||
| 147 | } | ||
| 148 | ; | ||
| 149 | |||
| 150 | devicetree: | ||
| 151 | '/' nodedef | ||
| 152 | { | ||
| 153 | $$ = name_node($2, "", NULL); | ||
| 154 | } | ||
| 155 | ; | ||
| 156 | |||
| 157 | nodedef: | ||
| 158 | '{' proplist subnodes '}' ';' | ||
| 159 | { | ||
| 160 | $$ = build_node($2, $3); | ||
| 161 | } | ||
| 162 | ; | ||
| 163 | |||
| 164 | proplist: | ||
| 165 | /* empty */ | ||
| 166 | { | ||
| 167 | $$ = NULL; | ||
| 168 | } | ||
| 169 | | proplist propdef | ||
| 170 | { | ||
| 171 | $$ = chain_property($2, $1); | ||
| 172 | } | ||
| 173 | ; | ||
| 174 | |||
| 175 | propdef: | ||
| 176 | label DT_PROPNODENAME '=' propdata ';' | ||
| 177 | { | ||
| 178 | $$ = build_property($2, $4, $1); | ||
| 179 | } | ||
| 180 | | label DT_PROPNODENAME ';' | ||
| 181 | { | ||
| 182 | $$ = build_property($2, empty_data, $1); | ||
| 183 | } | ||
| 184 | ; | ||
| 185 | |||
| 186 | propdata: | ||
| 187 | propdataprefix DT_STRING | ||
| 188 | { | ||
| 189 | $$ = data_merge($1, $2); | ||
| 190 | } | ||
| 191 | | propdataprefix '<' celllist '>' | ||
| 192 | { | ||
| 193 | $$ = data_merge($1, $3); | ||
| 194 | } | ||
| 195 | | propdataprefix '[' bytestring ']' | ||
| 196 | { | ||
| 197 | $$ = data_merge($1, $3); | ||
| 198 | } | ||
| 199 | | propdataprefix DT_REF | ||
| 200 | { | ||
| 201 | $$ = data_add_marker($1, REF_PATH, $2); | ||
| 202 | } | ||
| 203 | | propdataprefix DT_INCBIN '(' DT_STRING ',' addr ',' addr ')' | ||
| 204 | { | ||
| 205 | struct search_path path = { srcpos_file->dir, NULL, NULL }; | ||
| 206 | struct dtc_file *file = dtc_open_file($4.val, &path); | ||
| 207 | struct data d = empty_data; | ||
| 208 | |||
| 209 | if ($6 != 0) | ||
| 210 | if (fseek(file->file, $6, SEEK_SET) != 0) | ||
| 211 | yyerrorf("Couldn't seek to offset %llu in \"%s\": %s", | ||
| 212 | (unsigned long long)$6, | ||
| 213 | $4.val, strerror(errno)); | ||
| 214 | |||
| 215 | d = data_copy_file(file->file, $8); | ||
| 216 | |||
| 217 | $$ = data_merge($1, d); | ||
| 218 | dtc_close_file(file); | ||
| 219 | } | ||
| 220 | | propdataprefix DT_INCBIN '(' DT_STRING ')' | ||
| 221 | { | ||
| 222 | struct search_path path = { srcpos_file->dir, NULL, NULL }; | ||
| 223 | struct dtc_file *file = dtc_open_file($4.val, &path); | ||
| 224 | struct data d = empty_data; | ||
| 225 | |||
| 226 | d = data_copy_file(file->file, -1); | ||
| 227 | |||
| 228 | $$ = data_merge($1, d); | ||
| 229 | dtc_close_file(file); | ||
| 230 | } | ||
| 231 | | propdata DT_LABEL | ||
| 232 | { | ||
| 233 | $$ = data_add_marker($1, LABEL, $2); | ||
| 234 | } | ||
| 235 | ; | ||
| 236 | |||
| 237 | propdataprefix: | ||
| 238 | /* empty */ | ||
| 239 | { | ||
| 240 | $$ = empty_data; | ||
| 241 | } | ||
| 242 | | propdata ',' | ||
| 243 | { | ||
| 244 | $$ = $1; | ||
| 245 | } | ||
| 246 | | propdataprefix DT_LABEL | ||
| 247 | { | ||
| 248 | $$ = data_add_marker($1, LABEL, $2); | ||
| 249 | } | ||
| 250 | ; | ||
| 251 | |||
| 252 | celllist: | ||
| 253 | /* empty */ | ||
| 254 | { | ||
| 255 | $$ = empty_data; | ||
| 256 | } | ||
| 257 | | celllist cellval | ||
| 258 | { | ||
| 259 | $$ = data_append_cell($1, $2); | ||
| 260 | } | ||
| 261 | | celllist DT_REF | ||
| 262 | { | ||
| 263 | $$ = data_append_cell(data_add_marker($1, REF_PHANDLE, | ||
| 264 | $2), -1); | ||
| 265 | } | ||
| 266 | | celllist DT_LABEL | ||
| 267 | { | ||
| 268 | $$ = data_add_marker($1, LABEL, $2); | ||
| 269 | } | ||
| 270 | ; | ||
| 271 | |||
| 272 | cellbase: | ||
| 273 | /* empty */ | ||
| 274 | { | ||
| 275 | $$ = 16; | ||
| 276 | } | ||
| 277 | | DT_BASE | ||
| 278 | ; | ||
| 279 | |||
| 280 | cellval: | ||
| 281 | DT_LITERAL | ||
| 282 | { | ||
| 283 | $$ = eval_literal($1, 0, 32); | ||
| 284 | } | ||
| 285 | | cellbase DT_LEGACYLITERAL | ||
| 286 | { | ||
| 287 | $$ = eval_literal($2, $1, 32); | ||
| 288 | } | ||
| 289 | ; | ||
| 290 | |||
| 291 | bytestring: | ||
| 292 | /* empty */ | ||
| 293 | { | ||
| 294 | $$ = empty_data; | ||
| 295 | } | ||
| 296 | | bytestring DT_BYTE | ||
| 297 | { | ||
| 298 | $$ = data_append_byte($1, $2); | ||
| 299 | } | ||
| 300 | | bytestring DT_LABEL | ||
| 301 | { | ||
| 302 | $$ = data_add_marker($1, LABEL, $2); | ||
| 303 | } | ||
| 304 | ; | ||
| 305 | |||
| 306 | subnodes: | ||
| 307 | /* empty */ | ||
| 308 | { | ||
| 309 | $$ = NULL; | ||
| 310 | } | ||
| 311 | | subnode subnodes | ||
| 312 | { | ||
| 313 | $$ = chain_node($1, $2); | ||
| 314 | } | ||
| 315 | | subnode propdef | ||
| 316 | { | ||
| 317 | yyerror("syntax error: properties must precede subnodes"); | ||
| 318 | YYERROR; | ||
| 319 | } | ||
| 320 | ; | ||
| 321 | |||
| 322 | subnode: | ||
| 323 | label DT_PROPNODENAME nodedef | ||
| 324 | { | ||
| 325 | $$ = name_node($3, $2, $1); | ||
| 326 | } | ||
| 327 | ; | ||
| 328 | |||
| 329 | label: | ||
| 330 | /* empty */ | ||
| 331 | { | ||
| 332 | $$ = NULL; | ||
| 333 | } | ||
| 334 | | DT_LABEL | ||
| 335 | { | ||
| 336 | $$ = $1; | ||
| 337 | } | ||
| 338 | ; | ||
| 339 | |||
| 340 | %% | ||
| 341 | |||
| 342 | void yyerrorf(char const *s, ...) | ||
| 343 | { | ||
| 344 | const char *fname = srcpos_file ? srcpos_file->name : "<no-file>"; | ||
| 345 | va_list va; | ||
| 346 | va_start(va, s); | ||
| 347 | |||
| 348 | if (strcmp(fname, "-") == 0) | ||
| 349 | fname = "stdin"; | ||
| 350 | |||
| 351 | fprintf(stderr, "%s:%d ", fname, yylloc.first_line); | ||
| 352 | vfprintf(stderr, s, va); | ||
| 353 | fprintf(stderr, "\n"); | ||
| 354 | |||
| 355 | treesource_error = 1; | ||
| 356 | va_end(va); | ||
| 357 | } | ||
| 358 | |||
| 359 | void yyerror (char const *s) | ||
| 360 | { | ||
| 361 | yyerrorf("%s", s); | ||
| 362 | } | ||
| 363 | |||
| 364 | static unsigned long long eval_literal(const char *s, int base, int bits) | ||
| 365 | { | ||
| 366 | unsigned long long val; | ||
| 367 | char *e; | ||
| 368 | |||
| 369 | errno = 0; | ||
| 370 | val = strtoull(s, &e, base); | ||
| 371 | if (*e) | ||
| 372 | yyerror("bad characters in literal"); | ||
| 373 | else if ((errno == ERANGE) | ||
| 374 | || ((bits < 64) && (val >= (1ULL << bits)))) | ||
| 375 | yyerror("literal out of range"); | ||
| 376 | else if (errno != 0) | ||
| 377 | yyerror("bad literal"); | ||
| 378 | return val; | ||
| 379 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/dtc.c b/arch/powerpc/boot/dtc-src/dtc.c deleted file mode 100644 index d8fd43b4ac1a..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc.c +++ /dev/null | |||
| @@ -1,226 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | #include "srcpos.h" | ||
| 23 | |||
| 24 | #include "version_gen.h" | ||
| 25 | |||
| 26 | /* | ||
| 27 | * Command line options | ||
| 28 | */ | ||
| 29 | int quiet; /* Level of quietness */ | ||
| 30 | int reservenum; /* Number of memory reservation slots */ | ||
| 31 | int minsize; /* Minimum blob size */ | ||
| 32 | int padsize; /* Additional padding to blob */ | ||
| 33 | |||
| 34 | char *join_path(const char *path, const char *name) | ||
| 35 | { | ||
| 36 | int lenp = strlen(path); | ||
| 37 | int lenn = strlen(name); | ||
| 38 | int len; | ||
| 39 | int needslash = 1; | ||
| 40 | char *str; | ||
| 41 | |||
| 42 | len = lenp + lenn + 2; | ||
| 43 | if ((lenp > 0) && (path[lenp-1] == '/')) { | ||
| 44 | needslash = 0; | ||
| 45 | len--; | ||
| 46 | } | ||
| 47 | |||
| 48 | str = xmalloc(len); | ||
| 49 | memcpy(str, path, lenp); | ||
| 50 | if (needslash) { | ||
| 51 | str[lenp] = '/'; | ||
| 52 | lenp++; | ||
| 53 | } | ||
| 54 | memcpy(str+lenp, name, lenn+1); | ||
| 55 | return str; | ||
| 56 | } | ||
| 57 | |||
| 58 | static void fill_fullpaths(struct node *tree, const char *prefix) | ||
| 59 | { | ||
| 60 | struct node *child; | ||
| 61 | const char *unit; | ||
| 62 | |||
| 63 | tree->fullpath = join_path(prefix, tree->name); | ||
| 64 | |||
| 65 | unit = strchr(tree->name, '@'); | ||
| 66 | if (unit) | ||
| 67 | tree->basenamelen = unit - tree->name; | ||
| 68 | else | ||
| 69 | tree->basenamelen = strlen(tree->name); | ||
| 70 | |||
| 71 | for_each_child(tree, child) | ||
| 72 | fill_fullpaths(child, tree->fullpath); | ||
| 73 | } | ||
| 74 | |||
| 75 | static void __attribute__ ((noreturn)) usage(void) | ||
| 76 | { | ||
| 77 | fprintf(stderr, "Usage:\n"); | ||
| 78 | fprintf(stderr, "\tdtc [options] <input file>\n"); | ||
| 79 | fprintf(stderr, "\nOptions:\n"); | ||
| 80 | fprintf(stderr, "\t-h\n"); | ||
| 81 | fprintf(stderr, "\t\tThis help text\n"); | ||
| 82 | fprintf(stderr, "\t-q\n"); | ||
| 83 | fprintf(stderr, "\t\tQuiet: -q suppress warnings, -qq errors, -qqq all\n"); | ||
| 84 | fprintf(stderr, "\t-I <input format>\n"); | ||
| 85 | fprintf(stderr, "\t\tInput formats are:\n"); | ||
| 86 | fprintf(stderr, "\t\t\tdts - device tree source text\n"); | ||
| 87 | fprintf(stderr, "\t\t\tdtb - device tree blob\n"); | ||
| 88 | fprintf(stderr, "\t\t\tfs - /proc/device-tree style directory\n"); | ||
| 89 | fprintf(stderr, "\t-o <output file>\n"); | ||
| 90 | fprintf(stderr, "\t-O <output format>\n"); | ||
| 91 | fprintf(stderr, "\t\tOutput formats are:\n"); | ||
| 92 | fprintf(stderr, "\t\t\tdts - device tree source text\n"); | ||
| 93 | fprintf(stderr, "\t\t\tdtb - device tree blob\n"); | ||
| 94 | fprintf(stderr, "\t\t\tasm - assembler source\n"); | ||
| 95 | fprintf(stderr, "\t-V <output version>\n"); | ||
| 96 | fprintf(stderr, "\t\tBlob version to produce, defaults to %d (relevant for dtb\n\t\tand asm output only)\n", DEFAULT_FDT_VERSION); | ||
| 97 | fprintf(stderr, "\t-R <number>\n"); | ||
| 98 | fprintf(stderr, "\t\tMake space for <number> reserve map entries (relevant for \n\t\tdtb and asm output only)\n"); | ||
| 99 | fprintf(stderr, "\t-S <bytes>\n"); | ||
| 100 | fprintf(stderr, "\t\tMake the blob at least <bytes> long (extra space)\n"); | ||
| 101 | fprintf(stderr, "\t-p <bytes>\n"); | ||
| 102 | fprintf(stderr, "\t\tAdd padding to the blob of <bytes> long (extra space)\n"); | ||
| 103 | fprintf(stderr, "\t-b <number>\n"); | ||
| 104 | fprintf(stderr, "\t\tSet the physical boot cpu\n"); | ||
| 105 | fprintf(stderr, "\t-f\n"); | ||
| 106 | fprintf(stderr, "\t\tForce - try to produce output even if the input tree has errors\n"); | ||
| 107 | fprintf(stderr, "\t-v\n"); | ||
| 108 | fprintf(stderr, "\t\tPrint DTC version and exit\n"); | ||
| 109 | exit(3); | ||
| 110 | } | ||
| 111 | |||
| 112 | int main(int argc, char *argv[]) | ||
| 113 | { | ||
| 114 | struct boot_info *bi; | ||
| 115 | const char *inform = "dts"; | ||
| 116 | const char *outform = "dts"; | ||
| 117 | const char *outname = "-"; | ||
| 118 | int force = 0, check = 0; | ||
| 119 | const char *arg; | ||
| 120 | int opt; | ||
| 121 | FILE *outf = NULL; | ||
| 122 | int outversion = DEFAULT_FDT_VERSION; | ||
| 123 | long long cmdline_boot_cpuid = -1; | ||
| 124 | |||
| 125 | quiet = 0; | ||
| 126 | reservenum = 0; | ||
| 127 | minsize = 0; | ||
| 128 | padsize = 0; | ||
| 129 | |||
| 130 | while ((opt = getopt(argc, argv, "hI:O:o:V:R:S:p:fcqb:v")) != EOF) { | ||
| 131 | switch (opt) { | ||
| 132 | case 'I': | ||
| 133 | inform = optarg; | ||
| 134 | break; | ||
| 135 | case 'O': | ||
| 136 | outform = optarg; | ||
| 137 | break; | ||
| 138 | case 'o': | ||
| 139 | outname = optarg; | ||
| 140 | break; | ||
| 141 | case 'V': | ||
| 142 | outversion = strtol(optarg, NULL, 0); | ||
| 143 | break; | ||
| 144 | case 'R': | ||
| 145 | reservenum = strtol(optarg, NULL, 0); | ||
| 146 | break; | ||
| 147 | case 'S': | ||
| 148 | minsize = strtol(optarg, NULL, 0); | ||
| 149 | break; | ||
| 150 | case 'p': | ||
| 151 | padsize = strtol(optarg, NULL, 0); | ||
| 152 | break; | ||
| 153 | case 'f': | ||
| 154 | force = 1; | ||
| 155 | break; | ||
| 156 | case 'c': | ||
| 157 | check = 1; | ||
| 158 | break; | ||
| 159 | case 'q': | ||
| 160 | quiet++; | ||
| 161 | break; | ||
| 162 | case 'b': | ||
| 163 | cmdline_boot_cpuid = strtoll(optarg, NULL, 0); | ||
| 164 | break; | ||
| 165 | case 'v': | ||
| 166 | printf("Version: %s\n", DTC_VERSION); | ||
| 167 | exit(0); | ||
| 168 | case 'h': | ||
| 169 | default: | ||
| 170 | usage(); | ||
| 171 | } | ||
| 172 | } | ||
| 173 | |||
| 174 | if (argc > (optind+1)) | ||
| 175 | usage(); | ||
| 176 | else if (argc < (optind+1)) | ||
| 177 | arg = "-"; | ||
| 178 | else | ||
| 179 | arg = argv[optind]; | ||
| 180 | |||
| 181 | /* minsize and padsize are mutually exclusive */ | ||
| 182 | if (minsize && padsize) | ||
| 183 | die("Can't set both -p and -S\n"); | ||
| 184 | |||
| 185 | fprintf(stderr, "DTC: %s->%s on file \"%s\"\n", | ||
| 186 | inform, outform, arg); | ||
| 187 | |||
| 188 | if (streq(inform, "dts")) | ||
| 189 | bi = dt_from_source(arg); | ||
| 190 | else if (streq(inform, "fs")) | ||
| 191 | bi = dt_from_fs(arg); | ||
| 192 | else if(streq(inform, "dtb")) | ||
| 193 | bi = dt_from_blob(arg); | ||
| 194 | else | ||
| 195 | die("Unknown input format \"%s\"\n", inform); | ||
| 196 | |||
| 197 | if (cmdline_boot_cpuid != -1) | ||
| 198 | bi->boot_cpuid_phys = cmdline_boot_cpuid; | ||
| 199 | |||
| 200 | fill_fullpaths(bi->dt, ""); | ||
| 201 | process_checks(force, bi); | ||
| 202 | |||
| 203 | |||
| 204 | if (streq(outname, "-")) { | ||
| 205 | outf = stdout; | ||
| 206 | } else { | ||
| 207 | outf = fopen(outname, "w"); | ||
| 208 | if (! outf) | ||
| 209 | die("Couldn't open output file %s: %s\n", | ||
| 210 | outname, strerror(errno)); | ||
| 211 | } | ||
| 212 | |||
| 213 | if (streq(outform, "dts")) { | ||
| 214 | dt_to_source(outf, bi); | ||
| 215 | } else if (streq(outform, "dtb")) { | ||
| 216 | dt_to_blob(outf, bi, outversion); | ||
| 217 | } else if (streq(outform, "asm")) { | ||
| 218 | dt_to_asm(outf, bi, outversion); | ||
| 219 | } else if (streq(outform, "null")) { | ||
| 220 | /* do nothing */ | ||
| 221 | } else { | ||
| 222 | die("Unknown output format \"%s\"\n", outform); | ||
| 223 | } | ||
| 224 | |||
| 225 | exit(0); | ||
| 226 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/dtc.h b/arch/powerpc/boot/dtc-src/dtc.h deleted file mode 100644 index 08d54c870086..000000000000 --- a/arch/powerpc/boot/dtc-src/dtc.h +++ /dev/null | |||
| @@ -1,246 +0,0 @@ | |||
| 1 | #ifndef _DTC_H | ||
| 2 | #define _DTC_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 6 | * | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 16 | * General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 21 | * USA | ||
| 22 | */ | ||
| 23 | |||
| 24 | #include <stdio.h> | ||
| 25 | #include <string.h> | ||
| 26 | #include <stdlib.h> | ||
| 27 | #include <stdint.h> | ||
| 28 | #include <stdarg.h> | ||
| 29 | #include <assert.h> | ||
| 30 | #include <ctype.h> | ||
| 31 | #include <errno.h> | ||
| 32 | #include <unistd.h> | ||
| 33 | |||
| 34 | #include <libfdt_env.h> | ||
| 35 | #include <fdt.h> | ||
| 36 | |||
| 37 | #define DEFAULT_FDT_VERSION 17 | ||
| 38 | /* | ||
| 39 | * Command line options | ||
| 40 | */ | ||
| 41 | extern int quiet; /* Level of quietness */ | ||
| 42 | extern int reservenum; /* Number of memory reservation slots */ | ||
| 43 | extern int minsize; /* Minimum blob size */ | ||
| 44 | extern int padsize; /* Additional padding to blob */ | ||
| 45 | |||
| 46 | static inline void __attribute__((noreturn)) die(char * str, ...) | ||
| 47 | { | ||
| 48 | va_list ap; | ||
| 49 | |||
| 50 | va_start(ap, str); | ||
| 51 | fprintf(stderr, "FATAL ERROR: "); | ||
| 52 | vfprintf(stderr, str, ap); | ||
| 53 | exit(1); | ||
| 54 | } | ||
| 55 | |||
| 56 | static inline void *xmalloc(size_t len) | ||
| 57 | { | ||
| 58 | void *new = malloc(len); | ||
| 59 | |||
| 60 | if (! new) | ||
| 61 | die("malloc() failed\n"); | ||
| 62 | |||
| 63 | return new; | ||
| 64 | } | ||
| 65 | |||
| 66 | static inline void *xrealloc(void *p, size_t len) | ||
| 67 | { | ||
| 68 | void *new = realloc(p, len); | ||
| 69 | |||
| 70 | if (! new) | ||
| 71 | die("realloc() failed (len=%d)\n", len); | ||
| 72 | |||
| 73 | return new; | ||
| 74 | } | ||
| 75 | |||
| 76 | typedef uint32_t cell_t; | ||
| 77 | |||
| 78 | |||
| 79 | #define streq(a, b) (strcmp((a), (b)) == 0) | ||
| 80 | #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0) | ||
| 81 | |||
| 82 | #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) | ||
| 83 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | ||
| 84 | |||
| 85 | /* Data blobs */ | ||
| 86 | enum markertype { | ||
| 87 | REF_PHANDLE, | ||
| 88 | REF_PATH, | ||
| 89 | LABEL, | ||
| 90 | }; | ||
| 91 | |||
| 92 | struct marker { | ||
| 93 | enum markertype type; | ||
| 94 | int offset; | ||
| 95 | char *ref; | ||
| 96 | struct marker *next; | ||
| 97 | }; | ||
| 98 | |||
| 99 | struct data { | ||
| 100 | int len; | ||
| 101 | char *val; | ||
| 102 | struct marker *markers; | ||
| 103 | }; | ||
| 104 | |||
| 105 | |||
| 106 | #define empty_data ((struct data){ /* all .members = 0 or NULL */ }) | ||
| 107 | |||
| 108 | #define for_each_marker(m) \ | ||
| 109 | for (; (m); (m) = (m)->next) | ||
| 110 | #define for_each_marker_of_type(m, t) \ | ||
| 111 | for_each_marker(m) \ | ||
| 112 | if ((m)->type == (t)) | ||
| 113 | |||
| 114 | void data_free(struct data d); | ||
| 115 | |||
| 116 | struct data data_grow_for(struct data d, int xlen); | ||
| 117 | |||
| 118 | struct data data_copy_mem(const char *mem, int len); | ||
| 119 | struct data data_copy_escape_string(const char *s, int len); | ||
| 120 | struct data data_copy_file(FILE *f, size_t len); | ||
| 121 | |||
| 122 | struct data data_append_data(struct data d, const void *p, int len); | ||
| 123 | struct data data_insert_at_marker(struct data d, struct marker *m, | ||
| 124 | const void *p, int len); | ||
| 125 | struct data data_merge(struct data d1, struct data d2); | ||
| 126 | struct data data_append_cell(struct data d, cell_t word); | ||
| 127 | struct data data_append_re(struct data d, const struct fdt_reserve_entry *re); | ||
| 128 | struct data data_append_addr(struct data d, uint64_t addr); | ||
| 129 | struct data data_append_byte(struct data d, uint8_t byte); | ||
| 130 | struct data data_append_zeroes(struct data d, int len); | ||
| 131 | struct data data_append_align(struct data d, int align); | ||
| 132 | |||
| 133 | struct data data_add_marker(struct data d, enum markertype type, char *ref); | ||
| 134 | |||
| 135 | int data_is_one_string(struct data d); | ||
| 136 | |||
| 137 | /* DT constraints */ | ||
| 138 | |||
| 139 | #define MAX_PROPNAME_LEN 31 | ||
| 140 | #define MAX_NODENAME_LEN 31 | ||
| 141 | |||
| 142 | /* Live trees */ | ||
| 143 | struct property { | ||
| 144 | char *name; | ||
| 145 | struct data val; | ||
| 146 | |||
| 147 | struct property *next; | ||
| 148 | |||
| 149 | char *label; | ||
| 150 | }; | ||
| 151 | |||
| 152 | struct node { | ||
| 153 | char *name; | ||
| 154 | struct property *proplist; | ||
| 155 | struct node *children; | ||
| 156 | |||
| 157 | struct node *parent; | ||
| 158 | struct node *next_sibling; | ||
| 159 | |||
| 160 | char *fullpath; | ||
| 161 | int basenamelen; | ||
| 162 | |||
| 163 | cell_t phandle; | ||
| 164 | int addr_cells, size_cells; | ||
| 165 | |||
| 166 | char *label; | ||
| 167 | }; | ||
| 168 | |||
| 169 | #define for_each_property(n, p) \ | ||
| 170 | for ((p) = (n)->proplist; (p); (p) = (p)->next) | ||
| 171 | |||
| 172 | #define for_each_child(n, c) \ | ||
| 173 | for ((c) = (n)->children; (c); (c) = (c)->next_sibling) | ||
| 174 | |||
| 175 | struct property *build_property(char *name, struct data val, char *label); | ||
| 176 | struct property *chain_property(struct property *first, struct property *list); | ||
| 177 | struct property *reverse_properties(struct property *first); | ||
| 178 | |||
| 179 | struct node *build_node(struct property *proplist, struct node *children); | ||
| 180 | struct node *name_node(struct node *node, char *name, char *label); | ||
| 181 | struct node *chain_node(struct node *first, struct node *list); | ||
| 182 | |||
| 183 | void add_property(struct node *node, struct property *prop); | ||
| 184 | void add_child(struct node *parent, struct node *child); | ||
| 185 | |||
| 186 | const char *get_unitname(struct node *node); | ||
| 187 | struct property *get_property(struct node *node, const char *propname); | ||
| 188 | cell_t propval_cell(struct property *prop); | ||
| 189 | struct node *get_subnode(struct node *node, const char *nodename); | ||
| 190 | struct node *get_node_by_path(struct node *tree, const char *path); | ||
| 191 | struct node *get_node_by_label(struct node *tree, const char *label); | ||
| 192 | struct node *get_node_by_phandle(struct node *tree, cell_t phandle); | ||
| 193 | struct node *get_node_by_ref(struct node *tree, const char *ref); | ||
| 194 | cell_t get_node_phandle(struct node *root, struct node *node); | ||
| 195 | |||
| 196 | /* Boot info (tree plus memreserve information */ | ||
| 197 | |||
| 198 | struct reserve_info { | ||
| 199 | struct fdt_reserve_entry re; | ||
| 200 | |||
| 201 | struct reserve_info *next; | ||
| 202 | |||
| 203 | char *label; | ||
| 204 | }; | ||
| 205 | |||
| 206 | struct reserve_info *build_reserve_entry(uint64_t start, uint64_t len, char *label); | ||
| 207 | struct reserve_info *chain_reserve_entry(struct reserve_info *first, | ||
| 208 | struct reserve_info *list); | ||
| 209 | struct reserve_info *add_reserve_entry(struct reserve_info *list, | ||
| 210 | struct reserve_info *new); | ||
| 211 | |||
| 212 | |||
| 213 | struct boot_info { | ||
| 214 | struct reserve_info *reservelist; | ||
| 215 | struct node *dt; /* the device tree */ | ||
| 216 | uint32_t boot_cpuid_phys; | ||
| 217 | }; | ||
| 218 | |||
| 219 | struct boot_info *build_boot_info(struct reserve_info *reservelist, | ||
| 220 | struct node *tree, uint32_t boot_cpuid_phys); | ||
| 221 | |||
| 222 | /* Checks */ | ||
| 223 | |||
| 224 | void process_checks(int force, struct boot_info *bi); | ||
| 225 | |||
| 226 | /* Flattened trees */ | ||
| 227 | |||
| 228 | void dt_to_blob(FILE *f, struct boot_info *bi, int version); | ||
| 229 | void dt_to_asm(FILE *f, struct boot_info *bi, int version); | ||
| 230 | |||
| 231 | struct boot_info *dt_from_blob(const char *fname); | ||
| 232 | |||
| 233 | /* Tree source */ | ||
| 234 | |||
| 235 | void dt_to_source(FILE *f, struct boot_info *bi); | ||
| 236 | struct boot_info *dt_from_source(const char *f); | ||
| 237 | |||
| 238 | /* FS trees */ | ||
| 239 | |||
| 240 | struct boot_info *dt_from_fs(const char *dirname); | ||
| 241 | |||
| 242 | /* misc */ | ||
| 243 | |||
| 244 | char *join_path(const char *path, const char *name); | ||
| 245 | |||
| 246 | #endif /* _DTC_H */ | ||
diff --git a/arch/powerpc/boot/dtc-src/flattree.c b/arch/powerpc/boot/dtc-src/flattree.c deleted file mode 100644 index 76acd28c068d..000000000000 --- a/arch/powerpc/boot/dtc-src/flattree.c +++ /dev/null | |||
| @@ -1,906 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | #include "srcpos.h" | ||
| 23 | |||
| 24 | #define FTF_FULLPATH 0x1 | ||
| 25 | #define FTF_VARALIGN 0x2 | ||
| 26 | #define FTF_NAMEPROPS 0x4 | ||
| 27 | #define FTF_BOOTCPUID 0x8 | ||
| 28 | #define FTF_STRTABSIZE 0x10 | ||
| 29 | #define FTF_STRUCTSIZE 0x20 | ||
| 30 | #define FTF_NOPS 0x40 | ||
| 31 | |||
| 32 | static struct version_info { | ||
| 33 | int version; | ||
| 34 | int last_comp_version; | ||
| 35 | int hdr_size; | ||
| 36 | int flags; | ||
| 37 | } version_table[] = { | ||
| 38 | {1, 1, FDT_V1_SIZE, | ||
| 39 | FTF_FULLPATH|FTF_VARALIGN|FTF_NAMEPROPS}, | ||
| 40 | {2, 1, FDT_V2_SIZE, | ||
| 41 | FTF_FULLPATH|FTF_VARALIGN|FTF_NAMEPROPS|FTF_BOOTCPUID}, | ||
| 42 | {3, 1, FDT_V3_SIZE, | ||
| 43 | FTF_FULLPATH|FTF_VARALIGN|FTF_NAMEPROPS|FTF_BOOTCPUID|FTF_STRTABSIZE}, | ||
| 44 | {16, 16, FDT_V3_SIZE, | ||
| 45 | FTF_BOOTCPUID|FTF_STRTABSIZE|FTF_NOPS}, | ||
| 46 | {17, 16, FDT_V17_SIZE, | ||
| 47 | FTF_BOOTCPUID|FTF_STRTABSIZE|FTF_STRUCTSIZE|FTF_NOPS}, | ||
| 48 | }; | ||
| 49 | |||
| 50 | struct emitter { | ||
| 51 | void (*cell)(void *, cell_t); | ||
| 52 | void (*string)(void *, char *, int); | ||
| 53 | void (*align)(void *, int); | ||
| 54 | void (*data)(void *, struct data); | ||
| 55 | void (*beginnode)(void *, const char *); | ||
| 56 | void (*endnode)(void *, const char *); | ||
| 57 | void (*property)(void *, const char *); | ||
| 58 | }; | ||
| 59 | |||
| 60 | static void bin_emit_cell(void *e, cell_t val) | ||
| 61 | { | ||
| 62 | struct data *dtbuf = e; | ||
| 63 | |||
| 64 | *dtbuf = data_append_cell(*dtbuf, val); | ||
| 65 | } | ||
| 66 | |||
| 67 | static void bin_emit_string(void *e, char *str, int len) | ||
| 68 | { | ||
| 69 | struct data *dtbuf = e; | ||
| 70 | |||
| 71 | if (len == 0) | ||
| 72 | len = strlen(str); | ||
| 73 | |||
| 74 | *dtbuf = data_append_data(*dtbuf, str, len); | ||
| 75 | *dtbuf = data_append_byte(*dtbuf, '\0'); | ||
| 76 | } | ||
| 77 | |||
| 78 | static void bin_emit_align(void *e, int a) | ||
| 79 | { | ||
| 80 | struct data *dtbuf = e; | ||
| 81 | |||
| 82 | *dtbuf = data_append_align(*dtbuf, a); | ||
| 83 | } | ||
| 84 | |||
| 85 | static void bin_emit_data(void *e, struct data d) | ||
| 86 | { | ||
| 87 | struct data *dtbuf = e; | ||
| 88 | |||
| 89 | *dtbuf = data_append_data(*dtbuf, d.val, d.len); | ||
| 90 | } | ||
| 91 | |||
| 92 | static void bin_emit_beginnode(void *e, const char *label) | ||
| 93 | { | ||
| 94 | bin_emit_cell(e, FDT_BEGIN_NODE); | ||
| 95 | } | ||
| 96 | |||
| 97 | static void bin_emit_endnode(void *e, const char *label) | ||
| 98 | { | ||
| 99 | bin_emit_cell(e, FDT_END_NODE); | ||
| 100 | } | ||
| 101 | |||
| 102 | static void bin_emit_property(void *e, const char *label) | ||
| 103 | { | ||
| 104 | bin_emit_cell(e, FDT_PROP); | ||
| 105 | } | ||
| 106 | |||
| 107 | static struct emitter bin_emitter = { | ||
| 108 | .cell = bin_emit_cell, | ||
| 109 | .string = bin_emit_string, | ||
| 110 | .align = bin_emit_align, | ||
| 111 | .data = bin_emit_data, | ||
| 112 | .beginnode = bin_emit_beginnode, | ||
| 113 | .endnode = bin_emit_endnode, | ||
| 114 | .property = bin_emit_property, | ||
| 115 | }; | ||
| 116 | |||
| 117 | static void emit_label(FILE *f, const char *prefix, const char *label) | ||
| 118 | { | ||
| 119 | fprintf(f, "\t.globl\t%s_%s\n", prefix, label); | ||
| 120 | fprintf(f, "%s_%s:\n", prefix, label); | ||
| 121 | fprintf(f, "_%s_%s:\n", prefix, label); | ||
| 122 | } | ||
| 123 | |||
| 124 | static void emit_offset_label(FILE *f, const char *label, int offset) | ||
| 125 | { | ||
| 126 | fprintf(f, "\t.globl\t%s\n", label); | ||
| 127 | fprintf(f, "%s\t= . + %d\n", label, offset); | ||
| 128 | } | ||
| 129 | |||
| 130 | static void asm_emit_cell(void *e, cell_t val) | ||
| 131 | { | ||
| 132 | FILE *f = e; | ||
| 133 | |||
| 134 | fprintf(f, "\t.long\t0x%x\n", val); | ||
| 135 | } | ||
| 136 | |||
| 137 | static void asm_emit_string(void *e, char *str, int len) | ||
| 138 | { | ||
| 139 | FILE *f = e; | ||
| 140 | char c = 0; | ||
| 141 | |||
| 142 | if (len != 0) { | ||
| 143 | /* XXX: ewww */ | ||
| 144 | c = str[len]; | ||
| 145 | str[len] = '\0'; | ||
| 146 | } | ||
| 147 | |||
| 148 | fprintf(f, "\t.string\t\"%s\"\n", str); | ||
| 149 | |||
| 150 | if (len != 0) { | ||
| 151 | str[len] = c; | ||
| 152 | } | ||
| 153 | } | ||
| 154 | |||
| 155 | static void asm_emit_align(void *e, int a) | ||
| 156 | { | ||
| 157 | FILE *f = e; | ||
| 158 | |||
| 159 | fprintf(f, "\t.balign\t%d\n", a); | ||
| 160 | } | ||
| 161 | |||
| 162 | static void asm_emit_data(void *e, struct data d) | ||
| 163 | { | ||
| 164 | FILE *f = e; | ||
| 165 | int off = 0; | ||
| 166 | struct marker *m = d.markers; | ||
| 167 | |||
| 168 | for_each_marker_of_type(m, LABEL) | ||
| 169 | emit_offset_label(f, m->ref, m->offset); | ||
| 170 | |||
| 171 | while ((d.len - off) >= sizeof(uint32_t)) { | ||
| 172 | fprintf(f, "\t.long\t0x%x\n", | ||
| 173 | fdt32_to_cpu(*((uint32_t *)(d.val+off)))); | ||
| 174 | off += sizeof(uint32_t); | ||
| 175 | } | ||
| 176 | |||
| 177 | while ((d.len - off) >= 1) { | ||
| 178 | fprintf(f, "\t.byte\t0x%hhx\n", d.val[off]); | ||
| 179 | off += 1; | ||
| 180 | } | ||
| 181 | |||
| 182 | assert(off == d.len); | ||
| 183 | } | ||
| 184 | |||
| 185 | static void asm_emit_beginnode(void *e, const char *label) | ||
| 186 | { | ||
| 187 | FILE *f = e; | ||
| 188 | |||
| 189 | if (label) { | ||
| 190 | fprintf(f, "\t.globl\t%s\n", label); | ||
| 191 | fprintf(f, "%s:\n", label); | ||
| 192 | } | ||
| 193 | fprintf(f, "\t.long\tFDT_BEGIN_NODE\n"); | ||
| 194 | } | ||
| 195 | |||
| 196 | static void asm_emit_endnode(void *e, const char *label) | ||
| 197 | { | ||
| 198 | FILE *f = e; | ||
| 199 | |||
| 200 | fprintf(f, "\t.long\tFDT_END_NODE\n"); | ||
| 201 | if (label) { | ||
| 202 | fprintf(f, "\t.globl\t%s_end\n", label); | ||
| 203 | fprintf(f, "%s_end:\n", label); | ||
| 204 | } | ||
| 205 | } | ||
| 206 | |||
| 207 | static void asm_emit_property(void *e, const char *label) | ||
| 208 | { | ||
| 209 | FILE *f = e; | ||
| 210 | |||
| 211 | if (label) { | ||
| 212 | fprintf(f, "\t.globl\t%s\n", label); | ||
| 213 | fprintf(f, "%s:\n", label); | ||
| 214 | } | ||
| 215 | fprintf(f, "\t.long\tFDT_PROP\n"); | ||
| 216 | } | ||
| 217 | |||
| 218 | static struct emitter asm_emitter = { | ||
| 219 | .cell = asm_emit_cell, | ||
| 220 | .string = asm_emit_string, | ||
| 221 | .align = asm_emit_align, | ||
| 222 | .data = asm_emit_data, | ||
| 223 | .beginnode = asm_emit_beginnode, | ||
| 224 | .endnode = asm_emit_endnode, | ||
| 225 | .property = asm_emit_property, | ||
| 226 | }; | ||
| 227 | |||
| 228 | static int stringtable_insert(struct data *d, const char *str) | ||
| 229 | { | ||
| 230 | int i; | ||
| 231 | |||
| 232 | /* FIXME: do this more efficiently? */ | ||
| 233 | |||
| 234 | for (i = 0; i < d->len; i++) { | ||
| 235 | if (streq(str, d->val + i)) | ||
| 236 | return i; | ||
| 237 | } | ||
| 238 | |||
| 239 | *d = data_append_data(*d, str, strlen(str)+1); | ||
| 240 | return i; | ||
| 241 | } | ||
| 242 | |||
| 243 | static void flatten_tree(struct node *tree, struct emitter *emit, | ||
| 244 | void *etarget, struct data *strbuf, | ||
| 245 | struct version_info *vi) | ||
| 246 | { | ||
| 247 | struct property *prop; | ||
| 248 | struct node *child; | ||
| 249 | int seen_name_prop = 0; | ||
| 250 | |||
| 251 | emit->beginnode(etarget, tree->label); | ||
| 252 | |||
| 253 | if (vi->flags & FTF_FULLPATH) | ||
| 254 | emit->string(etarget, tree->fullpath, 0); | ||
| 255 | else | ||
| 256 | emit->string(etarget, tree->name, 0); | ||
| 257 | |||
| 258 | emit->align(etarget, sizeof(cell_t)); | ||
| 259 | |||
| 260 | for_each_property(tree, prop) { | ||
| 261 | int nameoff; | ||
| 262 | |||
| 263 | if (streq(prop->name, "name")) | ||
| 264 | seen_name_prop = 1; | ||
| 265 | |||
| 266 | nameoff = stringtable_insert(strbuf, prop->name); | ||
| 267 | |||
| 268 | emit->property(etarget, prop->label); | ||
| 269 | emit->cell(etarget, prop->val.len); | ||
| 270 | emit->cell(etarget, nameoff); | ||
| 271 | |||
| 272 | if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) | ||
| 273 | emit->align(etarget, 8); | ||
| 274 | |||
| 275 | emit->data(etarget, prop->val); | ||
| 276 | emit->align(etarget, sizeof(cell_t)); | ||
| 277 | } | ||
| 278 | |||
| 279 | if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { | ||
| 280 | emit->property(etarget, NULL); | ||
| 281 | emit->cell(etarget, tree->basenamelen+1); | ||
| 282 | emit->cell(etarget, stringtable_insert(strbuf, "name")); | ||
| 283 | |||
| 284 | if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) | ||
| 285 | emit->align(etarget, 8); | ||
| 286 | |||
| 287 | emit->string(etarget, tree->name, tree->basenamelen); | ||
| 288 | emit->align(etarget, sizeof(cell_t)); | ||
| 289 | } | ||
| 290 | |||
| 291 | for_each_child(tree, child) { | ||
| 292 | flatten_tree(child, emit, etarget, strbuf, vi); | ||
| 293 | } | ||
| 294 | |||
| 295 | emit->endnode(etarget, tree->label); | ||
| 296 | } | ||
| 297 | |||
| 298 | static struct data flatten_reserve_list(struct reserve_info *reservelist, | ||
| 299 | struct version_info *vi) | ||
| 300 | { | ||
| 301 | struct reserve_info *re; | ||
| 302 | struct data d = empty_data; | ||
| 303 | static struct fdt_reserve_entry null_re = {0,0}; | ||
| 304 | int j; | ||
| 305 | |||
| 306 | for (re = reservelist; re; re = re->next) { | ||
| 307 | d = data_append_re(d, &re->re); | ||
| 308 | } | ||
| 309 | /* | ||
| 310 | * Add additional reserved slots if the user asked for them. | ||
| 311 | */ | ||
| 312 | for (j = 0; j < reservenum; j++) { | ||
| 313 | d = data_append_re(d, &null_re); | ||
| 314 | } | ||
| 315 | |||
| 316 | return d; | ||
| 317 | } | ||
| 318 | |||
| 319 | static void make_fdt_header(struct fdt_header *fdt, | ||
| 320 | struct version_info *vi, | ||
| 321 | int reservesize, int dtsize, int strsize, | ||
| 322 | int boot_cpuid_phys) | ||
| 323 | { | ||
| 324 | int reserve_off; | ||
| 325 | |||
| 326 | reservesize += sizeof(struct fdt_reserve_entry); | ||
| 327 | |||
| 328 | memset(fdt, 0xff, sizeof(*fdt)); | ||
| 329 | |||
| 330 | fdt->magic = cpu_to_fdt32(FDT_MAGIC); | ||
| 331 | fdt->version = cpu_to_fdt32(vi->version); | ||
| 332 | fdt->last_comp_version = cpu_to_fdt32(vi->last_comp_version); | ||
| 333 | |||
| 334 | /* Reserve map should be doubleword aligned */ | ||
| 335 | reserve_off = ALIGN(vi->hdr_size, 8); | ||
| 336 | |||
| 337 | fdt->off_mem_rsvmap = cpu_to_fdt32(reserve_off); | ||
| 338 | fdt->off_dt_struct = cpu_to_fdt32(reserve_off + reservesize); | ||
| 339 | fdt->off_dt_strings = cpu_to_fdt32(reserve_off + reservesize | ||
| 340 | + dtsize); | ||
| 341 | fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); | ||
| 342 | |||
| 343 | if (vi->flags & FTF_BOOTCPUID) | ||
| 344 | fdt->boot_cpuid_phys = cpu_to_fdt32(boot_cpuid_phys); | ||
| 345 | if (vi->flags & FTF_STRTABSIZE) | ||
| 346 | fdt->size_dt_strings = cpu_to_fdt32(strsize); | ||
| 347 | if (vi->flags & FTF_STRUCTSIZE) | ||
| 348 | fdt->size_dt_struct = cpu_to_fdt32(dtsize); | ||
| 349 | } | ||
| 350 | |||
| 351 | void dt_to_blob(FILE *f, struct boot_info *bi, int version) | ||
| 352 | { | ||
| 353 | struct version_info *vi = NULL; | ||
| 354 | int i; | ||
| 355 | struct data blob = empty_data; | ||
| 356 | struct data reservebuf = empty_data; | ||
| 357 | struct data dtbuf = empty_data; | ||
| 358 | struct data strbuf = empty_data; | ||
| 359 | struct fdt_header fdt; | ||
| 360 | int padlen = 0; | ||
| 361 | |||
| 362 | for (i = 0; i < ARRAY_SIZE(version_table); i++) { | ||
| 363 | if (version_table[i].version == version) | ||
| 364 | vi = &version_table[i]; | ||
| 365 | } | ||
| 366 | if (!vi) | ||
| 367 | die("Unknown device tree blob version %d\n", version); | ||
| 368 | |||
| 369 | flatten_tree(bi->dt, &bin_emitter, &dtbuf, &strbuf, vi); | ||
| 370 | bin_emit_cell(&dtbuf, FDT_END); | ||
| 371 | |||
| 372 | reservebuf = flatten_reserve_list(bi->reservelist, vi); | ||
| 373 | |||
| 374 | /* Make header */ | ||
| 375 | make_fdt_header(&fdt, vi, reservebuf.len, dtbuf.len, strbuf.len, | ||
| 376 | bi->boot_cpuid_phys); | ||
| 377 | |||
| 378 | /* | ||
| 379 | * If the user asked for more space than is used, adjust the totalsize. | ||
| 380 | */ | ||
| 381 | if (minsize > 0) { | ||
| 382 | padlen = minsize - fdt32_to_cpu(fdt.totalsize); | ||
| 383 | if ((padlen < 0) && (quiet < 1)) | ||
| 384 | fprintf(stderr, | ||
| 385 | "Warning: blob size %d >= minimum size %d\n", | ||
| 386 | fdt32_to_cpu(fdt.totalsize), minsize); | ||
| 387 | } | ||
| 388 | |||
| 389 | if (padsize > 0) | ||
| 390 | padlen = padsize; | ||
| 391 | |||
| 392 | if (padlen > 0) { | ||
| 393 | int tsize = fdt32_to_cpu(fdt.totalsize); | ||
| 394 | tsize += padlen; | ||
| 395 | fdt.totalsize = cpu_to_fdt32(tsize); | ||
| 396 | } | ||
| 397 | |||
| 398 | /* | ||
| 399 | * Assemble the blob: start with the header, add with alignment | ||
| 400 | * the reserve buffer, add the reserve map terminating zeroes, | ||
| 401 | * the device tree itself, and finally the strings. | ||
| 402 | */ | ||
| 403 | blob = data_append_data(blob, &fdt, vi->hdr_size); | ||
| 404 | blob = data_append_align(blob, 8); | ||
| 405 | blob = data_merge(blob, reservebuf); | ||
| 406 | blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry)); | ||
| 407 | blob = data_merge(blob, dtbuf); | ||
| 408 | blob = data_merge(blob, strbuf); | ||
| 409 | |||
| 410 | /* | ||
| 411 | * If the user asked for more space than is used, pad out the blob. | ||
| 412 | */ | ||
| 413 | if (padlen > 0) | ||
| 414 | blob = data_append_zeroes(blob, padlen); | ||
| 415 | |||
| 416 | fwrite(blob.val, blob.len, 1, f); | ||
| 417 | |||
| 418 | if (ferror(f)) | ||
| 419 | die("Error writing device tree blob: %s\n", strerror(errno)); | ||
| 420 | |||
| 421 | /* | ||
| 422 | * data_merge() frees the right-hand element so only the blob | ||
| 423 | * remains to be freed. | ||
| 424 | */ | ||
| 425 | data_free(blob); | ||
| 426 | } | ||
| 427 | |||
| 428 | static void dump_stringtable_asm(FILE *f, struct data strbuf) | ||
| 429 | { | ||
| 430 | const char *p; | ||
| 431 | int len; | ||
| 432 | |||
| 433 | p = strbuf.val; | ||
| 434 | |||
| 435 | while (p < (strbuf.val + strbuf.len)) { | ||
| 436 | len = strlen(p); | ||
| 437 | fprintf(f, "\t.string \"%s\"\n", p); | ||
| 438 | p += len+1; | ||
| 439 | } | ||
| 440 | } | ||
| 441 | |||
| 442 | void dt_to_asm(FILE *f, struct boot_info *bi, int version) | ||
| 443 | { | ||
| 444 | struct version_info *vi = NULL; | ||
| 445 | int i; | ||
| 446 | struct data strbuf = empty_data; | ||
| 447 | struct reserve_info *re; | ||
| 448 | const char *symprefix = "dt"; | ||
| 449 | |||
| 450 | for (i = 0; i < ARRAY_SIZE(version_table); i++) { | ||
| 451 | if (version_table[i].version == version) | ||
| 452 | vi = &version_table[i]; | ||
| 453 | } | ||
| 454 | if (!vi) | ||
| 455 | die("Unknown device tree blob version %d\n", version); | ||
| 456 | |||
| 457 | fprintf(f, "/* autogenerated by dtc, do not edit */\n\n"); | ||
| 458 | fprintf(f, "#define FDT_MAGIC 0x%x\n", FDT_MAGIC); | ||
| 459 | fprintf(f, "#define FDT_BEGIN_NODE 0x%x\n", FDT_BEGIN_NODE); | ||
| 460 | fprintf(f, "#define FDT_END_NODE 0x%x\n", FDT_END_NODE); | ||
| 461 | fprintf(f, "#define FDT_PROP 0x%x\n", FDT_PROP); | ||
| 462 | fprintf(f, "#define FDT_END 0x%x\n", FDT_END); | ||
| 463 | fprintf(f, "\n"); | ||
| 464 | |||
| 465 | emit_label(f, symprefix, "blob_start"); | ||
| 466 | emit_label(f, symprefix, "header"); | ||
| 467 | fprintf(f, "\t.long\tFDT_MAGIC\t\t\t\t/* magic */\n"); | ||
| 468 | fprintf(f, "\t.long\t_%s_blob_abs_end - _%s_blob_start\t/* totalsize */\n", | ||
| 469 | symprefix, symprefix); | ||
| 470 | fprintf(f, "\t.long\t_%s_struct_start - _%s_blob_start\t/* off_dt_struct */\n", | ||
| 471 | symprefix, symprefix); | ||
| 472 | fprintf(f, "\t.long\t_%s_strings_start - _%s_blob_start\t/* off_dt_strings */\n", | ||
| 473 | symprefix, symprefix); | ||
| 474 | fprintf(f, "\t.long\t_%s_reserve_map - _%s_blob_start\t/* off_dt_strings */\n", | ||
| 475 | symprefix, symprefix); | ||
| 476 | fprintf(f, "\t.long\t%d\t\t\t\t\t/* version */\n", vi->version); | ||
| 477 | fprintf(f, "\t.long\t%d\t\t\t\t\t/* last_comp_version */\n", | ||
| 478 | vi->last_comp_version); | ||
| 479 | |||
| 480 | if (vi->flags & FTF_BOOTCPUID) | ||
| 481 | fprintf(f, "\t.long\t%i\t\t\t\t\t/* boot_cpuid_phys */\n", | ||
| 482 | bi->boot_cpuid_phys); | ||
| 483 | |||
| 484 | if (vi->flags & FTF_STRTABSIZE) | ||
| 485 | fprintf(f, "\t.long\t_%s_strings_end - _%s_strings_start\t/* size_dt_strings */\n", | ||
| 486 | symprefix, symprefix); | ||
| 487 | |||
| 488 | if (vi->flags & FTF_STRUCTSIZE) | ||
| 489 | fprintf(f, "\t.long\t_%s_struct_end - _%s_struct_start\t/* size_dt_struct */\n", | ||
| 490 | symprefix, symprefix); | ||
| 491 | |||
| 492 | /* | ||
| 493 | * Reserve map entries. | ||
| 494 | * Align the reserve map to a doubleword boundary. | ||
| 495 | * Each entry is an (address, size) pair of u64 values. | ||
| 496 | * Always supply a zero-sized temination entry. | ||
| 497 | */ | ||
| 498 | asm_emit_align(f, 8); | ||
| 499 | emit_label(f, symprefix, "reserve_map"); | ||
| 500 | |||
| 501 | fprintf(f, "/* Memory reserve map from source file */\n"); | ||
| 502 | |||
| 503 | /* | ||
| 504 | * Use .long on high and low halfs of u64s to avoid .quad | ||
| 505 | * as it appears .quad isn't available in some assemblers. | ||
| 506 | */ | ||
| 507 | for (re = bi->reservelist; re; re = re->next) { | ||
| 508 | if (re->label) { | ||
| 509 | fprintf(f, "\t.globl\t%s\n", re->label); | ||
| 510 | fprintf(f, "%s:\n", re->label); | ||
| 511 | } | ||
| 512 | fprintf(f, "\t.long\t0x%08x, 0x%08x\n", | ||
| 513 | (unsigned int)(re->re.address >> 32), | ||
| 514 | (unsigned int)(re->re.address & 0xffffffff)); | ||
| 515 | fprintf(f, "\t.long\t0x%08x, 0x%08x\n", | ||
| 516 | (unsigned int)(re->re.size >> 32), | ||
| 517 | (unsigned int)(re->re.size & 0xffffffff)); | ||
| 518 | } | ||
| 519 | for (i = 0; i < reservenum; i++) { | ||
| 520 | fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n"); | ||
| 521 | } | ||
| 522 | |||
| 523 | fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n"); | ||
| 524 | |||
| 525 | emit_label(f, symprefix, "struct_start"); | ||
| 526 | flatten_tree(bi->dt, &asm_emitter, f, &strbuf, vi); | ||
| 527 | fprintf(f, "\t.long\tFDT_END\n"); | ||
| 528 | emit_label(f, symprefix, "struct_end"); | ||
| 529 | |||
| 530 | emit_label(f, symprefix, "strings_start"); | ||
| 531 | dump_stringtable_asm(f, strbuf); | ||
| 532 | emit_label(f, symprefix, "strings_end"); | ||
| 533 | |||
| 534 | emit_label(f, symprefix, "blob_end"); | ||
| 535 | |||
| 536 | /* | ||
| 537 | * If the user asked for more space than is used, pad it out. | ||
| 538 | */ | ||
| 539 | if (minsize > 0) { | ||
| 540 | fprintf(f, "\t.space\t%d - (_%s_blob_end - _%s_blob_start), 0\n", | ||
| 541 | minsize, symprefix, symprefix); | ||
| 542 | } | ||
| 543 | if (padsize > 0) { | ||
| 544 | fprintf(f, "\t.space\t%d, 0\n", padsize); | ||
| 545 | } | ||
| 546 | emit_label(f, symprefix, "blob_abs_end"); | ||
| 547 | |||
| 548 | data_free(strbuf); | ||
| 549 | } | ||
| 550 | |||
| 551 | struct inbuf { | ||
| 552 | char *base, *limit, *ptr; | ||
| 553 | }; | ||
| 554 | |||
| 555 | static void inbuf_init(struct inbuf *inb, void *base, void *limit) | ||
| 556 | { | ||
| 557 | inb->base = base; | ||
| 558 | inb->limit = limit; | ||
| 559 | inb->ptr = inb->base; | ||
| 560 | } | ||
| 561 | |||
| 562 | static void flat_read_chunk(struct inbuf *inb, void *p, int len) | ||
| 563 | { | ||
| 564 | if ((inb->ptr + len) > inb->limit) | ||
| 565 | die("Premature end of data parsing flat device tree\n"); | ||
| 566 | |||
| 567 | memcpy(p, inb->ptr, len); | ||
| 568 | |||
| 569 | inb->ptr += len; | ||
| 570 | } | ||
| 571 | |||
| 572 | static uint32_t flat_read_word(struct inbuf *inb) | ||
| 573 | { | ||
| 574 | uint32_t val; | ||
| 575 | |||
| 576 | assert(((inb->ptr - inb->base) % sizeof(val)) == 0); | ||
| 577 | |||
| 578 | flat_read_chunk(inb, &val, sizeof(val)); | ||
| 579 | |||
| 580 | return fdt32_to_cpu(val); | ||
| 581 | } | ||
| 582 | |||
| 583 | static void flat_realign(struct inbuf *inb, int align) | ||
| 584 | { | ||
| 585 | int off = inb->ptr - inb->base; | ||
| 586 | |||
| 587 | inb->ptr = inb->base + ALIGN(off, align); | ||
| 588 | if (inb->ptr > inb->limit) | ||
| 589 | die("Premature end of data parsing flat device tree\n"); | ||
| 590 | } | ||
| 591 | |||
| 592 | static char *flat_read_string(struct inbuf *inb) | ||
| 593 | { | ||
| 594 | int len = 0; | ||
| 595 | const char *p = inb->ptr; | ||
| 596 | char *str; | ||
| 597 | |||
| 598 | do { | ||
| 599 | if (p >= inb->limit) | ||
| 600 | die("Premature end of data parsing flat device tree\n"); | ||
| 601 | len++; | ||
| 602 | } while ((*p++) != '\0'); | ||
| 603 | |||
| 604 | str = strdup(inb->ptr); | ||
| 605 | |||
| 606 | inb->ptr += len; | ||
| 607 | |||
| 608 | flat_realign(inb, sizeof(uint32_t)); | ||
| 609 | |||
| 610 | return str; | ||
| 611 | } | ||
| 612 | |||
| 613 | static struct data flat_read_data(struct inbuf *inb, int len) | ||
| 614 | { | ||
| 615 | struct data d = empty_data; | ||
| 616 | |||
| 617 | if (len == 0) | ||
| 618 | return empty_data; | ||
| 619 | |||
| 620 | d = data_grow_for(d, len); | ||
| 621 | d.len = len; | ||
| 622 | |||
| 623 | flat_read_chunk(inb, d.val, len); | ||
| 624 | |||
| 625 | flat_realign(inb, sizeof(uint32_t)); | ||
| 626 | |||
| 627 | return d; | ||
| 628 | } | ||
| 629 | |||
| 630 | static char *flat_read_stringtable(struct inbuf *inb, int offset) | ||
| 631 | { | ||
| 632 | const char *p; | ||
| 633 | |||
| 634 | p = inb->base + offset; | ||
| 635 | while (1) { | ||
| 636 | if (p >= inb->limit || p < inb->base) | ||
| 637 | die("String offset %d overruns string table\n", | ||
| 638 | offset); | ||
| 639 | |||
| 640 | if (*p == '\0') | ||
| 641 | break; | ||
| 642 | |||
| 643 | p++; | ||
| 644 | } | ||
| 645 | |||
| 646 | return strdup(inb->base + offset); | ||
| 647 | } | ||
| 648 | |||
| 649 | static struct property *flat_read_property(struct inbuf *dtbuf, | ||
| 650 | struct inbuf *strbuf, int flags) | ||
| 651 | { | ||
| 652 | uint32_t proplen, stroff; | ||
| 653 | char *name; | ||
| 654 | struct data val; | ||
| 655 | |||
| 656 | proplen = flat_read_word(dtbuf); | ||
| 657 | stroff = flat_read_word(dtbuf); | ||
| 658 | |||
| 659 | name = flat_read_stringtable(strbuf, stroff); | ||
| 660 | |||
| 661 | if ((flags & FTF_VARALIGN) && (proplen >= 8)) | ||
| 662 | flat_realign(dtbuf, 8); | ||
| 663 | |||
| 664 | val = flat_read_data(dtbuf, proplen); | ||
| 665 | |||
| 666 | return build_property(name, val, NULL); | ||
| 667 | } | ||
| 668 | |||
| 669 | |||
| 670 | static struct reserve_info *flat_read_mem_reserve(struct inbuf *inb) | ||
| 671 | { | ||
| 672 | struct reserve_info *reservelist = NULL; | ||
| 673 | struct reserve_info *new; | ||
| 674 | const char *p; | ||
| 675 | struct fdt_reserve_entry re; | ||
| 676 | |||
| 677 | /* | ||
| 678 | * Each entry is a pair of u64 (addr, size) values for 4 cell_t's. | ||
| 679 | * List terminates at an entry with size equal to zero. | ||
| 680 | * | ||
| 681 | * First pass, count entries. | ||
| 682 | */ | ||
| 683 | p = inb->ptr; | ||
| 684 | while (1) { | ||
| 685 | flat_read_chunk(inb, &re, sizeof(re)); | ||
| 686 | re.address = fdt64_to_cpu(re.address); | ||
| 687 | re.size = fdt64_to_cpu(re.size); | ||
| 688 | if (re.size == 0) | ||
| 689 | break; | ||
| 690 | |||
| 691 | new = build_reserve_entry(re.address, re.size, NULL); | ||
| 692 | reservelist = add_reserve_entry(reservelist, new); | ||
| 693 | } | ||
| 694 | |||
| 695 | return reservelist; | ||
| 696 | } | ||
| 697 | |||
| 698 | |||
| 699 | static char *nodename_from_path(const char *ppath, const char *cpath) | ||
| 700 | { | ||
| 701 | int plen; | ||
| 702 | |||
| 703 | plen = strlen(ppath); | ||
| 704 | |||
| 705 | if (!strneq(ppath, cpath, plen)) | ||
| 706 | die("Path \"%s\" is not valid as a child of \"%s\"\n", | ||
| 707 | cpath, ppath); | ||
| 708 | |||
| 709 | /* root node is a special case */ | ||
| 710 | if (!streq(ppath, "/")) | ||
| 711 | plen++; | ||
| 712 | |||
| 713 | return strdup(cpath + plen); | ||
| 714 | } | ||
| 715 | |||
| 716 | static struct node *unflatten_tree(struct inbuf *dtbuf, | ||
| 717 | struct inbuf *strbuf, | ||
| 718 | const char *parent_flatname, int flags) | ||
| 719 | { | ||
| 720 | struct node *node; | ||
| 721 | char *flatname; | ||
| 722 | uint32_t val; | ||
| 723 | |||
| 724 | node = build_node(NULL, NULL); | ||
| 725 | |||
| 726 | flatname = flat_read_string(dtbuf); | ||
| 727 | |||
| 728 | if (flags & FTF_FULLPATH) | ||
| 729 | node->name = nodename_from_path(parent_flatname, flatname); | ||
| 730 | else | ||
| 731 | node->name = flatname; | ||
| 732 | |||
| 733 | do { | ||
| 734 | struct property *prop; | ||
| 735 | struct node *child; | ||
| 736 | |||
| 737 | val = flat_read_word(dtbuf); | ||
| 738 | switch (val) { | ||
| 739 | case FDT_PROP: | ||
| 740 | if (node->children) | ||
| 741 | fprintf(stderr, "Warning: Flat tree input has " | ||
| 742 | "subnodes preceding a property.\n"); | ||
| 743 | prop = flat_read_property(dtbuf, strbuf, flags); | ||
| 744 | add_property(node, prop); | ||
| 745 | break; | ||
| 746 | |||
| 747 | case FDT_BEGIN_NODE: | ||
| 748 | child = unflatten_tree(dtbuf,strbuf, flatname, flags); | ||
| 749 | add_child(node, child); | ||
| 750 | break; | ||
| 751 | |||
| 752 | case FDT_END_NODE: | ||
| 753 | break; | ||
| 754 | |||
| 755 | case FDT_END: | ||
| 756 | die("Premature FDT_END in device tree blob\n"); | ||
| 757 | break; | ||
| 758 | |||
| 759 | case FDT_NOP: | ||
| 760 | if (!(flags & FTF_NOPS)) | ||
| 761 | fprintf(stderr, "Warning: NOP tag found in flat tree" | ||
| 762 | " version <16\n"); | ||
| 763 | |||
| 764 | /* Ignore */ | ||
| 765 | break; | ||
| 766 | |||
| 767 | default: | ||
| 768 | die("Invalid opcode word %08x in device tree blob\n", | ||
| 769 | val); | ||
| 770 | } | ||
| 771 | } while (val != FDT_END_NODE); | ||
| 772 | |||
| 773 | return node; | ||
| 774 | } | ||
| 775 | |||
| 776 | |||
| 777 | struct boot_info *dt_from_blob(const char *fname) | ||
| 778 | { | ||
| 779 | struct dtc_file *dtcf; | ||
| 780 | uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; | ||
| 781 | uint32_t off_dt, off_str, off_mem_rsvmap; | ||
| 782 | int rc; | ||
| 783 | char *blob; | ||
| 784 | struct fdt_header *fdt; | ||
| 785 | char *p; | ||
| 786 | struct inbuf dtbuf, strbuf; | ||
| 787 | struct inbuf memresvbuf; | ||
| 788 | int sizeleft; | ||
| 789 | struct reserve_info *reservelist; | ||
| 790 | struct node *tree; | ||
| 791 | uint32_t val; | ||
| 792 | int flags = 0; | ||
| 793 | |||
| 794 | dtcf = dtc_open_file(fname, NULL); | ||
| 795 | |||
| 796 | rc = fread(&magic, sizeof(magic), 1, dtcf->file); | ||
| 797 | if (ferror(dtcf->file)) | ||
| 798 | die("Error reading DT blob magic number: %s\n", | ||
| 799 | strerror(errno)); | ||
| 800 | if (rc < 1) { | ||
| 801 | if (feof(dtcf->file)) | ||
| 802 | die("EOF reading DT blob magic number\n"); | ||
| 803 | else | ||
| 804 | die("Mysterious short read reading magic number\n"); | ||
| 805 | } | ||
| 806 | |||
| 807 | magic = fdt32_to_cpu(magic); | ||
| 808 | if (magic != FDT_MAGIC) | ||
| 809 | die("Blob has incorrect magic number\n"); | ||
| 810 | |||
| 811 | rc = fread(&totalsize, sizeof(totalsize), 1, dtcf->file); | ||
| 812 | if (ferror(dtcf->file)) | ||
| 813 | die("Error reading DT blob size: %s\n", strerror(errno)); | ||
| 814 | if (rc < 1) { | ||
| 815 | if (feof(dtcf->file)) | ||
| 816 | die("EOF reading DT blob size\n"); | ||
| 817 | else | ||
| 818 | die("Mysterious short read reading blob size\n"); | ||
| 819 | } | ||
| 820 | |||
| 821 | totalsize = fdt32_to_cpu(totalsize); | ||
| 822 | if (totalsize < FDT_V1_SIZE) | ||
| 823 | die("DT blob size (%d) is too small\n", totalsize); | ||
| 824 | |||
| 825 | blob = xmalloc(totalsize); | ||
| 826 | |||
| 827 | fdt = (struct fdt_header *)blob; | ||
| 828 | fdt->magic = cpu_to_fdt32(magic); | ||
| 829 | fdt->totalsize = cpu_to_fdt32(totalsize); | ||
| 830 | |||
| 831 | sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); | ||
| 832 | p = blob + sizeof(magic) + sizeof(totalsize); | ||
| 833 | |||
| 834 | while (sizeleft) { | ||
| 835 | if (feof(dtcf->file)) | ||
| 836 | die("EOF before reading %d bytes of DT blob\n", | ||
| 837 | totalsize); | ||
| 838 | |||
| 839 | rc = fread(p, 1, sizeleft, dtcf->file); | ||
| 840 | if (ferror(dtcf->file)) | ||
| 841 | die("Error reading DT blob: %s\n", | ||
| 842 | strerror(errno)); | ||
| 843 | |||
| 844 | sizeleft -= rc; | ||
| 845 | p += rc; | ||
| 846 | } | ||
| 847 | |||
| 848 | off_dt = fdt32_to_cpu(fdt->off_dt_struct); | ||
| 849 | off_str = fdt32_to_cpu(fdt->off_dt_strings); | ||
| 850 | off_mem_rsvmap = fdt32_to_cpu(fdt->off_mem_rsvmap); | ||
| 851 | version = fdt32_to_cpu(fdt->version); | ||
| 852 | boot_cpuid_phys = fdt32_to_cpu(fdt->boot_cpuid_phys); | ||
| 853 | |||
| 854 | if (off_mem_rsvmap >= totalsize) | ||
| 855 | die("Mem Reserve structure offset exceeds total size\n"); | ||
| 856 | |||
| 857 | if (off_dt >= totalsize) | ||
| 858 | die("DT structure offset exceeds total size\n"); | ||
| 859 | |||
| 860 | if (off_str > totalsize) | ||
| 861 | die("String table offset exceeds total size\n"); | ||
| 862 | |||
| 863 | if (version >= 3) { | ||
| 864 | uint32_t size_str = fdt32_to_cpu(fdt->size_dt_strings); | ||
| 865 | if (off_str+size_str > totalsize) | ||
| 866 | die("String table extends past total size\n"); | ||
| 867 | inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str); | ||
| 868 | } else { | ||
| 869 | inbuf_init(&strbuf, blob + off_str, blob + totalsize); | ||
| 870 | } | ||
| 871 | |||
| 872 | if (version >= 17) { | ||
| 873 | size_dt = fdt32_to_cpu(fdt->size_dt_struct); | ||
| 874 | if (off_dt+size_dt > totalsize) | ||
| 875 | die("Structure block extends past total size\n"); | ||
| 876 | } | ||
| 877 | |||
| 878 | if (version < 16) { | ||
| 879 | flags |= FTF_FULLPATH | FTF_NAMEPROPS | FTF_VARALIGN; | ||
| 880 | } else { | ||
| 881 | flags |= FTF_NOPS; | ||
| 882 | } | ||
| 883 | |||
| 884 | inbuf_init(&memresvbuf, | ||
| 885 | blob + off_mem_rsvmap, blob + totalsize); | ||
| 886 | inbuf_init(&dtbuf, blob + off_dt, blob + totalsize); | ||
| 887 | |||
| 888 | reservelist = flat_read_mem_reserve(&memresvbuf); | ||
| 889 | |||
| 890 | val = flat_read_word(&dtbuf); | ||
| 891 | |||
| 892 | if (val != FDT_BEGIN_NODE) | ||
| 893 | die("Device tree blob doesn't begin with FDT_BEGIN_NODE (begins with 0x%08x)\n", val); | ||
| 894 | |||
| 895 | tree = unflatten_tree(&dtbuf, &strbuf, "", flags); | ||
| 896 | |||
| 897 | val = flat_read_word(&dtbuf); | ||
| 898 | if (val != FDT_END) | ||
| 899 | die("Device tree blob doesn't end with FDT_END\n"); | ||
| 900 | |||
| 901 | free(blob); | ||
| 902 | |||
| 903 | dtc_close_file(dtcf); | ||
| 904 | |||
| 905 | return build_boot_info(reservelist, tree, boot_cpuid_phys); | ||
| 906 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/fstree.c b/arch/powerpc/boot/dtc-src/fstree.c deleted file mode 100644 index 766b2694d935..000000000000 --- a/arch/powerpc/boot/dtc-src/fstree.c +++ /dev/null | |||
| @@ -1,92 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | |||
| 23 | #include <dirent.h> | ||
| 24 | #include <sys/stat.h> | ||
| 25 | |||
| 26 | static struct node *read_fstree(const char *dirname) | ||
| 27 | { | ||
| 28 | DIR *d; | ||
| 29 | struct dirent *de; | ||
| 30 | struct stat st; | ||
| 31 | struct node *tree; | ||
| 32 | |||
| 33 | d = opendir(dirname); | ||
| 34 | if (!d) | ||
| 35 | die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); | ||
| 36 | |||
| 37 | tree = build_node(NULL, NULL); | ||
| 38 | |||
| 39 | while ((de = readdir(d)) != NULL) { | ||
| 40 | char *tmpnam; | ||
| 41 | |||
| 42 | if (streq(de->d_name, ".") | ||
| 43 | || streq(de->d_name, "..")) | ||
| 44 | continue; | ||
| 45 | |||
| 46 | tmpnam = join_path(dirname, de->d_name); | ||
| 47 | |||
| 48 | if (lstat(tmpnam, &st) < 0) | ||
| 49 | die("stat(%s): %s\n", tmpnam, strerror(errno)); | ||
| 50 | |||
| 51 | if (S_ISREG(st.st_mode)) { | ||
| 52 | struct property *prop; | ||
| 53 | FILE *pfile; | ||
| 54 | |||
| 55 | pfile = fopen(tmpnam, "r"); | ||
| 56 | if (! pfile) { | ||
| 57 | fprintf(stderr, | ||
| 58 | "WARNING: Cannot open %s: %s\n", | ||
| 59 | tmpnam, strerror(errno)); | ||
| 60 | } else { | ||
| 61 | prop = build_property(strdup(de->d_name), | ||
| 62 | data_copy_file(pfile, | ||
| 63 | st.st_size), | ||
| 64 | NULL); | ||
| 65 | add_property(tree, prop); | ||
| 66 | fclose(pfile); | ||
| 67 | } | ||
| 68 | } else if (S_ISDIR(st.st_mode)) { | ||
| 69 | struct node *newchild; | ||
| 70 | |||
| 71 | newchild = read_fstree(tmpnam); | ||
| 72 | newchild = name_node(newchild, strdup(de->d_name), | ||
| 73 | NULL); | ||
| 74 | add_child(tree, newchild); | ||
| 75 | } | ||
| 76 | |||
| 77 | free(tmpnam); | ||
| 78 | } | ||
| 79 | |||
| 80 | return tree; | ||
| 81 | } | ||
| 82 | |||
| 83 | struct boot_info *dt_from_fs(const char *dirname) | ||
| 84 | { | ||
| 85 | struct node *tree; | ||
| 86 | |||
| 87 | tree = read_fstree(dirname); | ||
| 88 | tree = name_node(tree, "", NULL); | ||
| 89 | |||
| 90 | return build_boot_info(NULL, tree, 0); | ||
| 91 | } | ||
| 92 | |||
diff --git a/arch/powerpc/boot/dtc-src/libfdt_env.h b/arch/powerpc/boot/dtc-src/libfdt_env.h deleted file mode 100644 index 449bf602daf1..000000000000 --- a/arch/powerpc/boot/dtc-src/libfdt_env.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | #ifndef _LIBFDT_ENV_H | ||
| 2 | #define _LIBFDT_ENV_H | ||
| 3 | |||
| 4 | #include <stddef.h> | ||
| 5 | #include <stdint.h> | ||
| 6 | #include <string.h> | ||
| 7 | |||
| 8 | #define _B(n) ((unsigned long long)((uint8_t *)&x)[n]) | ||
| 9 | static inline uint32_t fdt32_to_cpu(uint32_t x) | ||
| 10 | { | ||
| 11 | return (_B(0) << 24) | (_B(1) << 16) | (_B(2) << 8) | _B(3); | ||
| 12 | } | ||
| 13 | #define cpu_to_fdt32(x) fdt32_to_cpu(x) | ||
| 14 | |||
| 15 | static inline uint64_t fdt64_to_cpu(uint64_t x) | ||
| 16 | { | ||
| 17 | return (_B(0) << 56) | (_B(1) << 48) | (_B(2) << 40) | (_B(3) << 32) | ||
| 18 | | (_B(4) << 24) | (_B(5) << 16) | (_B(6) << 8) | _B(7); | ||
| 19 | } | ||
| 20 | #define cpu_to_fdt64(x) fdt64_to_cpu(x) | ||
| 21 | #undef _B | ||
| 22 | |||
| 23 | #endif /* _LIBFDT_ENV_H */ | ||
diff --git a/arch/powerpc/boot/dtc-src/livetree.c b/arch/powerpc/boot/dtc-src/livetree.c deleted file mode 100644 index 0ca3de550b3f..000000000000 --- a/arch/powerpc/boot/dtc-src/livetree.c +++ /dev/null | |||
| @@ -1,308 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Tree building functions | ||
| 25 | */ | ||
| 26 | |||
| 27 | struct property *build_property(char *name, struct data val, char *label) | ||
| 28 | { | ||
| 29 | struct property *new = xmalloc(sizeof(*new)); | ||
| 30 | |||
| 31 | new->name = name; | ||
| 32 | new->val = val; | ||
| 33 | |||
| 34 | new->next = NULL; | ||
| 35 | |||
| 36 | new->label = label; | ||
| 37 | |||
| 38 | return new; | ||
| 39 | } | ||
| 40 | |||
| 41 | struct property *chain_property(struct property *first, struct property *list) | ||
| 42 | { | ||
| 43 | assert(first->next == NULL); | ||
| 44 | |||
| 45 | first->next = list; | ||
| 46 | return first; | ||
| 47 | } | ||
| 48 | |||
| 49 | struct property *reverse_properties(struct property *first) | ||
| 50 | { | ||
| 51 | struct property *p = first; | ||
| 52 | struct property *head = NULL; | ||
| 53 | struct property *next; | ||
| 54 | |||
| 55 | while (p) { | ||
| 56 | next = p->next; | ||
| 57 | p->next = head; | ||
| 58 | head = p; | ||
| 59 | p = next; | ||
| 60 | } | ||
| 61 | return head; | ||
| 62 | } | ||
| 63 | |||
| 64 | struct node *build_node(struct property *proplist, struct node *children) | ||
| 65 | { | ||
| 66 | struct node *new = xmalloc(sizeof(*new)); | ||
| 67 | struct node *child; | ||
| 68 | |||
| 69 | memset(new, 0, sizeof(*new)); | ||
| 70 | |||
| 71 | new->proplist = reverse_properties(proplist); | ||
| 72 | new->children = children; | ||
| 73 | |||
| 74 | for_each_child(new, child) { | ||
| 75 | child->parent = new; | ||
| 76 | } | ||
| 77 | |||
| 78 | return new; | ||
| 79 | } | ||
| 80 | |||
| 81 | struct node *name_node(struct node *node, char *name, char * label) | ||
| 82 | { | ||
| 83 | assert(node->name == NULL); | ||
| 84 | |||
| 85 | node->name = name; | ||
| 86 | |||
| 87 | node->label = label; | ||
| 88 | |||
| 89 | return node; | ||
| 90 | } | ||
| 91 | |||
| 92 | struct node *chain_node(struct node *first, struct node *list) | ||
| 93 | { | ||
| 94 | assert(first->next_sibling == NULL); | ||
| 95 | |||
| 96 | first->next_sibling = list; | ||
| 97 | return first; | ||
| 98 | } | ||
| 99 | |||
| 100 | void add_property(struct node *node, struct property *prop) | ||
| 101 | { | ||
| 102 | struct property **p; | ||
| 103 | |||
| 104 | prop->next = NULL; | ||
| 105 | |||
| 106 | p = &node->proplist; | ||
| 107 | while (*p) | ||
| 108 | p = &((*p)->next); | ||
| 109 | |||
| 110 | *p = prop; | ||
| 111 | } | ||
| 112 | |||
| 113 | void add_child(struct node *parent, struct node *child) | ||
| 114 | { | ||
| 115 | struct node **p; | ||
| 116 | |||
| 117 | child->next_sibling = NULL; | ||
| 118 | child->parent = parent; | ||
| 119 | |||
| 120 | p = &parent->children; | ||
| 121 | while (*p) | ||
| 122 | p = &((*p)->next_sibling); | ||
| 123 | |||
| 124 | *p = child; | ||
| 125 | } | ||
| 126 | |||
| 127 | struct reserve_info *build_reserve_entry(uint64_t address, uint64_t size, | ||
| 128 | char *label) | ||
| 129 | { | ||
| 130 | struct reserve_info *new = xmalloc(sizeof(*new)); | ||
| 131 | |||
| 132 | new->re.address = address; | ||
| 133 | new->re.size = size; | ||
| 134 | |||
| 135 | new->next = NULL; | ||
| 136 | |||
| 137 | new->label = label; | ||
| 138 | |||
| 139 | return new; | ||
| 140 | } | ||
| 141 | |||
| 142 | struct reserve_info *chain_reserve_entry(struct reserve_info *first, | ||
| 143 | struct reserve_info *list) | ||
| 144 | { | ||
| 145 | assert(first->next == NULL); | ||
| 146 | |||
| 147 | first->next = list; | ||
| 148 | return first; | ||
| 149 | } | ||
| 150 | |||
| 151 | struct reserve_info *add_reserve_entry(struct reserve_info *list, | ||
| 152 | struct reserve_info *new) | ||
| 153 | { | ||
| 154 | struct reserve_info *last; | ||
| 155 | |||
| 156 | new->next = NULL; | ||
| 157 | |||
| 158 | if (! list) | ||
| 159 | return new; | ||
| 160 | |||
| 161 | for (last = list; last->next; last = last->next) | ||
| 162 | ; | ||
| 163 | |||
| 164 | last->next = new; | ||
| 165 | |||
| 166 | return list; | ||
| 167 | } | ||
| 168 | |||
| 169 | struct boot_info *build_boot_info(struct reserve_info *reservelist, | ||
| 170 | struct node *tree, uint32_t boot_cpuid_phys) | ||
| 171 | { | ||
| 172 | struct boot_info *bi; | ||
| 173 | |||
| 174 | bi = xmalloc(sizeof(*bi)); | ||
| 175 | bi->reservelist = reservelist; | ||
| 176 | bi->dt = tree; | ||
| 177 | bi->boot_cpuid_phys = boot_cpuid_phys; | ||
| 178 | |||
| 179 | return bi; | ||
| 180 | } | ||
| 181 | |||
| 182 | /* | ||
| 183 | * Tree accessor functions | ||
| 184 | */ | ||
| 185 | |||
| 186 | const char *get_unitname(struct node *node) | ||
| 187 | { | ||
| 188 | if (node->name[node->basenamelen] == '\0') | ||
| 189 | return ""; | ||
| 190 | else | ||
| 191 | return node->name + node->basenamelen + 1; | ||
| 192 | } | ||
| 193 | |||
| 194 | struct property *get_property(struct node *node, const char *propname) | ||
| 195 | { | ||
| 196 | struct property *prop; | ||
| 197 | |||
| 198 | for_each_property(node, prop) | ||
| 199 | if (streq(prop->name, propname)) | ||
| 200 | return prop; | ||
| 201 | |||
| 202 | return NULL; | ||
| 203 | } | ||
| 204 | |||
| 205 | cell_t propval_cell(struct property *prop) | ||
| 206 | { | ||
| 207 | assert(prop->val.len == sizeof(cell_t)); | ||
| 208 | return fdt32_to_cpu(*((cell_t *)prop->val.val)); | ||
| 209 | } | ||
| 210 | |||
| 211 | struct node *get_subnode(struct node *node, const char *nodename) | ||
| 212 | { | ||
| 213 | struct node *child; | ||
| 214 | |||
| 215 | for_each_child(node, child) | ||
| 216 | if (streq(child->name, nodename)) | ||
| 217 | return child; | ||
| 218 | |||
| 219 | return NULL; | ||
| 220 | } | ||
| 221 | |||
| 222 | struct node *get_node_by_path(struct node *tree, const char *path) | ||
| 223 | { | ||
| 224 | const char *p; | ||
| 225 | struct node *child; | ||
| 226 | |||
| 227 | if (!path || ! (*path)) | ||
| 228 | return tree; | ||
| 229 | |||
| 230 | while (path[0] == '/') | ||
| 231 | path++; | ||
| 232 | |||
| 233 | p = strchr(path, '/'); | ||
| 234 | |||
| 235 | for_each_child(tree, child) { | ||
| 236 | if (p && strneq(path, child->name, p-path)) | ||
| 237 | return get_node_by_path(child, p+1); | ||
| 238 | else if (!p && streq(path, child->name)) | ||
| 239 | return child; | ||
| 240 | } | ||
| 241 | |||
| 242 | return NULL; | ||
| 243 | } | ||
| 244 | |||
| 245 | struct node *get_node_by_label(struct node *tree, const char *label) | ||
| 246 | { | ||
| 247 | struct node *child, *node; | ||
| 248 | |||
| 249 | assert(label && (strlen(label) > 0)); | ||
| 250 | |||
| 251 | if (tree->label && streq(tree->label, label)) | ||
| 252 | return tree; | ||
| 253 | |||
| 254 | for_each_child(tree, child) { | ||
| 255 | node = get_node_by_label(child, label); | ||
| 256 | if (node) | ||
| 257 | return node; | ||
| 258 | } | ||
| 259 | |||
| 260 | return NULL; | ||
| 261 | } | ||
| 262 | |||
| 263 | struct node *get_node_by_phandle(struct node *tree, cell_t phandle) | ||
| 264 | { | ||
| 265 | struct node *child, *node; | ||
| 266 | |||
| 267 | assert((phandle != 0) && (phandle != -1)); | ||
| 268 | |||
| 269 | if (tree->phandle == phandle) | ||
| 270 | return tree; | ||
| 271 | |||
| 272 | for_each_child(tree, child) { | ||
| 273 | node = get_node_by_phandle(child, phandle); | ||
| 274 | if (node) | ||
| 275 | return node; | ||
| 276 | } | ||
| 277 | |||
| 278 | return NULL; | ||
| 279 | } | ||
| 280 | |||
| 281 | struct node *get_node_by_ref(struct node *tree, const char *ref) | ||
| 282 | { | ||
| 283 | if (ref[0] == '/') | ||
| 284 | return get_node_by_path(tree, ref); | ||
| 285 | else | ||
| 286 | return get_node_by_label(tree, ref); | ||
| 287 | } | ||
| 288 | |||
| 289 | cell_t get_node_phandle(struct node *root, struct node *node) | ||
| 290 | { | ||
| 291 | static cell_t phandle = 1; /* FIXME: ick, static local */ | ||
| 292 | |||
| 293 | if ((node->phandle != 0) && (node->phandle != -1)) | ||
| 294 | return node->phandle; | ||
| 295 | |||
| 296 | assert(! get_property(node, "linux,phandle")); | ||
| 297 | |||
| 298 | while (get_node_by_phandle(root, phandle)) | ||
| 299 | phandle++; | ||
| 300 | |||
| 301 | node->phandle = phandle; | ||
| 302 | add_property(node, | ||
| 303 | build_property("linux,phandle", | ||
| 304 | data_append_cell(empty_data, phandle), | ||
| 305 | NULL)); | ||
| 306 | |||
| 307 | return node->phandle; | ||
| 308 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/srcpos.c b/arch/powerpc/boot/dtc-src/srcpos.c deleted file mode 100644 index 9641b7628b4d..000000000000 --- a/arch/powerpc/boot/dtc-src/srcpos.c +++ /dev/null | |||
| @@ -1,116 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU General Public License as | ||
| 6 | * published by the Free Software Foundation; either version 2 of the | ||
| 7 | * License, or (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | * General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; if not, write to the Free Software | ||
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 17 | * USA | ||
| 18 | */ | ||
| 19 | |||
| 20 | #include "dtc.h" | ||
| 21 | #include "srcpos.h" | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Like yylineno, this is the current open file pos. | ||
| 25 | */ | ||
| 26 | |||
| 27 | struct dtc_file *srcpos_file; | ||
| 28 | |||
| 29 | static int dtc_open_one(struct dtc_file *file, | ||
| 30 | const char *search, | ||
| 31 | const char *fname) | ||
| 32 | { | ||
| 33 | char *fullname; | ||
| 34 | |||
| 35 | if (search) { | ||
| 36 | fullname = xmalloc(strlen(search) + strlen(fname) + 2); | ||
| 37 | |||
| 38 | strcpy(fullname, search); | ||
| 39 | strcat(fullname, "/"); | ||
| 40 | strcat(fullname, fname); | ||
| 41 | } else { | ||
| 42 | fullname = strdup(fname); | ||
| 43 | } | ||
| 44 | |||
| 45 | file->file = fopen(fullname, "r"); | ||
| 46 | if (!file->file) { | ||
| 47 | free(fullname); | ||
| 48 | return 0; | ||
| 49 | } | ||
| 50 | |||
| 51 | file->name = fullname; | ||
| 52 | return 1; | ||
| 53 | } | ||
| 54 | |||
| 55 | |||
| 56 | struct dtc_file *dtc_open_file(const char *fname, | ||
| 57 | const struct search_path *search) | ||
| 58 | { | ||
| 59 | static const struct search_path default_search = { NULL, NULL, NULL }; | ||
| 60 | |||
| 61 | struct dtc_file *file; | ||
| 62 | const char *slash; | ||
| 63 | |||
| 64 | file = xmalloc(sizeof(struct dtc_file)); | ||
| 65 | |||
| 66 | slash = strrchr(fname, '/'); | ||
| 67 | if (slash) { | ||
| 68 | char *dir = xmalloc(slash - fname + 1); | ||
| 69 | |||
| 70 | memcpy(dir, fname, slash - fname); | ||
| 71 | dir[slash - fname] = 0; | ||
| 72 | file->dir = dir; | ||
| 73 | } else { | ||
| 74 | file->dir = NULL; | ||
| 75 | } | ||
| 76 | |||
| 77 | if (streq(fname, "-")) { | ||
| 78 | file->name = "stdin"; | ||
| 79 | file->file = stdin; | ||
| 80 | return file; | ||
| 81 | } | ||
| 82 | |||
| 83 | if (fname[0] == '/') { | ||
| 84 | file->file = fopen(fname, "r"); | ||
| 85 | if (!file->file) | ||
| 86 | goto fail; | ||
| 87 | |||
| 88 | file->name = strdup(fname); | ||
| 89 | return file; | ||
| 90 | } | ||
| 91 | |||
| 92 | if (!search) | ||
| 93 | search = &default_search; | ||
| 94 | |||
| 95 | while (search) { | ||
| 96 | if (dtc_open_one(file, search->dir, fname)) | ||
| 97 | return file; | ||
| 98 | |||
| 99 | if (errno != ENOENT) | ||
| 100 | goto fail; | ||
| 101 | |||
| 102 | search = search->next; | ||
| 103 | } | ||
| 104 | |||
| 105 | fail: | ||
| 106 | die("Couldn't open \"%s\": %s\n", fname, strerror(errno)); | ||
| 107 | } | ||
| 108 | |||
| 109 | void dtc_close_file(struct dtc_file *file) | ||
| 110 | { | ||
| 111 | if (fclose(file->file)) | ||
| 112 | die("Error closing \"%s\": %s\n", file->name, strerror(errno)); | ||
| 113 | |||
| 114 | free(file->dir); | ||
| 115 | free(file); | ||
| 116 | } | ||
diff --git a/arch/powerpc/boot/dtc-src/srcpos.h b/arch/powerpc/boot/dtc-src/srcpos.h deleted file mode 100644 index e17c7c04db8e..000000000000 --- a/arch/powerpc/boot/dtc-src/srcpos.h +++ /dev/null | |||
| @@ -1,85 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU General Public License as | ||
| 6 | * published by the Free Software Foundation; either version 2 of the | ||
| 7 | * License, or (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | * General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; if not, write to the Free Software | ||
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 17 | * USA | ||
| 18 | */ | ||
| 19 | |||
| 20 | /* | ||
| 21 | * Augment the standard YYLTYPE with a filenum index into an | ||
| 22 | * array of all opened filenames. | ||
| 23 | */ | ||
| 24 | |||
| 25 | #include <stdio.h> | ||
| 26 | |||
| 27 | struct dtc_file { | ||
| 28 | char *dir; | ||
| 29 | const char *name; | ||
| 30 | FILE *file; | ||
| 31 | }; | ||
| 32 | |||
| 33 | #if ! defined(YYLTYPE) && ! defined(YYLTYPE_IS_DECLARED) | ||
| 34 | typedef struct YYLTYPE { | ||
| 35 | int first_line; | ||
| 36 | int first_column; | ||
| 37 | int last_line; | ||
| 38 | int last_column; | ||
| 39 | struct dtc_file *file; | ||
| 40 | } YYLTYPE; | ||
| 41 | |||
| 42 | #define YYLTYPE_IS_DECLARED 1 | ||
| 43 | #define YYLTYPE_IS_TRIVIAL 1 | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* Cater to old parser templates. */ | ||
| 47 | #ifndef YYID | ||
| 48 | #define YYID(n) (n) | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #define YYLLOC_DEFAULT(Current, Rhs, N) \ | ||
| 52 | do \ | ||
| 53 | if (YYID (N)) \ | ||
| 54 | { \ | ||
| 55 | (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ | ||
| 56 | (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ | ||
| 57 | (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ | ||
| 58 | (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ | ||
| 59 | (Current).file = YYRHSLOC (Rhs, N).file; \ | ||
| 60 | } \ | ||
| 61 | else \ | ||
| 62 | { \ | ||
| 63 | (Current).first_line = (Current).last_line = \ | ||
| 64 | YYRHSLOC (Rhs, 0).last_line; \ | ||
| 65 | (Current).first_column = (Current).last_column = \ | ||
| 66 | YYRHSLOC (Rhs, 0).last_column; \ | ||
| 67 | (Current).file = YYRHSLOC (Rhs, 0).file; \ | ||
| 68 | } \ | ||
| 69 | while (YYID (0)) | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | extern void yyerror(char const *); | ||
| 74 | extern void yyerrorf(char const *, ...) __attribute__((format(printf, 1, 2))); | ||
| 75 | |||
| 76 | extern struct dtc_file *srcpos_file; | ||
| 77 | |||
| 78 | struct search_path { | ||
| 79 | const char *dir; /* NULL for current directory */ | ||
| 80 | struct search_path *prev, *next; | ||
| 81 | }; | ||
| 82 | |||
| 83 | extern struct dtc_file *dtc_open_file(const char *fname, | ||
| 84 | const struct search_path *search); | ||
| 85 | extern void dtc_close_file(struct dtc_file *file); | ||
diff --git a/arch/powerpc/boot/dtc-src/treesource.c b/arch/powerpc/boot/dtc-src/treesource.c deleted file mode 100644 index ebeb6eb27907..000000000000 --- a/arch/powerpc/boot/dtc-src/treesource.c +++ /dev/null | |||
| @@ -1,278 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or | ||
| 6 | * modify it under the terms of the GNU General Public License as | ||
| 7 | * published by the Free Software Foundation; either version 2 of the | ||
| 8 | * License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | ||
| 18 | * USA | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include "dtc.h" | ||
| 22 | #include "srcpos.h" | ||
| 23 | |||
| 24 | extern FILE *yyin; | ||
| 25 | extern int yyparse(void); | ||
| 26 | |||
| 27 | struct boot_info *the_boot_info; | ||
| 28 | int treesource_error; | ||
| 29 | |||
| 30 | struct boot_info *dt_from_source(const char *fname) | ||
| 31 | { | ||
| 32 | the_boot_info = NULL; | ||
| 33 | treesource_error = 0; | ||
| 34 | |||
| 35 | srcpos_file = dtc_open_file(fname, NULL); | ||
| 36 | yyin = srcpos_file->file; | ||
| 37 | |||
| 38 | if (yyparse() != 0) | ||
| 39 | die("Unable to parse input tree\n"); | ||
| 40 | |||
| 41 | if (treesource_error) | ||
| 42 | die("Syntax error parsing input tree\n"); | ||
| 43 | |||
| 44 | return the_boot_info; | ||
| 45 | } | ||
| 46 | |||
| 47 | static void write_prefix(FILE *f, int level) | ||
| 48 | { | ||
| 49 | int i; | ||
| 50 | |||
| 51 | for (i = 0; i < level; i++) | ||
| 52 | fputc('\t', f); | ||
| 53 | } | ||
| 54 | |||
| 55 | int isstring(char c) | ||
| 56 | { | ||
| 57 | return (isprint(c) | ||
| 58 | || (c == '\0') | ||
| 59 | || strchr("\a\b\t\n\v\f\r", c)); | ||
| 60 | } | ||
| 61 | |||
| 62 | static void write_propval_string(FILE *f, struct data val) | ||
| 63 | { | ||
| 64 | const char *str = val.val; | ||
| 65 | int i; | ||
| 66 | int newchunk = 1; | ||
| 67 | struct marker *m = val.markers; | ||
| 68 | |||
| 69 | assert(str[val.len-1] == '\0'); | ||
| 70 | |||
| 71 | for (i = 0; i < (val.len-1); i++) { | ||
| 72 | char c = str[i]; | ||
| 73 | |||
| 74 | if (newchunk) { | ||
| 75 | while (m && (m->offset <= i)) { | ||
| 76 | if (m->type == LABEL) { | ||
| 77 | assert(m->offset == i); | ||
| 78 | fprintf(f, "%s: ", m->ref); | ||
| 79 | } | ||
| 80 | m = m->next; | ||
| 81 | } | ||
| 82 | fprintf(f, "\""); | ||
| 83 | newchunk = 0; | ||
| 84 | } | ||
| 85 | |||
| 86 | switch (c) { | ||
| 87 | case '\a': | ||
| 88 | fprintf(f, "\\a"); | ||
| 89 | break; | ||
| 90 | case '\b': | ||
| 91 | fprintf(f, "\\b"); | ||
| 92 | break; | ||
| 93 | case '\t': | ||
| 94 | fprintf(f, "\\t"); | ||
| 95 | break; | ||
| 96 | case '\n': | ||
| 97 | fprintf(f, "\\n"); | ||
| 98 | break; | ||
| 99 | case '\v': | ||
| 100 | fprintf(f, "\\v"); | ||
| 101 | break; | ||
| 102 | case '\f': | ||
| 103 | fprintf(f, "\\f"); | ||
| 104 | break; | ||
| 105 | case '\r': | ||
| 106 | fprintf(f, "\\r"); | ||
| 107 | break; | ||
| 108 | case '\\': | ||
| 109 | fprintf(f, "\\\\"); | ||
| 110 | break; | ||
| 111 | case '\"': | ||
| 112 | fprintf(f, "\\\""); | ||
| 113 | break; | ||
| 114 | case '\0': | ||
| 115 | fprintf(f, "\", "); | ||
| 116 | newchunk = 1; | ||
| 117 | break; | ||
| 118 | default: | ||
| 119 | if (isprint(c)) | ||
| 120 | fprintf(f, "%c", c); | ||
| 121 | else | ||
| 122 | fprintf(f, "\\x%02hhx", c); | ||
| 123 | } | ||
| 124 | } | ||
| 125 | fprintf(f, "\""); | ||
| 126 | |||
| 127 | /* Wrap up any labels at the end of the value */ | ||
| 128 | for_each_marker_of_type(m, LABEL) { | ||
| 129 | assert (m->offset == val.len); | ||
| 130 | fprintf(f, " %s:", m->ref); | ||
| 131 | } | ||
| 132 | } | ||
| 133 | |||
| 134 | static void write_propval_cells(FILE *f, struct data val) | ||
| 135 | { | ||
| 136 | void *propend = val.val + val.len; | ||
| 137 | cell_t *cp = (cell_t *)val.val; | ||
| 138 | struct marker *m = val.markers; | ||
| 139 | |||
| 140 | fprintf(f, "<"); | ||
| 141 | for (;;) { | ||
| 142 | while (m && (m->offset <= ((char *)cp - val.val))) { | ||
| 143 | if (m->type == LABEL) { | ||
| 144 | assert(m->offset == ((char *)cp - val.val)); | ||
| 145 | fprintf(f, "%s: ", m->ref); | ||
| 146 | } | ||
| 147 | m = m->next; | ||
| 148 | } | ||
| 149 | |||
| 150 | fprintf(f, "0x%x", fdt32_to_cpu(*cp++)); | ||
| 151 | if ((void *)cp >= propend) | ||
| 152 | break; | ||
| 153 | fprintf(f, " "); | ||
| 154 | } | ||
| 155 | |||
| 156 | /* Wrap up any labels at the end of the value */ | ||
| 157 | for_each_marker_of_type(m, LABEL) { | ||
| 158 | assert (m->offset == val.len); | ||
| 159 | fprintf(f, " %s:", m->ref); | ||
| 160 | } | ||
| 161 | fprintf(f, ">"); | ||
| 162 | } | ||
| 163 | |||
| 164 | static void write_propval_bytes(FILE *f, struct data val) | ||
| 165 | { | ||
| 166 | void *propend = val.val + val.len; | ||
| 167 | const char *bp = val.val; | ||
| 168 | struct marker *m = val.markers; | ||
| 169 | |||
| 170 | fprintf(f, "["); | ||
| 171 | for (;;) { | ||
| 172 | while (m && (m->offset == (bp-val.val))) { | ||
| 173 | if (m->type == LABEL) | ||
| 174 | fprintf(f, "%s: ", m->ref); | ||
| 175 | m = m->next; | ||
| 176 | } | ||
| 177 | |||
| 178 | fprintf(f, "%02hhx", *bp++); | ||
| 179 | if ((const void *)bp >= propend) | ||
| 180 | break; | ||
| 181 | fprintf(f, " "); | ||
| 182 | } | ||
| 183 | |||
| 184 | /* Wrap up any labels at the end of the value */ | ||
| 185 | for_each_marker_of_type(m, LABEL) { | ||
| 186 | assert (m->offset == val.len); | ||
| 187 | fprintf(f, " %s:", m->ref); | ||
| 188 | } | ||
| 189 | fprintf(f, "]"); | ||
| 190 | } | ||
| 191 | |||
| 192 | static void write_propval(FILE *f, struct property *prop) | ||
| 193 | { | ||
| 194 | int len = prop->val.len; | ||
| 195 | const char *p = prop->val.val; | ||
| 196 | struct marker *m = prop->val.markers; | ||
| 197 | int nnotstring = 0, nnul = 0; | ||
| 198 | int nnotstringlbl = 0, nnotcelllbl = 0; | ||
| 199 | int i; | ||
| 200 | |||
| 201 | if (len == 0) { | ||
| 202 | fprintf(f, ";\n"); | ||
| 203 | return; | ||
| 204 | } | ||
| 205 | |||
| 206 | for (i = 0; i < len; i++) { | ||
| 207 | if (! isstring(p[i])) | ||
| 208 | nnotstring++; | ||
| 209 | if (p[i] == '\0') | ||
| 210 | nnul++; | ||
| 211 | } | ||
| 212 | |||
| 213 | for_each_marker_of_type(m, LABEL) { | ||
| 214 | if ((m->offset > 0) && (prop->val.val[m->offset - 1] != '\0')) | ||
| 215 | nnotstringlbl++; | ||
| 216 | if ((m->offset % sizeof(cell_t)) != 0) | ||
| 217 | nnotcelllbl++; | ||
| 218 | } | ||
| 219 | |||
| 220 | fprintf(f, " = "); | ||
| 221 | if ((p[len-1] == '\0') && (nnotstring == 0) && (nnul < (len-nnul)) | ||
| 222 | && (nnotstringlbl == 0)) { | ||
| 223 | write_propval_string(f, prop->val); | ||
| 224 | } else if (((len % sizeof(cell_t)) == 0) && (nnotcelllbl == 0)) { | ||
| 225 | write_propval_cells(f, prop->val); | ||
| 226 | } else { | ||
| 227 | write_propval_bytes(f, prop->val); | ||
| 228 | } | ||
| 229 | |||
| 230 | fprintf(f, ";\n"); | ||
| 231 | } | ||
| 232 | |||
| 233 | static void write_tree_source_node(FILE *f, struct node *tree, int level) | ||
| 234 | { | ||
| 235 | struct property *prop; | ||
| 236 | struct node *child; | ||
| 237 | |||
| 238 | write_prefix(f, level); | ||
| 239 | if (tree->label) | ||
| 240 | fprintf(f, "%s: ", tree->label); | ||
| 241 | if (tree->name && (*tree->name)) | ||
| 242 | fprintf(f, "%s {\n", tree->name); | ||
| 243 | else | ||
| 244 | fprintf(f, "/ {\n"); | ||
| 245 | |||
| 246 | for_each_property(tree, prop) { | ||
| 247 | write_prefix(f, level+1); | ||
| 248 | if (prop->label) | ||
| 249 | fprintf(f, "%s: ", prop->label); | ||
| 250 | fprintf(f, "%s", prop->name); | ||
| 251 | write_propval(f, prop); | ||
| 252 | } | ||
| 253 | for_each_child(tree, child) { | ||
| 254 | fprintf(f, "\n"); | ||
| 255 | write_tree_source_node(f, child, level+1); | ||
| 256 | } | ||
| 257 | write_prefix(f, level); | ||
| 258 | fprintf(f, "};\n"); | ||
| 259 | } | ||
| 260 | |||
| 261 | |||
| 262 | void dt_to_source(FILE *f, struct boot_info *bi) | ||
| 263 | { | ||
| 264 | struct reserve_info *re; | ||
| 265 | |||
| 266 | fprintf(f, "/dts-v1/;\n\n"); | ||
| 267 | |||
| 268 | for (re = bi->reservelist; re; re = re->next) { | ||
| 269 | if (re->label) | ||
| 270 | fprintf(f, "%s: ", re->label); | ||
| 271 | fprintf(f, "/memreserve/\t0x%016llx 0x%016llx;\n", | ||
| 272 | (unsigned long long)re->re.address, | ||
| 273 | (unsigned long long)re->re.size); | ||
| 274 | } | ||
| 275 | |||
| 276 | write_tree_source_node(f, bi->dt, 0); | ||
| 277 | } | ||
| 278 | |||
diff --git a/arch/powerpc/boot/dtc-src/version_gen.h b/arch/powerpc/boot/dtc-src/version_gen.h deleted file mode 100644 index 658ff42429d6..000000000000 --- a/arch/powerpc/boot/dtc-src/version_gen.h +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | #define DTC_VERSION "DTC 1.2.0" | ||
diff --git a/arch/powerpc/boot/dts/gef_ppc9a.dts b/arch/powerpc/boot/dts/gef_ppc9a.dts index d47ad0718759..53a7a6255909 100644 --- a/arch/powerpc/boot/dts/gef_ppc9a.dts +++ b/arch/powerpc/boot/dts/gef_ppc9a.dts | |||
| @@ -161,6 +161,7 @@ | |||
| 161 | #address-cells = <1>; | 161 | #address-cells = <1>; |
| 162 | #size-cells = <1>; | 162 | #size-cells = <1>; |
| 163 | #interrupt-cells = <2>; | 163 | #interrupt-cells = <2>; |
| 164 | device_type = "soc"; | ||
| 164 | compatible = "fsl,mpc8641-soc", "simple-bus"; | 165 | compatible = "fsl,mpc8641-soc", "simple-bus"; |
| 165 | ranges = <0x0 0xfef00000 0x00100000>; | 166 | ranges = <0x0 0xfef00000 0x00100000>; |
| 166 | reg = <0xfef00000 0x100000>; // CCSRBAR 1M | 167 | reg = <0xfef00000 0x100000>; // CCSRBAR 1M |
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index c63e3566479e..d13cb11ce623 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
| @@ -293,4 +293,43 @@ | |||
| 293 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 | 293 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 |
| 294 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; | 294 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; |
| 295 | }; | 295 | }; |
| 296 | |||
| 297 | localbus { | ||
| 298 | compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; | ||
| 299 | |||
| 300 | #address-cells = <2>; | ||
| 301 | #size-cells = <1>; | ||
| 302 | |||
| 303 | ranges = <0 0 0xfe000000 0x02000000>; | ||
| 304 | |||
| 305 | flash@0,0 { | ||
| 306 | compatible = "cfi-flash"; | ||
| 307 | reg = <0 0 0x02000000>; | ||
| 308 | bank-width = <1>; | ||
| 309 | #size-cells = <1>; | ||
| 310 | #address-cells = <1>; | ||
| 311 | |||
| 312 | partition@0 { | ||
| 313 | label = "kernel"; | ||
| 314 | reg = <0x00000000 0x00200000>; | ||
| 315 | }; | ||
| 316 | partition@200000 { | ||
| 317 | label = "rootfs"; | ||
| 318 | reg = <0x00200000 0x01d00000>; | ||
| 319 | }; | ||
| 320 | partition@1f00000 { | ||
| 321 | label = "u-boot"; | ||
| 322 | reg = <0x01f00000 0x00060000>; | ||
| 323 | }; | ||
| 324 | partition@1f60000 { | ||
| 325 | label = "u-boot-env"; | ||
| 326 | reg = <0x01f60000 0x00020000>; | ||
| 327 | }; | ||
| 328 | partition@1f80000 { | ||
| 329 | label = "dtb"; | ||
| 330 | reg = <0x01f80000 0x00080000>; | ||
| 331 | }; | ||
| 332 | }; | ||
| 333 | }; | ||
| 334 | |||
| 296 | }; | 335 | }; |
diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts index 231bae756637..b6f1fc6eb960 100644 --- a/arch/powerpc/boot/dts/tqm8540.dts +++ b/arch/powerpc/boot/dts/tqm8540.dts | |||
| @@ -84,9 +84,9 @@ | |||
| 84 | interrupt-parent = <&mpic>; | 84 | interrupt-parent = <&mpic>; |
| 85 | dfsrr; | 85 | dfsrr; |
| 86 | 86 | ||
| 87 | dtt@50 { | 87 | dtt@48 { |
| 88 | compatible = "national,lm75"; | 88 | compatible = "national,lm75"; |
| 89 | reg = <0x50>; | 89 | reg = <0x48>; |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | rtc@68 { | 92 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8541.dts b/arch/powerpc/boot/dts/tqm8541.dts index 4356a1f08295..fa6a3d54a8a5 100644 --- a/arch/powerpc/boot/dts/tqm8541.dts +++ b/arch/powerpc/boot/dts/tqm8541.dts | |||
| @@ -83,9 +83,9 @@ | |||
| 83 | interrupt-parent = <&mpic>; | 83 | interrupt-parent = <&mpic>; |
| 84 | dfsrr; | 84 | dfsrr; |
| 85 | 85 | ||
| 86 | dtt@50 { | 86 | dtt@48 { |
| 87 | compatible = "national,lm75"; | 87 | compatible = "national,lm75"; |
| 88 | reg = <0x50>; | 88 | reg = <0x48>; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | rtc@68 { | 91 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts index 19aa72301c83..00f7ed7a2455 100644 --- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts +++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
| @@ -247,7 +247,7 @@ | |||
| 247 | interrupts = <31 2 32 2 33 2>; | 247 | interrupts = <31 2 32 2 33 2>; |
| 248 | interrupt-parent = <&mpic>; | 248 | interrupt-parent = <&mpic>; |
| 249 | tbi-handle = <&tbi2>; | 249 | tbi-handle = <&tbi2>; |
| 250 | phy-handle = <&phy3>; | 250 | phy-handle = <&phy4>; |
| 251 | 251 | ||
| 252 | mdio@520 { | 252 | mdio@520 { |
| 253 | #address-cells = <1>; | 253 | #address-cells = <1>; |
| @@ -275,7 +275,7 @@ | |||
| 275 | interrupts = <37 2 38 2 39 2>; | 275 | interrupts = <37 2 38 2 39 2>; |
| 276 | interrupt-parent = <&mpic>; | 276 | interrupt-parent = <&mpic>; |
| 277 | tbi-handle = <&tbi3>; | 277 | tbi-handle = <&tbi3>; |
| 278 | phy-handle = <&phy4>; | 278 | phy-handle = <&phy5>; |
| 279 | 279 | ||
| 280 | mdio@520 { | 280 | mdio@520 { |
| 281 | #address-cells = <1>; | 281 | #address-cells = <1>; |
diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts index 49145a04fc6c..673e4a778ac8 100644 --- a/arch/powerpc/boot/dts/tqm8548.dts +++ b/arch/powerpc/boot/dts/tqm8548.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
| @@ -247,7 +247,7 @@ | |||
| 247 | interrupts = <31 2 32 2 33 2>; | 247 | interrupts = <31 2 32 2 33 2>; |
| 248 | interrupt-parent = <&mpic>; | 248 | interrupt-parent = <&mpic>; |
| 249 | tbi-handle = <&tbi2>; | 249 | tbi-handle = <&tbi2>; |
| 250 | phy-handle = <&phy3>; | 250 | phy-handle = <&phy4>; |
| 251 | 251 | ||
| 252 | mdio@520 { | 252 | mdio@520 { |
| 253 | #address-cells = <1>; | 253 | #address-cells = <1>; |
| @@ -275,7 +275,7 @@ | |||
| 275 | interrupts = <37 2 38 2 39 2>; | 275 | interrupts = <37 2 38 2 39 2>; |
| 276 | interrupt-parent = <&mpic>; | 276 | interrupt-parent = <&mpic>; |
| 277 | tbi-handle = <&tbi3>; | 277 | tbi-handle = <&tbi3>; |
| 278 | phy-handle = <&phy4>; | 278 | phy-handle = <&phy5>; |
| 279 | 279 | ||
| 280 | mdio@520 { | 280 | mdio@520 { |
| 281 | #address-cells = <1>; | 281 | #address-cells = <1>; |
diff --git a/arch/powerpc/boot/dts/tqm8555.dts b/arch/powerpc/boot/dts/tqm8555.dts index 06d366ebbda3..6a99f1eef7ad 100644 --- a/arch/powerpc/boot/dts/tqm8555.dts +++ b/arch/powerpc/boot/dts/tqm8555.dts | |||
| @@ -83,9 +83,9 @@ | |||
| 83 | interrupt-parent = <&mpic>; | 83 | interrupt-parent = <&mpic>; |
| 84 | dfsrr; | 84 | dfsrr; |
| 85 | 85 | ||
| 86 | dtt@50 { | 86 | dtt@48 { |
| 87 | compatible = "national,lm75"; | 87 | compatible = "national,lm75"; |
| 88 | reg = <0x50>; | 88 | reg = <0x48>; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | rtc@68 { | 91 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8560.dts b/arch/powerpc/boot/dts/tqm8560.dts index feff915e0492..b6c2d71defd3 100644 --- a/arch/powerpc/boot/dts/tqm8560.dts +++ b/arch/powerpc/boot/dts/tqm8560.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
diff --git a/arch/powerpc/boot/libfdt/Makefile.libfdt b/arch/powerpc/boot/libfdt/Makefile.libfdt deleted file mode 100644 index 6c42acfa21ec..000000000000 --- a/arch/powerpc/boot/libfdt/Makefile.libfdt +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # Makefile.libfdt | ||
| 2 | # | ||
| 3 | # This is not a complete Makefile of itself. Instead, it is designed to | ||
| 4 | # be easily embeddable into other systems of Makefiles. | ||
| 5 | # | ||
| 6 | LIBFDT_INCLUDES = fdt.h libfdt.h | ||
| 7 | LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c | ||
| 8 | LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o) | ||
diff --git a/arch/powerpc/boot/libfdt/fdt.c b/arch/powerpc/boot/libfdt/fdt.c deleted file mode 100644 index 2acaec5923ae..000000000000 --- a/arch/powerpc/boot/libfdt/fdt.c +++ /dev/null | |||
| @@ -1,201 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | int fdt_check_header(const void *fdt) | ||
| 59 | { | ||
| 60 | if (fdt_magic(fdt) == FDT_MAGIC) { | ||
| 61 | /* Complete tree */ | ||
| 62 | if (fdt_version(fdt) < FDT_FIRST_SUPPORTED_VERSION) | ||
| 63 | return -FDT_ERR_BADVERSION; | ||
| 64 | if (fdt_last_comp_version(fdt) > FDT_LAST_SUPPORTED_VERSION) | ||
| 65 | return -FDT_ERR_BADVERSION; | ||
| 66 | } else if (fdt_magic(fdt) == FDT_SW_MAGIC) { | ||
| 67 | /* Unfinished sequential-write blob */ | ||
| 68 | if (fdt_size_dt_struct(fdt) == 0) | ||
| 69 | return -FDT_ERR_BADSTATE; | ||
| 70 | } else { | ||
| 71 | return -FDT_ERR_BADMAGIC; | ||
| 72 | } | ||
| 73 | |||
| 74 | return 0; | ||
| 75 | } | ||
| 76 | |||
| 77 | const void *fdt_offset_ptr(const void *fdt, int offset, int len) | ||
| 78 | { | ||
| 79 | const char *p; | ||
| 80 | |||
| 81 | if (fdt_version(fdt) >= 0x11) | ||
| 82 | if (((offset + len) < offset) | ||
| 83 | || ((offset + len) > fdt_size_dt_struct(fdt))) | ||
| 84 | return NULL; | ||
| 85 | |||
| 86 | p = _fdt_offset_ptr(fdt, offset); | ||
| 87 | |||
| 88 | if (p + len < p) | ||
| 89 | return NULL; | ||
| 90 | return p; | ||
| 91 | } | ||
| 92 | |||
| 93 | uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset) | ||
| 94 | { | ||
| 95 | const uint32_t *tagp, *lenp; | ||
| 96 | uint32_t tag; | ||
| 97 | const char *p; | ||
| 98 | |||
| 99 | if (offset % FDT_TAGSIZE) | ||
| 100 | return -1; | ||
| 101 | |||
| 102 | tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE); | ||
| 103 | if (! tagp) | ||
| 104 | return FDT_END; /* premature end */ | ||
| 105 | tag = fdt32_to_cpu(*tagp); | ||
| 106 | offset += FDT_TAGSIZE; | ||
| 107 | |||
| 108 | switch (tag) { | ||
| 109 | case FDT_BEGIN_NODE: | ||
| 110 | /* skip name */ | ||
| 111 | do { | ||
| 112 | p = fdt_offset_ptr(fdt, offset++, 1); | ||
| 113 | } while (p && (*p != '\0')); | ||
| 114 | if (! p) | ||
| 115 | return FDT_END; | ||
| 116 | break; | ||
| 117 | case FDT_PROP: | ||
| 118 | lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); | ||
| 119 | if (! lenp) | ||
| 120 | return FDT_END; | ||
| 121 | /* skip name offset, length and value */ | ||
| 122 | offset += 2*FDT_TAGSIZE + fdt32_to_cpu(*lenp); | ||
| 123 | break; | ||
| 124 | } | ||
| 125 | |||
| 126 | if (nextoffset) | ||
| 127 | *nextoffset = FDT_TAGALIGN(offset); | ||
| 128 | |||
| 129 | return tag; | ||
| 130 | } | ||
| 131 | |||
| 132 | int _fdt_check_node_offset(const void *fdt, int offset) | ||
| 133 | { | ||
| 134 | if ((offset < 0) || (offset % FDT_TAGSIZE) | ||
| 135 | || (fdt_next_tag(fdt, offset, &offset) != FDT_BEGIN_NODE)) | ||
| 136 | return -FDT_ERR_BADOFFSET; | ||
| 137 | |||
| 138 | return offset; | ||
| 139 | } | ||
| 140 | |||
| 141 | int fdt_next_node(const void *fdt, int offset, int *depth) | ||
| 142 | { | ||
| 143 | int nextoffset = 0; | ||
| 144 | uint32_t tag; | ||
| 145 | |||
| 146 | if (offset >= 0) | ||
| 147 | if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) | ||
| 148 | return nextoffset; | ||
| 149 | |||
| 150 | do { | ||
| 151 | offset = nextoffset; | ||
| 152 | tag = fdt_next_tag(fdt, offset, &nextoffset); | ||
| 153 | |||
| 154 | switch (tag) { | ||
| 155 | case FDT_PROP: | ||
| 156 | case FDT_NOP: | ||
| 157 | break; | ||
| 158 | |||
| 159 | case FDT_BEGIN_NODE: | ||
| 160 | if (depth) | ||
| 161 | (*depth)++; | ||
| 162 | break; | ||
| 163 | |||
| 164 | case FDT_END_NODE: | ||
| 165 | if (depth) | ||
| 166 | (*depth)--; | ||
| 167 | break; | ||
| 168 | |||
| 169 | case FDT_END: | ||
| 170 | return -FDT_ERR_NOTFOUND; | ||
| 171 | |||
| 172 | default: | ||
| 173 | return -FDT_ERR_BADSTRUCTURE; | ||
| 174 | } | ||
| 175 | } while (tag != FDT_BEGIN_NODE); | ||
| 176 | |||
| 177 | return offset; | ||
| 178 | } | ||
| 179 | |||
| 180 | const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) | ||
| 181 | { | ||
| 182 | int len = strlen(s) + 1; | ||
| 183 | const char *last = strtab + tabsize - len; | ||
| 184 | const char *p; | ||
| 185 | |||
| 186 | for (p = strtab; p <= last; p++) | ||
| 187 | if (memcmp(p, s, len) == 0) | ||
| 188 | return p; | ||
| 189 | return NULL; | ||
| 190 | } | ||
| 191 | |||
| 192 | int fdt_move(const void *fdt, void *buf, int bufsize) | ||
| 193 | { | ||
| 194 | FDT_CHECK_HEADER(fdt); | ||
| 195 | |||
| 196 | if (fdt_totalsize(fdt) > bufsize) | ||
| 197 | return -FDT_ERR_NOSPACE; | ||
| 198 | |||
| 199 | memmove(buf, fdt, fdt_totalsize(fdt)); | ||
| 200 | return 0; | ||
| 201 | } | ||
diff --git a/arch/powerpc/boot/libfdt/fdt.h b/arch/powerpc/boot/libfdt/fdt.h deleted file mode 100644 index 48ccfd910000..000000000000 --- a/arch/powerpc/boot/libfdt/fdt.h +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | #ifndef _FDT_H | ||
| 2 | #define _FDT_H | ||
| 3 | |||
| 4 | #ifndef __ASSEMBLY__ | ||
| 5 | |||
| 6 | struct fdt_header { | ||
| 7 | uint32_t magic; /* magic word FDT_MAGIC */ | ||
| 8 | uint32_t totalsize; /* total size of DT block */ | ||
| 9 | uint32_t off_dt_struct; /* offset to structure */ | ||
| 10 | uint32_t off_dt_strings; /* offset to strings */ | ||
| 11 | uint32_t off_mem_rsvmap; /* offset to memory reserve map */ | ||
| 12 | uint32_t version; /* format version */ | ||
| 13 | uint32_t last_comp_version; /* last compatible version */ | ||
| 14 | |||
| 15 | /* version 2 fields below */ | ||
| 16 | uint32_t boot_cpuid_phys; /* Which physical CPU id we're | ||
| 17 | booting on */ | ||
| 18 | /* version 3 fields below */ | ||
| 19 | uint32_t size_dt_strings; /* size of the strings block */ | ||
| 20 | |||
| 21 | /* version 17 fields below */ | ||
| 22 | uint32_t size_dt_struct; /* size of the structure block */ | ||
| 23 | }; | ||
| 24 | |||
| 25 | struct fdt_reserve_entry { | ||
| 26 | uint64_t address; | ||
| 27 | uint64_t size; | ||
| 28 | }; | ||
| 29 | |||
| 30 | struct fdt_node_header { | ||
| 31 | uint32_t tag; | ||
| 32 | char name[0]; | ||
| 33 | }; | ||
| 34 | |||
| 35 | struct fdt_property { | ||
| 36 | uint32_t tag; | ||
| 37 | uint32_t len; | ||
| 38 | uint32_t nameoff; | ||
| 39 | char data[0]; | ||
| 40 | }; | ||
| 41 | |||
| 42 | #endif /* !__ASSEMBLY */ | ||
| 43 | |||
| 44 | #define FDT_MAGIC 0xd00dfeed /* 4: version, 4: total size */ | ||
| 45 | #define FDT_TAGSIZE sizeof(uint32_t) | ||
| 46 | |||
| 47 | #define FDT_BEGIN_NODE 0x1 /* Start node: full name */ | ||
| 48 | #define FDT_END_NODE 0x2 /* End node */ | ||
| 49 | #define FDT_PROP 0x3 /* Property: name off, | ||
| 50 | size, content */ | ||
| 51 | #define FDT_NOP 0x4 /* nop */ | ||
| 52 | #define FDT_END 0x9 | ||
| 53 | |||
| 54 | #define FDT_V1_SIZE (7*sizeof(uint32_t)) | ||
| 55 | #define FDT_V2_SIZE (FDT_V1_SIZE + sizeof(uint32_t)) | ||
| 56 | #define FDT_V3_SIZE (FDT_V2_SIZE + sizeof(uint32_t)) | ||
| 57 | #define FDT_V16_SIZE FDT_V3_SIZE | ||
| 58 | #define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(uint32_t)) | ||
| 59 | |||
| 60 | #endif /* _FDT_H */ | ||
diff --git a/arch/powerpc/boot/libfdt/fdt_ro.c b/arch/powerpc/boot/libfdt/fdt_ro.c deleted file mode 100644 index fbbba44fcd0d..000000000000 --- a/arch/powerpc/boot/libfdt/fdt_ro.c +++ /dev/null | |||
| @@ -1,469 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | static int _fdt_nodename_eq(const void *fdt, int offset, | ||
| 59 | const char *s, int len) | ||
| 60 | { | ||
| 61 | const char *p = fdt_offset_ptr(fdt, offset + FDT_TAGSIZE, len+1); | ||
| 62 | |||
| 63 | if (! p) | ||
| 64 | /* short match */ | ||
| 65 | return 0; | ||
| 66 | |||
| 67 | if (memcmp(p, s, len) != 0) | ||
| 68 | return 0; | ||
| 69 | |||
| 70 | if (p[len] == '\0') | ||
| 71 | return 1; | ||
| 72 | else if (!memchr(s, '@', len) && (p[len] == '@')) | ||
| 73 | return 1; | ||
| 74 | else | ||
| 75 | return 0; | ||
| 76 | } | ||
| 77 | |||
| 78 | const char *fdt_string(const void *fdt, int stroffset) | ||
| 79 | { | ||
| 80 | return (const char *)fdt + fdt_off_dt_strings(fdt) + stroffset; | ||
| 81 | } | ||
| 82 | |||
| 83 | int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) | ||
| 84 | { | ||
| 85 | FDT_CHECK_HEADER(fdt); | ||
| 86 | *address = fdt64_to_cpu(_fdt_mem_rsv(fdt, n)->address); | ||
| 87 | *size = fdt64_to_cpu(_fdt_mem_rsv(fdt, n)->size); | ||
| 88 | return 0; | ||
| 89 | } | ||
| 90 | |||
| 91 | int fdt_num_mem_rsv(const void *fdt) | ||
| 92 | { | ||
| 93 | int i = 0; | ||
| 94 | |||
| 95 | while (fdt64_to_cpu(_fdt_mem_rsv(fdt, i)->size) != 0) | ||
| 96 | i++; | ||
| 97 | return i; | ||
| 98 | } | ||
| 99 | |||
| 100 | int fdt_subnode_offset_namelen(const void *fdt, int offset, | ||
| 101 | const char *name, int namelen) | ||
| 102 | { | ||
| 103 | int depth; | ||
| 104 | |||
| 105 | FDT_CHECK_HEADER(fdt); | ||
| 106 | |||
| 107 | for (depth = 0, offset = fdt_next_node(fdt, offset, &depth); | ||
| 108 | (offset >= 0) && (depth > 0); | ||
| 109 | offset = fdt_next_node(fdt, offset, &depth)) { | ||
| 110 | if (depth < 0) | ||
| 111 | return -FDT_ERR_NOTFOUND; | ||
| 112 | else if ((depth == 1) | ||
| 113 | && _fdt_nodename_eq(fdt, offset, name, namelen)) | ||
| 114 | return offset; | ||
| 115 | } | ||
| 116 | |||
| 117 | if (offset < 0) | ||
| 118 | return offset; /* error */ | ||
| 119 | else | ||
| 120 | return -FDT_ERR_NOTFOUND; | ||
| 121 | } | ||
| 122 | |||
| 123 | int fdt_subnode_offset(const void *fdt, int parentoffset, | ||
| 124 | const char *name) | ||
| 125 | { | ||
| 126 | return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); | ||
| 127 | } | ||
| 128 | |||
| 129 | int fdt_path_offset(const void *fdt, const char *path) | ||
| 130 | { | ||
| 131 | const char *end = path + strlen(path); | ||
| 132 | const char *p = path; | ||
| 133 | int offset = 0; | ||
| 134 | |||
| 135 | FDT_CHECK_HEADER(fdt); | ||
| 136 | |||
| 137 | if (*path != '/') | ||
| 138 | return -FDT_ERR_BADPATH; | ||
| 139 | |||
| 140 | while (*p) { | ||
| 141 | const char *q; | ||
| 142 | |||
| 143 | while (*p == '/') | ||
| 144 | p++; | ||
| 145 | if (! *p) | ||
| 146 | return offset; | ||
| 147 | q = strchr(p, '/'); | ||
| 148 | if (! q) | ||
| 149 | q = end; | ||
| 150 | |||
| 151 | offset = fdt_subnode_offset_namelen(fdt, offset, p, q-p); | ||
| 152 | if (offset < 0) | ||
| 153 | return offset; | ||
| 154 | |||
| 155 | p = q; | ||
| 156 | } | ||
| 157 | |||
| 158 | return offset; | ||
| 159 | } | ||
| 160 | |||
| 161 | const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) | ||
| 162 | { | ||
| 163 | const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); | ||
| 164 | int err; | ||
| 165 | |||
| 166 | if (((err = fdt_check_header(fdt)) != 0) | ||
| 167 | || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) | ||
| 168 | goto fail; | ||
| 169 | |||
| 170 | if (len) | ||
| 171 | *len = strlen(nh->name); | ||
| 172 | |||
| 173 | return nh->name; | ||
| 174 | |||
| 175 | fail: | ||
| 176 | if (len) | ||
| 177 | *len = err; | ||
| 178 | return NULL; | ||
| 179 | } | ||
| 180 | |||
| 181 | const struct fdt_property *fdt_get_property(const void *fdt, | ||
| 182 | int nodeoffset, | ||
| 183 | const char *name, int *lenp) | ||
| 184 | { | ||
| 185 | uint32_t tag; | ||
| 186 | const struct fdt_property *prop; | ||
| 187 | int namestroff; | ||
| 188 | int offset, nextoffset; | ||
| 189 | int err; | ||
| 190 | |||
| 191 | if (((err = fdt_check_header(fdt)) != 0) | ||
| 192 | || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) | ||
| 193 | goto fail; | ||
| 194 | |||
| 195 | nextoffset = err; | ||
| 196 | do { | ||
| 197 | offset = nextoffset; | ||
| 198 | |||
| 199 | tag = fdt_next_tag(fdt, offset, &nextoffset); | ||
| 200 | switch (tag) { | ||
| 201 | case FDT_END: | ||
| 202 | err = -FDT_ERR_TRUNCATED; | ||
| 203 | goto fail; | ||
| 204 | |||
| 205 | case FDT_BEGIN_NODE: | ||
| 206 | case FDT_END_NODE: | ||
| 207 | case FDT_NOP: | ||
| 208 | break; | ||
| 209 | |||
| 210 | case FDT_PROP: | ||
| 211 | err = -FDT_ERR_BADSTRUCTURE; | ||
| 212 | prop = fdt_offset_ptr(fdt, offset, sizeof(*prop)); | ||
| 213 | if (! prop) | ||
| 214 | goto fail; | ||
| 215 | namestroff = fdt32_to_cpu(prop->nameoff); | ||
| 216 | if (strcmp(fdt_string(fdt, namestroff), name) == 0) { | ||
| 217 | /* Found it! */ | ||
| 218 | int len = fdt32_to_cpu(prop->len); | ||
| 219 | prop = fdt_offset_ptr(fdt, offset, | ||
| 220 | sizeof(*prop)+len); | ||
| 221 | if (! prop) | ||
| 222 | goto fail; | ||
| 223 | |||
| 224 | if (lenp) | ||
| 225 | *lenp = len; | ||
| 226 | |||
| 227 | return prop; | ||
| 228 | } | ||
| 229 | break; | ||
| 230 | |||
| 231 | default: | ||
| 232 | err = -FDT_ERR_BADSTRUCTURE; | ||
| 233 | goto fail; | ||
| 234 | } | ||
| 235 | } while ((tag != FDT_BEGIN_NODE) && (tag != FDT_END_NODE)); | ||
| 236 | |||
| 237 | err = -FDT_ERR_NOTFOUND; | ||
| 238 | fail: | ||
| 239 | if (lenp) | ||
| 240 | *lenp = err; | ||
| 241 | return NULL; | ||
| 242 | } | ||
| 243 | |||
| 244 | const void *fdt_getprop(const void *fdt, int nodeoffset, | ||
| 245 | const char *name, int *lenp) | ||
| 246 | { | ||
| 247 | const struct fdt_property *prop; | ||
| 248 | |||
| 249 | prop = fdt_get_property(fdt, nodeoffset, name, lenp); | ||
| 250 | if (! prop) | ||
| 251 | return NULL; | ||
| 252 | |||
| 253 | return prop->data; | ||
| 254 | } | ||
| 255 | |||
| 256 | uint32_t fdt_get_phandle(const void *fdt, int nodeoffset) | ||
| 257 | { | ||
| 258 | const uint32_t *php; | ||
| 259 | int len; | ||
| 260 | |||
| 261 | php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); | ||
| 262 | if (!php || (len != sizeof(*php))) | ||
| 263 | return 0; | ||
| 264 | |||
| 265 | return fdt32_to_cpu(*php); | ||
| 266 | } | ||
| 267 | |||
| 268 | int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) | ||
| 269 | { | ||
| 270 | int pdepth = 0, p = 0; | ||
| 271 | int offset, depth, namelen; | ||
| 272 | const char *name; | ||
| 273 | |||
| 274 | FDT_CHECK_HEADER(fdt); | ||
| 275 | |||
| 276 | if (buflen < 2) | ||
| 277 | return -FDT_ERR_NOSPACE; | ||
| 278 | |||
| 279 | for (offset = 0, depth = 0; | ||
| 280 | (offset >= 0) && (offset <= nodeoffset); | ||
| 281 | offset = fdt_next_node(fdt, offset, &depth)) { | ||
| 282 | if (pdepth < depth) | ||
| 283 | continue; /* overflowed buffer */ | ||
| 284 | |||
| 285 | while (pdepth > depth) { | ||
| 286 | do { | ||
| 287 | p--; | ||
| 288 | } while (buf[p-1] != '/'); | ||
| 289 | pdepth--; | ||
| 290 | } | ||
| 291 | |||
| 292 | name = fdt_get_name(fdt, offset, &namelen); | ||
| 293 | if (!name) | ||
| 294 | return namelen; | ||
| 295 | if ((p + namelen + 1) <= buflen) { | ||
| 296 | memcpy(buf + p, name, namelen); | ||
| 297 | p += namelen; | ||
| 298 | buf[p++] = '/'; | ||
| 299 | pdepth++; | ||
| 300 | } | ||
| 301 | |||
| 302 | if (offset == nodeoffset) { | ||
| 303 | if (pdepth < (depth + 1)) | ||
| 304 | return -FDT_ERR_NOSPACE; | ||
| 305 | |||
| 306 | if (p > 1) /* special case so that root path is "/", not "" */ | ||
| 307 | p--; | ||
| 308 | buf[p] = '\0'; | ||
| 309 | return p; | ||
| 310 | } | ||
| 311 | } | ||
| 312 | |||
| 313 | if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) | ||
| 314 | return -FDT_ERR_BADOFFSET; | ||
| 315 | else if (offset == -FDT_ERR_BADOFFSET) | ||
| 316 | return -FDT_ERR_BADSTRUCTURE; | ||
| 317 | |||
| 318 | return offset; /* error from fdt_next_node() */ | ||
| 319 | } | ||
| 320 | |||
| 321 | int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, | ||
| 322 | int supernodedepth, int *nodedepth) | ||
| 323 | { | ||
| 324 | int offset, depth; | ||
| 325 | int supernodeoffset = -FDT_ERR_INTERNAL; | ||
| 326 | |||
| 327 | FDT_CHECK_HEADER(fdt); | ||
| 328 | |||
| 329 | if (supernodedepth < 0) | ||
| 330 | return -FDT_ERR_NOTFOUND; | ||
| 331 | |||
| 332 | for (offset = 0, depth = 0; | ||
| 333 | (offset >= 0) && (offset <= nodeoffset); | ||
| 334 | offset = fdt_next_node(fdt, offset, &depth)) { | ||
| 335 | if (depth == supernodedepth) | ||
| 336 | supernodeoffset = offset; | ||
| 337 | |||
| 338 | if (offset == nodeoffset) { | ||
| 339 | if (nodedepth) | ||
| 340 | *nodedepth = depth; | ||
| 341 | |||
| 342 | if (supernodedepth > depth) | ||
| 343 | return -FDT_ERR_NOTFOUND; | ||
| 344 | else | ||
| 345 | return supernodeoffset; | ||
| 346 | } | ||
| 347 | } | ||
| 348 | |||
| 349 | if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) | ||
| 350 | return -FDT_ERR_BADOFFSET; | ||
| 351 | else if (offset == -FDT_ERR_BADOFFSET) | ||
| 352 | return -FDT_ERR_BADSTRUCTURE; | ||
| 353 | |||
| 354 | return offset; /* error from fdt_next_node() */ | ||
| 355 | } | ||
| 356 | |||
| 357 | int fdt_node_depth(const void *fdt, int nodeoffset) | ||
| 358 | { | ||
| 359 | int nodedepth; | ||
| 360 | int err; | ||
| 361 | |||
| 362 | err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth); | ||
| 363 | if (err) | ||
| 364 | return (err < 0) ? err : -FDT_ERR_INTERNAL; | ||
| 365 | return nodedepth; | ||
| 366 | } | ||
| 367 | |||
| 368 | int fdt_parent_offset(const void *fdt, int nodeoffset) | ||
| 369 | { | ||
| 370 | int nodedepth = fdt_node_depth(fdt, nodeoffset); | ||
| 371 | |||
| 372 | if (nodedepth < 0) | ||
| 373 | return nodedepth; | ||
| 374 | return fdt_supernode_atdepth_offset(fdt, nodeoffset, | ||
| 375 | nodedepth - 1, NULL); | ||
| 376 | } | ||
| 377 | |||
| 378 | int fdt_node_offset_by_prop_value(const void *fdt, int startoffset, | ||
| 379 | const char *propname, | ||
| 380 | const void *propval, int proplen) | ||
| 381 | { | ||
| 382 | int offset; | ||
| 383 | const void *val; | ||
| 384 | int len; | ||
| 385 | |||
| 386 | FDT_CHECK_HEADER(fdt); | ||
| 387 | |||
| 388 | /* FIXME: The algorithm here is pretty horrible: we scan each | ||
| 389 | * property of a node in fdt_getprop(), then if that didn't | ||
| 390 | * find what we want, we scan over them again making our way | ||
| 391 | * to the next node. Still it's the easiest to implement | ||
| 392 | * approach; performance can come later. */ | ||
| 393 | for (offset = fdt_next_node(fdt, startoffset, NULL); | ||
| 394 | offset >= 0; | ||
| 395 | offset = fdt_next_node(fdt, offset, NULL)) { | ||
| 396 | val = fdt_getprop(fdt, offset, propname, &len); | ||
| 397 | if (val && (len == proplen) | ||
| 398 | && (memcmp(val, propval, len) == 0)) | ||
| 399 | return offset; | ||
| 400 | } | ||
| 401 | |||
| 402 | return offset; /* error from fdt_next_node() */ | ||
| 403 | } | ||
| 404 | |||
| 405 | int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) | ||
| 406 | { | ||
| 407 | if ((phandle == 0) || (phandle == -1)) | ||
| 408 | return -FDT_ERR_BADPHANDLE; | ||
| 409 | phandle = cpu_to_fdt32(phandle); | ||
| 410 | return fdt_node_offset_by_prop_value(fdt, -1, "linux,phandle", | ||
| 411 | &phandle, sizeof(phandle)); | ||
| 412 | } | ||
| 413 | |||
| 414 | int _stringlist_contains(const char *strlist, int listlen, const char *str) | ||
| 415 | { | ||
| 416 | int len = strlen(str); | ||
| 417 | const char *p; | ||
| 418 | |||
| 419 | while (listlen >= len) { | ||
| 420 | if (memcmp(str, strlist, len+1) == 0) | ||
| 421 | return 1; | ||
| 422 | p = memchr(strlist, '\0', listlen); | ||
| 423 | if (!p) | ||
| 424 | return 0; /* malformed strlist.. */ | ||
| 425 | listlen -= (p-strlist) + 1; | ||
| 426 | strlist = p + 1; | ||
| 427 | } | ||
| 428 | return 0; | ||
| 429 | } | ||
| 430 | |||
| 431 | int fdt_node_check_compatible(const void *fdt, int nodeoffset, | ||
| 432 | const char *compatible) | ||
| 433 | { | ||
| 434 | const void *prop; | ||
| 435 | int len; | ||
| 436 | |||
| 437 | prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); | ||
| 438 | if (!prop) | ||
| 439 | return len; | ||
| 440 | if (_stringlist_contains(prop, len, compatible)) | ||
| 441 | return 0; | ||
| 442 | else | ||
| 443 | return 1; | ||
| 444 | } | ||
| 445 | |||
| 446 | int fdt_node_offset_by_compatible(const void *fdt, int startoffset, | ||
| 447 | const char *compatible) | ||
| 448 | { | ||
| 449 | int offset, err; | ||
| 450 | |||
| 451 | FDT_CHECK_HEADER(fdt); | ||
| 452 | |||
| 453 | /* FIXME: The algorithm here is pretty horrible: we scan each | ||
| 454 | * property of a node in fdt_node_check_compatible(), then if | ||
| 455 | * that didn't find what we want, we scan over them again | ||
| 456 | * making our way to the next node. Still it's the easiest to | ||
| 457 | * implement approach; performance can come later. */ | ||
| 458 | for (offset = fdt_next_node(fdt, startoffset, NULL); | ||
| 459 | offset >= 0; | ||
| 460 | offset = fdt_next_node(fdt, offset, NULL)) { | ||
| 461 | err = fdt_node_check_compatible(fdt, offset, compatible); | ||
| 462 | if ((err < 0) && (err != -FDT_ERR_NOTFOUND)) | ||
| 463 | return err; | ||
| 464 | else if (err == 0) | ||
| 465 | return offset; | ||
| 466 | } | ||
| 467 | |||
| 468 | return offset; /* error from fdt_next_node() */ | ||
| 469 | } | ||
diff --git a/arch/powerpc/boot/libfdt/fdt_rw.c b/arch/powerpc/boot/libfdt/fdt_rw.c deleted file mode 100644 index 8e7ec4cb7bcd..000000000000 --- a/arch/powerpc/boot/libfdt/fdt_rw.c +++ /dev/null | |||
| @@ -1,463 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | static int _fdt_blocks_misordered(const void *fdt, | ||
| 59 | int mem_rsv_size, int struct_size) | ||
| 60 | { | ||
| 61 | return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8)) | ||
| 62 | || (fdt_off_dt_struct(fdt) < | ||
| 63 | (fdt_off_mem_rsvmap(fdt) + mem_rsv_size)) | ||
| 64 | || (fdt_off_dt_strings(fdt) < | ||
| 65 | (fdt_off_dt_struct(fdt) + struct_size)) | ||
| 66 | || (fdt_totalsize(fdt) < | ||
| 67 | (fdt_off_dt_strings(fdt) + fdt_size_dt_strings(fdt))); | ||
| 68 | } | ||
| 69 | |||
| 70 | static int _fdt_rw_check_header(void *fdt) | ||
| 71 | { | ||
| 72 | FDT_CHECK_HEADER(fdt); | ||
| 73 | |||
| 74 | if (fdt_version(fdt) < 17) | ||
| 75 | return -FDT_ERR_BADVERSION; | ||
| 76 | if (_fdt_blocks_misordered(fdt, sizeof(struct fdt_reserve_entry), | ||
| 77 | fdt_size_dt_struct(fdt))) | ||
| 78 | return -FDT_ERR_BADLAYOUT; | ||
| 79 | if (fdt_version(fdt) > 17) | ||
| 80 | fdt_set_version(fdt, 17); | ||
| 81 | |||
| 82 | return 0; | ||
| 83 | } | ||
| 84 | |||
| 85 | #define FDT_RW_CHECK_HEADER(fdt) \ | ||
| 86 | { \ | ||
| 87 | int err; \ | ||
| 88 | if ((err = _fdt_rw_check_header(fdt)) != 0) \ | ||
| 89 | return err; \ | ||
| 90 | } | ||
| 91 | |||
| 92 | static inline int _fdt_data_size(void *fdt) | ||
| 93 | { | ||
| 94 | return fdt_off_dt_strings(fdt) + fdt_size_dt_strings(fdt); | ||
| 95 | } | ||
| 96 | |||
| 97 | static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) | ||
| 98 | { | ||
| 99 | char *p = splicepoint; | ||
| 100 | char *end = (char *)fdt + _fdt_data_size(fdt); | ||
| 101 | |||
| 102 | if (((p + oldlen) < p) || ((p + oldlen) > end)) | ||
| 103 | return -FDT_ERR_BADOFFSET; | ||
| 104 | if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) | ||
| 105 | return -FDT_ERR_NOSPACE; | ||
| 106 | memmove(p + newlen, p + oldlen, end - p - oldlen); | ||
| 107 | return 0; | ||
| 108 | } | ||
| 109 | |||
| 110 | static int _fdt_splice_mem_rsv(void *fdt, struct fdt_reserve_entry *p, | ||
| 111 | int oldn, int newn) | ||
| 112 | { | ||
| 113 | int delta = (newn - oldn) * sizeof(*p); | ||
| 114 | int err; | ||
| 115 | err = _fdt_splice(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); | ||
| 116 | if (err) | ||
| 117 | return err; | ||
| 118 | fdt_set_off_dt_struct(fdt, fdt_off_dt_struct(fdt) + delta); | ||
| 119 | fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); | ||
| 120 | return 0; | ||
| 121 | } | ||
| 122 | |||
| 123 | static int _fdt_splice_struct(void *fdt, void *p, | ||
| 124 | int oldlen, int newlen) | ||
| 125 | { | ||
| 126 | int delta = newlen - oldlen; | ||
| 127 | int err; | ||
| 128 | |||
| 129 | if ((err = _fdt_splice(fdt, p, oldlen, newlen))) | ||
| 130 | return err; | ||
| 131 | |||
| 132 | fdt_set_size_dt_struct(fdt, fdt_size_dt_struct(fdt) + delta); | ||
| 133 | fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); | ||
| 134 | return 0; | ||
| 135 | } | ||
| 136 | |||
| 137 | static int _fdt_splice_string(void *fdt, int newlen) | ||
| 138 | { | ||
| 139 | void *p = (char *)fdt | ||
| 140 | + fdt_off_dt_strings(fdt) + fdt_size_dt_strings(fdt); | ||
| 141 | int err; | ||
| 142 | |||
| 143 | if ((err = _fdt_splice(fdt, p, 0, newlen))) | ||
| 144 | return err; | ||
| 145 | |||
| 146 | fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) + newlen); | ||
| 147 | return 0; | ||
| 148 | } | ||
| 149 | |||
| 150 | static int _fdt_find_add_string(void *fdt, const char *s) | ||
| 151 | { | ||
| 152 | char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); | ||
| 153 | const char *p; | ||
| 154 | char *new; | ||
| 155 | int len = strlen(s) + 1; | ||
| 156 | int err; | ||
| 157 | |||
| 158 | p = _fdt_find_string(strtab, fdt_size_dt_strings(fdt), s); | ||
| 159 | if (p) | ||
| 160 | /* found it */ | ||
| 161 | return (p - strtab); | ||
| 162 | |||
| 163 | new = strtab + fdt_size_dt_strings(fdt); | ||
| 164 | err = _fdt_splice_string(fdt, len); | ||
| 165 | if (err) | ||
| 166 | return err; | ||
| 167 | |||
| 168 | memcpy(new, s, len); | ||
| 169 | return (new - strtab); | ||
| 170 | } | ||
| 171 | |||
| 172 | int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) | ||
| 173 | { | ||
| 174 | struct fdt_reserve_entry *re; | ||
| 175 | int err; | ||
| 176 | |||
| 177 | FDT_RW_CHECK_HEADER(fdt); | ||
| 178 | |||
| 179 | re = _fdt_mem_rsv_w(fdt, fdt_num_mem_rsv(fdt)); | ||
| 180 | err = _fdt_splice_mem_rsv(fdt, re, 0, 1); | ||
| 181 | if (err) | ||
| 182 | return err; | ||
| 183 | |||
| 184 | re->address = cpu_to_fdt64(address); | ||
| 185 | re->size = cpu_to_fdt64(size); | ||
| 186 | return 0; | ||
| 187 | } | ||
| 188 | |||
| 189 | int fdt_del_mem_rsv(void *fdt, int n) | ||
| 190 | { | ||
| 191 | struct fdt_reserve_entry *re = _fdt_mem_rsv_w(fdt, n); | ||
| 192 | int err; | ||
| 193 | |||
| 194 | FDT_RW_CHECK_HEADER(fdt); | ||
| 195 | |||
| 196 | if (n >= fdt_num_mem_rsv(fdt)) | ||
| 197 | return -FDT_ERR_NOTFOUND; | ||
| 198 | |||
| 199 | err = _fdt_splice_mem_rsv(fdt, re, 1, 0); | ||
| 200 | if (err) | ||
| 201 | return err; | ||
| 202 | return 0; | ||
| 203 | } | ||
| 204 | |||
| 205 | static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, | ||
| 206 | int len, struct fdt_property **prop) | ||
| 207 | { | ||
| 208 | int oldlen; | ||
| 209 | int err; | ||
| 210 | |||
| 211 | *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); | ||
| 212 | if (! (*prop)) | ||
| 213 | return oldlen; | ||
| 214 | |||
| 215 | if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), | ||
| 216 | FDT_TAGALIGN(len)))) | ||
| 217 | return err; | ||
| 218 | |||
| 219 | (*prop)->len = cpu_to_fdt32(len); | ||
| 220 | return 0; | ||
| 221 | } | ||
| 222 | |||
| 223 | static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, | ||
| 224 | int len, struct fdt_property **prop) | ||
| 225 | { | ||
| 226 | int proplen; | ||
| 227 | int nextoffset; | ||
| 228 | int namestroff; | ||
| 229 | int err; | ||
| 230 | |||
| 231 | if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) | ||
| 232 | return nextoffset; | ||
| 233 | |||
| 234 | namestroff = _fdt_find_add_string(fdt, name); | ||
| 235 | if (namestroff < 0) | ||
| 236 | return namestroff; | ||
| 237 | |||
| 238 | *prop = _fdt_offset_ptr_w(fdt, nextoffset); | ||
| 239 | proplen = sizeof(**prop) + FDT_TAGALIGN(len); | ||
| 240 | |||
| 241 | err = _fdt_splice_struct(fdt, *prop, 0, proplen); | ||
| 242 | if (err) | ||
| 243 | return err; | ||
| 244 | |||
| 245 | (*prop)->tag = cpu_to_fdt32(FDT_PROP); | ||
| 246 | (*prop)->nameoff = cpu_to_fdt32(namestroff); | ||
| 247 | (*prop)->len = cpu_to_fdt32(len); | ||
| 248 | return 0; | ||
| 249 | } | ||
| 250 | |||
| 251 | int fdt_set_name(void *fdt, int nodeoffset, const char *name) | ||
| 252 | { | ||
| 253 | char *namep; | ||
| 254 | int oldlen, newlen; | ||
| 255 | int err; | ||
| 256 | |||
| 257 | FDT_RW_CHECK_HEADER(fdt); | ||
| 258 | |||
| 259 | namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); | ||
| 260 | if (!namep) | ||
| 261 | return oldlen; | ||
| 262 | |||
| 263 | newlen = strlen(name); | ||
| 264 | |||
| 265 | err = _fdt_splice_struct(fdt, namep, FDT_TAGALIGN(oldlen+1), | ||
| 266 | FDT_TAGALIGN(newlen+1)); | ||
| 267 | if (err) | ||
| 268 | return err; | ||
| 269 | |||
| 270 | memcpy(namep, name, newlen+1); | ||
| 271 | return 0; | ||
| 272 | } | ||
| 273 | |||
| 274 | int fdt_setprop(void *fdt, int nodeoffset, const char *name, | ||
| 275 | const void *val, int len) | ||
| 276 | { | ||
| 277 | struct fdt_property *prop; | ||
| 278 | int err; | ||
| 279 | |||
| 280 | FDT_RW_CHECK_HEADER(fdt); | ||
| 281 | |||
| 282 | err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); | ||
| 283 | if (err == -FDT_ERR_NOTFOUND) | ||
| 284 | err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); | ||
| 285 | if (err) | ||
| 286 | return err; | ||
| 287 | |||
| 288 | memcpy(prop->data, val, len); | ||
| 289 | return 0; | ||
| 290 | } | ||
| 291 | |||
| 292 | int fdt_delprop(void *fdt, int nodeoffset, const char *name) | ||
| 293 | { | ||
| 294 | struct fdt_property *prop; | ||
| 295 | int len, proplen; | ||
| 296 | |||
| 297 | FDT_RW_CHECK_HEADER(fdt); | ||
| 298 | |||
| 299 | prop = fdt_get_property_w(fdt, nodeoffset, name, &len); | ||
| 300 | if (! prop) | ||
| 301 | return len; | ||
| 302 | |||
| 303 | proplen = sizeof(*prop) + FDT_TAGALIGN(len); | ||
| 304 | return _fdt_splice_struct(fdt, prop, proplen, 0); | ||
| 305 | } | ||
| 306 | |||
| 307 | int fdt_add_subnode_namelen(void *fdt, int parentoffset, | ||
| 308 | const char *name, int namelen) | ||
| 309 | { | ||
| 310 | struct fdt_node_header *nh; | ||
| 311 | int offset, nextoffset; | ||
| 312 | int nodelen; | ||
| 313 | int err; | ||
| 314 | uint32_t tag; | ||
| 315 | uint32_t *endtag; | ||
| 316 | |||
| 317 | FDT_RW_CHECK_HEADER(fdt); | ||
| 318 | |||
| 319 | offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); | ||
| 320 | if (offset >= 0) | ||
| 321 | return -FDT_ERR_EXISTS; | ||
| 322 | else if (offset != -FDT_ERR_NOTFOUND) | ||
| 323 | return offset; | ||
| 324 | |||
| 325 | /* Try to place the new node after the parent's properties */ | ||
| 326 | fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ | ||
| 327 | do { | ||
| 328 | offset = nextoffset; | ||
| 329 | tag = fdt_next_tag(fdt, offset, &nextoffset); | ||
| 330 | } while ((tag == FDT_PROP) || (tag == FDT_NOP)); | ||
| 331 | |||
| 332 | nh = _fdt_offset_ptr_w(fdt, offset); | ||
| 333 | nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; | ||
| 334 | |||
| 335 | err = _fdt_splice_struct(fdt, nh, 0, nodelen); | ||
| 336 | if (err) | ||
| 337 | return err; | ||
| 338 | |||
| 339 | nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); | ||
| 340 | memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); | ||
| 341 | memcpy(nh->name, name, namelen); | ||
| 342 | endtag = (uint32_t *)((char *)nh + nodelen - FDT_TAGSIZE); | ||
| 343 | *endtag = cpu_to_fdt32(FDT_END_NODE); | ||
| 344 | |||
| 345 | return offset; | ||
| 346 | } | ||
| 347 | |||
| 348 | int fdt_add_subnode(void *fdt, int parentoffset, const char *name) | ||
| 349 | { | ||
| 350 | return fdt_add_subnode_namelen(fdt, parentoffset, name, strlen(name)); | ||
| 351 | } | ||
| 352 | |||
| 353 | int fdt_del_node(void *fdt, int nodeoffset) | ||
| 354 | { | ||
| 355 | int endoffset; | ||
| 356 | |||
| 357 | FDT_RW_CHECK_HEADER(fdt); | ||
| 358 | |||
| 359 | endoffset = _fdt_node_end_offset(fdt, nodeoffset); | ||
| 360 | if (endoffset < 0) | ||
| 361 | return endoffset; | ||
| 362 | |||
| 363 | return _fdt_splice_struct(fdt, _fdt_offset_ptr_w(fdt, nodeoffset), | ||
| 364 | endoffset - nodeoffset, 0); | ||
| 365 | } | ||
| 366 | |||
| 367 | static void _fdt_packblocks(const char *old, char *new, | ||
| 368 | int mem_rsv_size, int struct_size) | ||
| 369 | { | ||
| 370 | int mem_rsv_off, struct_off, strings_off; | ||
| 371 | |||
| 372 | mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); | ||
| 373 | struct_off = mem_rsv_off + mem_rsv_size; | ||
| 374 | strings_off = struct_off + struct_size; | ||
| 375 | |||
| 376 | memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); | ||
| 377 | fdt_set_off_mem_rsvmap(new, mem_rsv_off); | ||
| 378 | |||
| 379 | memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); | ||
| 380 | fdt_set_off_dt_struct(new, struct_off); | ||
| 381 | fdt_set_size_dt_struct(new, struct_size); | ||
| 382 | |||
| 383 | memmove(new + strings_off, old + fdt_off_dt_strings(old), | ||
| 384 | fdt_size_dt_strings(old)); | ||
| 385 | fdt_set_off_dt_strings(new, strings_off); | ||
| 386 | fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); | ||
| 387 | } | ||
| 388 | |||
| 389 | int fdt_open_into(const void *fdt, void *buf, int bufsize) | ||
| 390 | { | ||
| 391 | int err; | ||
| 392 | int mem_rsv_size, struct_size; | ||
| 393 | int newsize; | ||
| 394 | const char *fdtstart = fdt; | ||
| 395 | const char *fdtend = fdtstart + fdt_totalsize(fdt); | ||
| 396 | char *tmp; | ||
| 397 | |||
| 398 | FDT_CHECK_HEADER(fdt); | ||
| 399 | |||
| 400 | mem_rsv_size = (fdt_num_mem_rsv(fdt)+1) | ||
| 401 | * sizeof(struct fdt_reserve_entry); | ||
| 402 | |||
| 403 | if (fdt_version(fdt) >= 17) { | ||
| 404 | struct_size = fdt_size_dt_struct(fdt); | ||
| 405 | } else { | ||
| 406 | struct_size = 0; | ||
| 407 | while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END) | ||
| 408 | ; | ||
| 409 | } | ||
| 410 | |||
| 411 | if (!_fdt_blocks_misordered(fdt, mem_rsv_size, struct_size)) { | ||
| 412 | /* no further work necessary */ | ||
| 413 | err = fdt_move(fdt, buf, bufsize); | ||
| 414 | if (err) | ||
| 415 | return err; | ||
| 416 | fdt_set_version(buf, 17); | ||
| 417 | fdt_set_size_dt_struct(buf, struct_size); | ||
| 418 | fdt_set_totalsize(buf, bufsize); | ||
| 419 | return 0; | ||
| 420 | } | ||
| 421 | |||
| 422 | /* Need to reorder */ | ||
| 423 | newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size | ||
| 424 | + struct_size + fdt_size_dt_strings(fdt); | ||
| 425 | |||
| 426 | if (bufsize < newsize) | ||
| 427 | return -FDT_ERR_NOSPACE; | ||
| 428 | |||
| 429 | /* First attempt to build converted tree at beginning of buffer */ | ||
| 430 | tmp = buf; | ||
| 431 | /* But if that overlaps with the old tree... */ | ||
| 432 | if (((tmp + newsize) > fdtstart) && (tmp < fdtend)) { | ||
| 433 | /* Try right after the old tree instead */ | ||
| 434 | tmp = (char *)(uintptr_t)fdtend; | ||
| 435 | if ((tmp + newsize) > ((char *)buf + bufsize)) | ||
| 436 | return -FDT_ERR_NOSPACE; | ||
| 437 | } | ||
| 438 | |||
| 439 | _fdt_packblocks(fdt, tmp, mem_rsv_size, struct_size); | ||
| 440 | memmove(buf, tmp, newsize); | ||
| 441 | |||
| 442 | fdt_set_magic(buf, FDT_MAGIC); | ||
| 443 | fdt_set_totalsize(buf, bufsize); | ||
| 444 | fdt_set_version(buf, 17); | ||
| 445 | fdt_set_last_comp_version(buf, 16); | ||
| 446 | fdt_set_boot_cpuid_phys(buf, fdt_boot_cpuid_phys(fdt)); | ||
| 447 | |||
| 448 | return 0; | ||
| 449 | } | ||
| 450 | |||
| 451 | int fdt_pack(void *fdt) | ||
| 452 | { | ||
| 453 | int mem_rsv_size; | ||
| 454 | |||
| 455 | FDT_RW_CHECK_HEADER(fdt); | ||
| 456 | |||
| 457 | mem_rsv_size = (fdt_num_mem_rsv(fdt)+1) | ||
| 458 | * sizeof(struct fdt_reserve_entry); | ||
| 459 | _fdt_packblocks(fdt, fdt, mem_rsv_size, fdt_size_dt_struct(fdt)); | ||
| 460 | fdt_set_totalsize(fdt, _fdt_data_size(fdt)); | ||
| 461 | |||
| 462 | return 0; | ||
| 463 | } | ||
diff --git a/arch/powerpc/boot/libfdt/fdt_strerror.c b/arch/powerpc/boot/libfdt/fdt_strerror.c deleted file mode 100644 index e6c3ceee8c58..000000000000 --- a/arch/powerpc/boot/libfdt/fdt_strerror.c +++ /dev/null | |||
| @@ -1,96 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | struct fdt_errtabent { | ||
| 59 | const char *str; | ||
| 60 | }; | ||
| 61 | |||
| 62 | #define FDT_ERRTABENT(val) \ | ||
| 63 | [(val)] = { .str = #val, } | ||
| 64 | |||
| 65 | static struct fdt_errtabent fdt_errtable[] = { | ||
| 66 | FDT_ERRTABENT(FDT_ERR_NOTFOUND), | ||
| 67 | FDT_ERRTABENT(FDT_ERR_EXISTS), | ||
| 68 | FDT_ERRTABENT(FDT_ERR_NOSPACE), | ||
| 69 | |||
| 70 | FDT_ERRTABENT(FDT_ERR_BADOFFSET), | ||
| 71 | FDT_ERRTABENT(FDT_ERR_BADPATH), | ||
| 72 | FDT_ERRTABENT(FDT_ERR_BADSTATE), | ||
| 73 | |||
| 74 | FDT_ERRTABENT(FDT_ERR_TRUNCATED), | ||
| 75 | FDT_ERRTABENT(FDT_ERR_BADMAGIC), | ||
| 76 | FDT_ERRTABENT(FDT_ERR_BADVERSION), | ||
| 77 | FDT_ERRTABENT(FDT_ERR_BADSTRUCTURE), | ||
| 78 | FDT_ERRTABENT(FDT_ERR_BADLAYOUT), | ||
| 79 | }; | ||
| 80 | #define FDT_ERRTABSIZE (sizeof(fdt_errtable) / sizeof(fdt_errtable[0])) | ||
| 81 | |||
| 82 | const char *fdt_strerror(int errval) | ||
| 83 | { | ||
| 84 | if (errval > 0) | ||
| 85 | return "<valid offset/length>"; | ||
| 86 | else if (errval == 0) | ||
| 87 | return "<no error>"; | ||
| 88 | else if (errval > -FDT_ERRTABSIZE) { | ||
| 89 | const char *s = fdt_errtable[-errval].str; | ||
| 90 | |||
| 91 | if (s) | ||
| 92 | return s; | ||
| 93 | } | ||
| 94 | |||
| 95 | return "<unknown error>"; | ||
| 96 | } | ||
diff --git a/arch/powerpc/boot/libfdt/fdt_sw.c b/arch/powerpc/boot/libfdt/fdt_sw.c deleted file mode 100644 index 698329e0ccaf..000000000000 --- a/arch/powerpc/boot/libfdt/fdt_sw.c +++ /dev/null | |||
| @@ -1,257 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | static int _fdt_sw_check_header(void *fdt) | ||
| 59 | { | ||
| 60 | if (fdt_magic(fdt) != FDT_SW_MAGIC) | ||
| 61 | return -FDT_ERR_BADMAGIC; | ||
| 62 | /* FIXME: should check more details about the header state */ | ||
| 63 | return 0; | ||
| 64 | } | ||
| 65 | |||
| 66 | #define FDT_SW_CHECK_HEADER(fdt) \ | ||
| 67 | { \ | ||
| 68 | int err; \ | ||
| 69 | if ((err = _fdt_sw_check_header(fdt)) != 0) \ | ||
| 70 | return err; \ | ||
| 71 | } | ||
| 72 | |||
| 73 | static void *_fdt_grab_space(void *fdt, int len) | ||
| 74 | { | ||
| 75 | int offset = fdt_size_dt_struct(fdt); | ||
| 76 | int spaceleft; | ||
| 77 | |||
| 78 | spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) | ||
| 79 | - fdt_size_dt_strings(fdt); | ||
| 80 | |||
| 81 | if ((offset + len < offset) || (offset + len > spaceleft)) | ||
| 82 | return NULL; | ||
| 83 | |||
| 84 | fdt_set_size_dt_struct(fdt, offset + len); | ||
| 85 | return fdt_offset_ptr_w(fdt, offset, len); | ||
| 86 | } | ||
| 87 | |||
| 88 | int fdt_create(void *buf, int bufsize) | ||
| 89 | { | ||
| 90 | void *fdt = buf; | ||
| 91 | |||
| 92 | if (bufsize < sizeof(struct fdt_header)) | ||
| 93 | return -FDT_ERR_NOSPACE; | ||
| 94 | |||
| 95 | memset(buf, 0, bufsize); | ||
| 96 | |||
| 97 | fdt_set_magic(fdt, FDT_SW_MAGIC); | ||
| 98 | fdt_set_version(fdt, FDT_LAST_SUPPORTED_VERSION); | ||
| 99 | fdt_set_last_comp_version(fdt, FDT_FIRST_SUPPORTED_VERSION); | ||
| 100 | fdt_set_totalsize(fdt, bufsize); | ||
| 101 | |||
| 102 | fdt_set_off_mem_rsvmap(fdt, FDT_ALIGN(sizeof(struct fdt_header), | ||
| 103 | sizeof(struct fdt_reserve_entry))); | ||
| 104 | fdt_set_off_dt_struct(fdt, fdt_off_mem_rsvmap(fdt)); | ||
| 105 | fdt_set_off_dt_strings(fdt, bufsize); | ||
| 106 | |||
| 107 | return 0; | ||
| 108 | } | ||
| 109 | |||
| 110 | int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) | ||
| 111 | { | ||
| 112 | struct fdt_reserve_entry *re; | ||
| 113 | int offset; | ||
| 114 | |||
| 115 | FDT_SW_CHECK_HEADER(fdt); | ||
| 116 | |||
| 117 | if (fdt_size_dt_struct(fdt)) | ||
| 118 | return -FDT_ERR_BADSTATE; | ||
| 119 | |||
| 120 | offset = fdt_off_dt_struct(fdt); | ||
| 121 | if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) | ||
| 122 | return -FDT_ERR_NOSPACE; | ||
| 123 | |||
| 124 | re = (struct fdt_reserve_entry *)((char *)fdt + offset); | ||
| 125 | re->address = cpu_to_fdt64(addr); | ||
| 126 | re->size = cpu_to_fdt64(size); | ||
| 127 | |||
| 128 | fdt_set_off_dt_struct(fdt, offset + sizeof(*re)); | ||
| 129 | |||
| 130 | return 0; | ||
| 131 | } | ||
| 132 | |||
| 133 | int fdt_finish_reservemap(void *fdt) | ||
| 134 | { | ||
| 135 | return fdt_add_reservemap_entry(fdt, 0, 0); | ||
| 136 | } | ||
| 137 | |||
| 138 | int fdt_begin_node(void *fdt, const char *name) | ||
| 139 | { | ||
| 140 | struct fdt_node_header *nh; | ||
| 141 | int namelen = strlen(name) + 1; | ||
| 142 | |||
| 143 | FDT_SW_CHECK_HEADER(fdt); | ||
| 144 | |||
| 145 | nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); | ||
| 146 | if (! nh) | ||
| 147 | return -FDT_ERR_NOSPACE; | ||
| 148 | |||
| 149 | nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); | ||
| 150 | memcpy(nh->name, name, namelen); | ||
| 151 | return 0; | ||
| 152 | } | ||
| 153 | |||
| 154 | int fdt_end_node(void *fdt) | ||
| 155 | { | ||
| 156 | uint32_t *en; | ||
| 157 | |||
| 158 | FDT_SW_CHECK_HEADER(fdt); | ||
| 159 | |||
| 160 | en = _fdt_grab_space(fdt, FDT_TAGSIZE); | ||
| 161 | if (! en) | ||
| 162 | return -FDT_ERR_NOSPACE; | ||
| 163 | |||
| 164 | *en = cpu_to_fdt32(FDT_END_NODE); | ||
| 165 | return 0; | ||
| 166 | } | ||
| 167 | |||
| 168 | static int _fdt_find_add_string(void *fdt, const char *s) | ||
| 169 | { | ||
| 170 | char *strtab = (char *)fdt + fdt_totalsize(fdt); | ||
| 171 | const char *p; | ||
| 172 | int strtabsize = fdt_size_dt_strings(fdt); | ||
| 173 | int len = strlen(s) + 1; | ||
| 174 | int struct_top, offset; | ||
| 175 | |||
| 176 | p = _fdt_find_string(strtab - strtabsize, strtabsize, s); | ||
| 177 | if (p) | ||
| 178 | return p - strtab; | ||
| 179 | |||
| 180 | /* Add it */ | ||
| 181 | offset = -strtabsize - len; | ||
| 182 | struct_top = fdt_off_dt_struct(fdt) + fdt_size_dt_struct(fdt); | ||
| 183 | if (fdt_totalsize(fdt) + offset < struct_top) | ||
| 184 | return 0; /* no more room :( */ | ||
| 185 | |||
| 186 | memcpy(strtab + offset, s, len); | ||
| 187 | fdt_set_size_dt_strings(fdt, strtabsize + len); | ||
| 188 | return offset; | ||
| 189 | } | ||
| 190 | |||
| 191 | int fdt_property(void *fdt, const char *name, const void *val, int len) | ||
| 192 | { | ||
| 193 | struct fdt_property *prop; | ||
| 194 | int nameoff; | ||
| 195 | |||
| 196 | FDT_SW_CHECK_HEADER(fdt); | ||
| 197 | |||
| 198 | nameoff = _fdt_find_add_string(fdt, name); | ||
| 199 | if (nameoff == 0) | ||
| 200 | return -FDT_ERR_NOSPACE; | ||
| 201 | |||
| 202 | prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); | ||
| 203 | if (! prop) | ||
| 204 | return -FDT_ERR_NOSPACE; | ||
| 205 | |||
| 206 | prop->tag = cpu_to_fdt32(FDT_PROP); | ||
| 207 | prop->nameoff = cpu_to_fdt32(nameoff); | ||
| 208 | prop->len = cpu_to_fdt32(len); | ||
| 209 | memcpy(prop->data, val, len); | ||
| 210 | return 0; | ||
| 211 | } | ||
| 212 | |||
| 213 | int fdt_finish(void *fdt) | ||
| 214 | { | ||
| 215 | char *p = (char *)fdt; | ||
| 216 | uint32_t *end; | ||
| 217 | int oldstroffset, newstroffset; | ||
| 218 | uint32_t tag; | ||
| 219 | int offset, nextoffset; | ||
| 220 | |||
| 221 | FDT_SW_CHECK_HEADER(fdt); | ||
| 222 | |||
| 223 | /* Add terminator */ | ||
| 224 | end = _fdt_grab_space(fdt, sizeof(*end)); | ||
| 225 | if (! end) | ||
| 226 | return -FDT_ERR_NOSPACE; | ||
| 227 | *end = cpu_to_fdt32(FDT_END); | ||
| 228 | |||
| 229 | /* Relocate the string table */ | ||
| 230 | oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); | ||
| 231 | newstroffset = fdt_off_dt_struct(fdt) + fdt_size_dt_struct(fdt); | ||
| 232 | memmove(p + newstroffset, p + oldstroffset, fdt_size_dt_strings(fdt)); | ||
| 233 | fdt_set_off_dt_strings(fdt, newstroffset); | ||
| 234 | |||
| 235 | /* Walk the structure, correcting string offsets */ | ||
| 236 | offset = 0; | ||
| 237 | while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { | ||
| 238 | if (tag == FDT_PROP) { | ||
| 239 | struct fdt_property *prop = | ||
| 240 | fdt_offset_ptr_w(fdt, offset, sizeof(*prop)); | ||
| 241 | int nameoff; | ||
| 242 | |||
| 243 | if (! prop) | ||
| 244 | return -FDT_ERR_BADSTRUCTURE; | ||
| 245 | |||
| 246 | nameoff = fdt32_to_cpu(prop->nameoff); | ||
| 247 | nameoff += fdt_size_dt_strings(fdt); | ||
| 248 | prop->nameoff = cpu_to_fdt32(nameoff); | ||
| 249 | } | ||
| 250 | offset = nextoffset; | ||
| 251 | } | ||
| 252 | |||
| 253 | /* Finally, adjust the header */ | ||
| 254 | fdt_set_totalsize(fdt, newstroffset + fdt_size_dt_strings(fdt)); | ||
| 255 | fdt_set_magic(fdt, FDT_MAGIC); | ||
| 256 | return 0; | ||
| 257 | } | ||
diff --git a/arch/powerpc/boot/libfdt/fdt_wip.c b/arch/powerpc/boot/libfdt/fdt_wip.c deleted file mode 100644 index a4652c6e787e..000000000000 --- a/arch/powerpc/boot/libfdt/fdt_wip.c +++ /dev/null | |||
| @@ -1,145 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * libfdt - Flat Device Tree manipulation | ||
| 3 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 4 | * | ||
| 5 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 6 | * the GPL, or the BSD license, at your option. | ||
| 7 | * | ||
| 8 | * a) This library is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of the | ||
| 11 | * License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This library is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public | ||
| 19 | * License along with this library; if not, write to the Free | ||
| 20 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 21 | * MA 02110-1301 USA | ||
| 22 | * | ||
| 23 | * Alternatively, | ||
| 24 | * | ||
| 25 | * b) Redistribution and use in source and binary forms, with or | ||
| 26 | * without modification, are permitted provided that the following | ||
| 27 | * conditions are met: | ||
| 28 | * | ||
| 29 | * 1. Redistributions of source code must retain the above | ||
| 30 | * copyright notice, this list of conditions and the following | ||
| 31 | * disclaimer. | ||
| 32 | * 2. Redistributions in binary form must reproduce the above | ||
| 33 | * copyright notice, this list of conditions and the following | ||
| 34 | * disclaimer in the documentation and/or other materials | ||
| 35 | * provided with the distribution. | ||
| 36 | * | ||
| 37 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 38 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 39 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 40 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 41 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 42 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 47 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 48 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 49 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | */ | ||
| 51 | #include "libfdt_env.h" | ||
| 52 | |||
| 53 | #include <fdt.h> | ||
| 54 | #include <libfdt.h> | ||
| 55 | |||
| 56 | #include "libfdt_internal.h" | ||
| 57 | |||
| 58 | int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, | ||
| 59 | const void *val, int len) | ||
| 60 | { | ||
| 61 | void *propval; | ||
| 62 | int proplen; | ||
| 63 | |||
| 64 | propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen); | ||
| 65 | if (! propval) | ||
| 66 | return proplen; | ||
| 67 | |||
| 68 | if (proplen != len) | ||
| 69 | return -FDT_ERR_NOSPACE; | ||
| 70 | |||
| 71 | memcpy(propval, val, len); | ||
| 72 | return 0; | ||
| 73 | } | ||
| 74 | |||
| 75 | static void _fdt_nop_region(void *start, int len) | ||
| 76 | { | ||
| 77 | uint32_t *p; | ||
| 78 | |||
| 79 | for (p = start; (char *)p < ((char *)start + len); p++) | ||
| 80 | *p = cpu_to_fdt32(FDT_NOP); | ||
| 81 | } | ||
| 82 | |||
| 83 | int fdt_nop_property(void *fdt, int nodeoffset, const char *name) | ||
| 84 | { | ||
| 85 | struct fdt_property *prop; | ||
| 86 | int len; | ||
| 87 | |||
| 88 | prop = fdt_get_property_w(fdt, nodeoffset, name, &len); | ||
| 89 | if (! prop) | ||
| 90 | return len; | ||
| 91 | |||
| 92 | _fdt_nop_region(prop, len + sizeof(*prop)); | ||
| 93 | |||
| 94 | return 0; | ||
| 95 | } | ||
| 96 | |||
| 97 | int _fdt_node_end_offset(void *fdt, int nodeoffset) | ||
| 98 | { | ||
| 99 | int level = 0; | ||
| 100 | uint32_t tag; | ||
| 101 | int offset, nextoffset; | ||
| 102 | |||
| 103 | tag = fdt_next_tag(fdt, nodeoffset, &nextoffset); | ||
| 104 | if (tag != FDT_BEGIN_NODE) | ||
| 105 | return -FDT_ERR_BADOFFSET; | ||
| 106 | do { | ||
| 107 | offset = nextoffset; | ||
| 108 | tag = fdt_next_tag(fdt, offset, &nextoffset); | ||
| 109 | |||
| 110 | switch (tag) { | ||
| 111 | case FDT_END: | ||
| 112 | return offset; | ||
| 113 | |||
| 114 | case FDT_BEGIN_NODE: | ||
| 115 | level++; | ||
| 116 | break; | ||
| 117 | |||
| 118 | case FDT_END_NODE: | ||
| 119 | level--; | ||
| 120 | break; | ||
| 121 | |||
| 122 | case FDT_PROP: | ||
| 123 | case FDT_NOP: | ||
| 124 | break; | ||
| 125 | |||
| 126 | default: | ||
| 127 | return -FDT_ERR_BADSTRUCTURE; | ||
| 128 | } | ||
| 129 | } while (level >= 0); | ||
| 130 | |||
| 131 | return nextoffset; | ||
| 132 | } | ||
| 133 | |||
| 134 | int fdt_nop_node(void *fdt, int nodeoffset) | ||
| 135 | { | ||
| 136 | int endoffset; | ||
| 137 | |||
| 138 | endoffset = _fdt_node_end_offset(fdt, nodeoffset); | ||
| 139 | if (endoffset < 0) | ||
| 140 | return endoffset; | ||
| 141 | |||
| 142 | _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), | ||
| 143 | endoffset - nodeoffset); | ||
| 144 | return 0; | ||
| 145 | } | ||
diff --git a/arch/powerpc/boot/libfdt/libfdt.h b/arch/powerpc/boot/libfdt/libfdt.h deleted file mode 100644 index ce80e4fb41b2..000000000000 --- a/arch/powerpc/boot/libfdt/libfdt.h +++ /dev/null | |||
| @@ -1,1076 +0,0 @@ | |||
| 1 | #ifndef _LIBFDT_H | ||
| 2 | #define _LIBFDT_H | ||
| 3 | /* | ||
| 4 | * libfdt - Flat Device Tree manipulation | ||
| 5 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 6 | * | ||
| 7 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 8 | * the GPL, or the BSD license, at your option. | ||
| 9 | * | ||
| 10 | * a) This library is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of the | ||
| 13 | * License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This library is distributed in the hope that it will be useful, | ||
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | * GNU General Public License for more details. | ||
| 19 | * | ||
| 20 | * You should have received a copy of the GNU General Public | ||
| 21 | * License along with this library; if not, write to the Free | ||
| 22 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 23 | * MA 02110-1301 USA | ||
| 24 | * | ||
| 25 | * Alternatively, | ||
| 26 | * | ||
| 27 | * b) Redistribution and use in source and binary forms, with or | ||
| 28 | * without modification, are permitted provided that the following | ||
| 29 | * conditions are met: | ||
| 30 | * | ||
| 31 | * 1. Redistributions of source code must retain the above | ||
| 32 | * copyright notice, this list of conditions and the following | ||
| 33 | * disclaimer. | ||
| 34 | * 2. Redistributions in binary form must reproduce the above | ||
| 35 | * copyright notice, this list of conditions and the following | ||
| 36 | * disclaimer in the documentation and/or other materials | ||
| 37 | * provided with the distribution. | ||
| 38 | * | ||
| 39 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 40 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 41 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 42 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 43 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 44 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 45 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 46 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 47 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 49 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 50 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 51 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 52 | */ | ||
| 53 | |||
| 54 | #include <libfdt_env.h> | ||
| 55 | #include <fdt.h> | ||
| 56 | |||
| 57 | #define FDT_FIRST_SUPPORTED_VERSION 0x10 | ||
| 58 | #define FDT_LAST_SUPPORTED_VERSION 0x11 | ||
| 59 | |||
| 60 | /* Error codes: informative error codes */ | ||
| 61 | #define FDT_ERR_NOTFOUND 1 | ||
| 62 | /* FDT_ERR_NOTFOUND: The requested node or property does not exist */ | ||
| 63 | #define FDT_ERR_EXISTS 2 | ||
| 64 | /* FDT_ERR_EXISTS: Attemped to create a node or property which | ||
| 65 | * already exists */ | ||
| 66 | #define FDT_ERR_NOSPACE 3 | ||
| 67 | /* FDT_ERR_NOSPACE: Operation needed to expand the device | ||
| 68 | * tree, but its buffer did not have sufficient space to | ||
| 69 | * contain the expanded tree. Use fdt_open_into() to move the | ||
| 70 | * device tree to a buffer with more space. */ | ||
| 71 | |||
| 72 | /* Error codes: codes for bad parameters */ | ||
| 73 | #define FDT_ERR_BADOFFSET 4 | ||
| 74 | /* FDT_ERR_BADOFFSET: Function was passed a structure block | ||
| 75 | * offset which is out-of-bounds, or which points to an | ||
| 76 | * unsuitable part of the structure for the operation. */ | ||
| 77 | #define FDT_ERR_BADPATH 5 | ||
| 78 | /* FDT_ERR_BADPATH: Function was passed a badly formatted path | ||
| 79 | * (e.g. missing a leading / for a function which requires an | ||
| 80 | * absolute path) */ | ||
| 81 | #define FDT_ERR_BADPHANDLE 6 | ||
| 82 | /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle | ||
| 83 | * value. phandle values of 0 and -1 are not permitted. */ | ||
| 84 | #define FDT_ERR_BADSTATE 7 | ||
| 85 | /* FDT_ERR_BADSTATE: Function was passed an incomplete device | ||
| 86 | * tree created by the sequential-write functions, which is | ||
| 87 | * not sufficiently complete for the requested operation. */ | ||
| 88 | |||
| 89 | /* Error codes: codes for bad device tree blobs */ | ||
| 90 | #define FDT_ERR_TRUNCATED 8 | ||
| 91 | /* FDT_ERR_TRUNCATED: Structure block of the given device tree | ||
| 92 | * ends without an FDT_END tag. */ | ||
| 93 | #define FDT_ERR_BADMAGIC 9 | ||
| 94 | /* FDT_ERR_BADMAGIC: Given "device tree" appears not to be a | ||
| 95 | * device tree at all - it is missing the flattened device | ||
| 96 | * tree magic number. */ | ||
| 97 | #define FDT_ERR_BADVERSION 10 | ||
| 98 | /* FDT_ERR_BADVERSION: Given device tree has a version which | ||
| 99 | * can't be handled by the requested operation. For | ||
| 100 | * read-write functions, this may mean that fdt_open_into() is | ||
| 101 | * required to convert the tree to the expected version. */ | ||
| 102 | #define FDT_ERR_BADSTRUCTURE 11 | ||
| 103 | /* FDT_ERR_BADSTRUCTURE: Given device tree has a corrupt | ||
| 104 | * structure block or other serious error (e.g. misnested | ||
| 105 | * nodes, or subnodes preceding properties). */ | ||
| 106 | #define FDT_ERR_BADLAYOUT 12 | ||
| 107 | /* FDT_ERR_BADLAYOUT: For read-write functions, the given | ||
| 108 | * device tree has it's sub-blocks in an order that the | ||
| 109 | * function can't handle (memory reserve map, then structure, | ||
| 110 | * then strings). Use fdt_open_into() to reorganize the tree | ||
| 111 | * into a form suitable for the read-write operations. */ | ||
| 112 | |||
| 113 | /* "Can't happen" error indicating a bug in libfdt */ | ||
| 114 | #define FDT_ERR_INTERNAL 13 | ||
| 115 | /* FDT_ERR_INTERNAL: libfdt has failed an internal assertion. | ||
| 116 | * Should never be returned, if it is, it indicates a bug in | ||
| 117 | * libfdt itself. */ | ||
| 118 | |||
| 119 | #define FDT_ERR_MAX 13 | ||
| 120 | |||
| 121 | /**********************************************************************/ | ||
| 122 | /* Low-level functions (you probably don't need these) */ | ||
| 123 | /**********************************************************************/ | ||
| 124 | |||
| 125 | const void *fdt_offset_ptr(const void *fdt, int offset, int checklen); | ||
| 126 | static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) | ||
| 127 | { | ||
| 128 | return (void *)(uintptr_t)fdt_offset_ptr(fdt, offset, checklen); | ||
| 129 | } | ||
| 130 | |||
| 131 | uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset); | ||
| 132 | |||
| 133 | /**********************************************************************/ | ||
| 134 | /* Traversal functions */ | ||
| 135 | /**********************************************************************/ | ||
| 136 | |||
| 137 | int fdt_next_node(const void *fdt, int offset, int *depth); | ||
| 138 | |||
| 139 | /**********************************************************************/ | ||
| 140 | /* General functions */ | ||
| 141 | /**********************************************************************/ | ||
| 142 | |||
| 143 | #define fdt_get_header(fdt, field) \ | ||
| 144 | (fdt32_to_cpu(((const struct fdt_header *)(fdt))->field)) | ||
| 145 | #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) | ||
| 146 | #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) | ||
| 147 | #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) | ||
| 148 | #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) | ||
| 149 | #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) | ||
| 150 | #define fdt_version(fdt) (fdt_get_header(fdt, version)) | ||
| 151 | #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) | ||
| 152 | #define fdt_boot_cpuid_phys(fdt) (fdt_get_header(fdt, boot_cpuid_phys)) | ||
| 153 | #define fdt_size_dt_strings(fdt) (fdt_get_header(fdt, size_dt_strings)) | ||
| 154 | #define fdt_size_dt_struct(fdt) (fdt_get_header(fdt, size_dt_struct)) | ||
| 155 | |||
| 156 | #define __fdt_set_hdr(name) \ | ||
| 157 | static inline void fdt_set_##name(void *fdt, uint32_t val) \ | ||
| 158 | { \ | ||
| 159 | struct fdt_header *fdth = fdt; \ | ||
| 160 | fdth->name = cpu_to_fdt32(val); \ | ||
| 161 | } | ||
| 162 | __fdt_set_hdr(magic); | ||
| 163 | __fdt_set_hdr(totalsize); | ||
| 164 | __fdt_set_hdr(off_dt_struct); | ||
| 165 | __fdt_set_hdr(off_dt_strings); | ||
| 166 | __fdt_set_hdr(off_mem_rsvmap); | ||
| 167 | __fdt_set_hdr(version); | ||
| 168 | __fdt_set_hdr(last_comp_version); | ||
| 169 | __fdt_set_hdr(boot_cpuid_phys); | ||
| 170 | __fdt_set_hdr(size_dt_strings); | ||
| 171 | __fdt_set_hdr(size_dt_struct); | ||
| 172 | #undef __fdt_set_hdr | ||
| 173 | |||
| 174 | /** | ||
| 175 | * fdt_check_header - sanity check a device tree or possible device tree | ||
| 176 | * @fdt: pointer to data which might be a flattened device tree | ||
| 177 | * | ||
| 178 | * fdt_check_header() checks that the given buffer contains what | ||
| 179 | * appears to be a flattened device tree with sane information in its | ||
| 180 | * header. | ||
| 181 | * | ||
| 182 | * returns: | ||
| 183 | * 0, if the buffer appears to contain a valid device tree | ||
| 184 | * -FDT_ERR_BADMAGIC, | ||
| 185 | * -FDT_ERR_BADVERSION, | ||
| 186 | * -FDT_ERR_BADSTATE, standard meanings, as above | ||
| 187 | */ | ||
| 188 | int fdt_check_header(const void *fdt); | ||
| 189 | |||
| 190 | /** | ||
| 191 | * fdt_move - move a device tree around in memory | ||
| 192 | * @fdt: pointer to the device tree to move | ||
| 193 | * @buf: pointer to memory where the device is to be moved | ||
| 194 | * @bufsize: size of the memory space at buf | ||
| 195 | * | ||
| 196 | * fdt_move() relocates, if possible, the device tree blob located at | ||
| 197 | * fdt to the buffer at buf of size bufsize. The buffer may overlap | ||
| 198 | * with the existing device tree blob at fdt. Therefore, | ||
| 199 | * fdt_move(fdt, fdt, fdt_totalsize(fdt)) | ||
| 200 | * should always succeed. | ||
| 201 | * | ||
| 202 | * returns: | ||
| 203 | * 0, on success | ||
| 204 | * -FDT_ERR_NOSPACE, bufsize is insufficient to contain the device tree | ||
| 205 | * -FDT_ERR_BADMAGIC, | ||
| 206 | * -FDT_ERR_BADVERSION, | ||
| 207 | * -FDT_ERR_BADSTATE, standard meanings | ||
| 208 | */ | ||
| 209 | int fdt_move(const void *fdt, void *buf, int bufsize); | ||
| 210 | |||
| 211 | /**********************************************************************/ | ||
| 212 | /* Read-only functions */ | ||
| 213 | /**********************************************************************/ | ||
| 214 | |||
| 215 | /** | ||
| 216 | * fdt_string - retrieve a string from the strings block of a device tree | ||
| 217 | * @fdt: pointer to the device tree blob | ||
| 218 | * @stroffset: offset of the string within the strings block (native endian) | ||
| 219 | * | ||
| 220 | * fdt_string() retrieves a pointer to a single string from the | ||
| 221 | * strings block of the device tree blob at fdt. | ||
| 222 | * | ||
| 223 | * returns: | ||
| 224 | * a pointer to the string, on success | ||
| 225 | * NULL, if stroffset is out of bounds | ||
| 226 | */ | ||
| 227 | const char *fdt_string(const void *fdt, int stroffset); | ||
| 228 | |||
| 229 | /** | ||
| 230 | * fdt_num_mem_rsv - retrieve the number of memory reserve map entries | ||
| 231 | * @fdt: pointer to the device tree blob | ||
| 232 | * | ||
| 233 | * Returns the number of entries in the device tree blob's memory | ||
| 234 | * reservation map. This does not include the terminating 0,0 entry | ||
| 235 | * or any other (0,0) entries reserved for expansion. | ||
| 236 | * | ||
| 237 | * returns: | ||
| 238 | * the number of entries | ||
| 239 | */ | ||
| 240 | int fdt_num_mem_rsv(const void *fdt); | ||
| 241 | |||
| 242 | /** | ||
| 243 | * fdt_get_mem_rsv - retrieve one memory reserve map entry | ||
| 244 | * @fdt: pointer to the device tree blob | ||
| 245 | * @address, @size: pointers to 64-bit variables | ||
| 246 | * | ||
| 247 | * On success, *address and *size will contain the address and size of | ||
| 248 | * the n-th reserve map entry from the device tree blob, in | ||
| 249 | * native-endian format. | ||
| 250 | * | ||
| 251 | * returns: | ||
| 252 | * 0, on success | ||
| 253 | * -FDT_ERR_BADMAGIC, | ||
| 254 | * -FDT_ERR_BADVERSION, | ||
| 255 | * -FDT_ERR_BADSTATE, standard meanings | ||
| 256 | */ | ||
| 257 | int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size); | ||
| 258 | |||
| 259 | /** | ||
| 260 | * fdt_subnode_offset_namelen - find a subnode based on substring | ||
| 261 | * @fdt: pointer to the device tree blob | ||
| 262 | * @parentoffset: structure block offset of a node | ||
| 263 | * @name: name of the subnode to locate | ||
| 264 | * @namelen: number of characters of name to consider | ||
| 265 | * | ||
| 266 | * Identical to fdt_subnode_offset(), but only examine the first | ||
| 267 | * namelen characters of name for matching the subnode name. This is | ||
| 268 | * useful for finding subnodes based on a portion of a larger string, | ||
| 269 | * such as a full path. | ||
| 270 | */ | ||
| 271 | int fdt_subnode_offset_namelen(const void *fdt, int parentoffset, | ||
| 272 | const char *name, int namelen); | ||
| 273 | /** | ||
| 274 | * fdt_subnode_offset - find a subnode of a given node | ||
| 275 | * @fdt: pointer to the device tree blob | ||
| 276 | * @parentoffset: structure block offset of a node | ||
| 277 | * @name: name of the subnode to locate | ||
| 278 | * | ||
| 279 | * fdt_subnode_offset() finds a subnode of the node at structure block | ||
| 280 | * offset parentoffset with the given name. name may include a unit | ||
| 281 | * address, in which case fdt_subnode_offset() will find the subnode | ||
| 282 | * with that unit address, or the unit address may be omitted, in | ||
| 283 | * which case fdt_subnode_offset() will find an arbitrary subnode | ||
| 284 | * whose name excluding unit address matches the given name. | ||
| 285 | * | ||
| 286 | * returns: | ||
| 287 | * structure block offset of the requested subnode (>=0), on success | ||
| 288 | * -FDT_ERR_NOTFOUND, if the requested subnode does not exist | ||
| 289 | * -FDT_ERR_BADOFFSET, if parentoffset did not point to an FDT_BEGIN_NODE tag | ||
| 290 | * -FDT_ERR_BADMAGIC, | ||
| 291 | * -FDT_ERR_BADVERSION, | ||
| 292 | * -FDT_ERR_BADSTATE, | ||
| 293 | * -FDT_ERR_BADSTRUCTURE, | ||
| 294 | * -FDT_ERR_TRUNCATED, standard meanings. | ||
| 295 | */ | ||
| 296 | int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name); | ||
| 297 | |||
| 298 | /** | ||
| 299 | * fdt_path_offset - find a tree node by its full path | ||
| 300 | * @fdt: pointer to the device tree blob | ||
| 301 | * @path: full path of the node to locate | ||
| 302 | * | ||
| 303 | * fdt_path_offset() finds a node of a given path in the device tree. | ||
| 304 | * Each path component may omit the unit address portion, but the | ||
| 305 | * results of this are undefined if any such path component is | ||
| 306 | * ambiguous (that is if there are multiple nodes at the relevant | ||
| 307 | * level matching the given component, differentiated only by unit | ||
| 308 | * address). | ||
| 309 | * | ||
| 310 | * returns: | ||
| 311 | * structure block offset of the node with the requested path (>=0), on success | ||
| 312 | * -FDT_ERR_BADPATH, given path does not begin with '/' or is invalid | ||
| 313 | * -FDT_ERR_NOTFOUND, if the requested node does not exist | ||
| 314 | * -FDT_ERR_BADMAGIC, | ||
| 315 | * -FDT_ERR_BADVERSION, | ||
| 316 | * -FDT_ERR_BADSTATE, | ||
| 317 | * -FDT_ERR_BADSTRUCTURE, | ||
| 318 | * -FDT_ERR_TRUNCATED, standard meanings. | ||
| 319 | */ | ||
| 320 | int fdt_path_offset(const void *fdt, const char *path); | ||
| 321 | |||
| 322 | /** | ||
| 323 | * fdt_get_name - retrieve the name of a given node | ||
| 324 | * @fdt: pointer to the device tree blob | ||
| 325 | * @nodeoffset: structure block offset of the starting node | ||
| 326 | * @lenp: pointer to an integer variable (will be overwritten) or NULL | ||
| 327 | * | ||
| 328 | * fdt_get_name() retrieves the name (including unit address) of the | ||
| 329 | * device tree node at structure block offset nodeoffset. If lenp is | ||
| 330 | * non-NULL, the length of this name is also returned, in the integer | ||
| 331 | * pointed to by lenp. | ||
| 332 | * | ||
| 333 | * returns: | ||
| 334 | * pointer to the node's name, on success | ||
| 335 | * If lenp is non-NULL, *lenp contains the length of that name (>=0) | ||
| 336 | * NULL, on error | ||
| 337 | * if lenp is non-NULL *lenp contains an error code (<0): | ||
| 338 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 339 | * -FDT_ERR_BADMAGIC, | ||
| 340 | * -FDT_ERR_BADVERSION, | ||
| 341 | * -FDT_ERR_BADSTATE, standard meanings | ||
| 342 | */ | ||
| 343 | const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); | ||
| 344 | |||
| 345 | /** | ||
| 346 | * fdt_get_property - find a given property in a given node | ||
| 347 | * @fdt: pointer to the device tree blob | ||
| 348 | * @nodeoffset: offset of the node whose property to find | ||
| 349 | * @name: name of the property to find | ||
| 350 | * @lenp: pointer to an integer variable (will be overwritten) or NULL | ||
| 351 | * | ||
| 352 | * fdt_get_property() retrieves a pointer to the fdt_property | ||
| 353 | * structure within the device tree blob corresponding to the property | ||
| 354 | * named 'name' of the node at offset nodeoffset. If lenp is | ||
| 355 | * non-NULL, the length of the property value is also returned, in the | ||
| 356 | * integer pointed to by lenp. | ||
| 357 | * | ||
| 358 | * returns: | ||
| 359 | * pointer to the structure representing the property | ||
| 360 | * if lenp is non-NULL, *lenp contains the length of the property | ||
| 361 | * value (>=0) | ||
| 362 | * NULL, on error | ||
| 363 | * if lenp is non-NULL, *lenp contains an error code (<0): | ||
| 364 | * -FDT_ERR_NOTFOUND, node does not have named property | ||
| 365 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 366 | * -FDT_ERR_BADMAGIC, | ||
| 367 | * -FDT_ERR_BADVERSION, | ||
| 368 | * -FDT_ERR_BADSTATE, | ||
| 369 | * -FDT_ERR_BADSTRUCTURE, | ||
| 370 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 371 | */ | ||
| 372 | const struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset, | ||
| 373 | const char *name, int *lenp); | ||
| 374 | static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, | ||
| 375 | const char *name, | ||
| 376 | int *lenp) | ||
| 377 | { | ||
| 378 | return (struct fdt_property *)(uintptr_t) | ||
| 379 | fdt_get_property(fdt, nodeoffset, name, lenp); | ||
| 380 | } | ||
| 381 | |||
| 382 | /** | ||
| 383 | * fdt_getprop - retrieve the value of a given property | ||
| 384 | * @fdt: pointer to the device tree blob | ||
| 385 | * @nodeoffset: offset of the node whose property to find | ||
| 386 | * @name: name of the property to find | ||
| 387 | * @lenp: pointer to an integer variable (will be overwritten) or NULL | ||
| 388 | * | ||
| 389 | * fdt_getprop() retrieves a pointer to the value of the property | ||
| 390 | * named 'name' of the node at offset nodeoffset (this will be a | ||
| 391 | * pointer to within the device blob itself, not a copy of the value). | ||
| 392 | * If lenp is non-NULL, the length of the property value is also | ||
| 393 | * returned, in the integer pointed to by lenp. | ||
| 394 | * | ||
| 395 | * returns: | ||
| 396 | * pointer to the property's value | ||
| 397 | * if lenp is non-NULL, *lenp contains the length of the property | ||
| 398 | * value (>=0) | ||
| 399 | * NULL, on error | ||
| 400 | * if lenp is non-NULL, *lenp contains an error code (<0): | ||
| 401 | * -FDT_ERR_NOTFOUND, node does not have named property | ||
| 402 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 403 | * -FDT_ERR_BADMAGIC, | ||
| 404 | * -FDT_ERR_BADVERSION, | ||
| 405 | * -FDT_ERR_BADSTATE, | ||
| 406 | * -FDT_ERR_BADSTRUCTURE, | ||
| 407 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 408 | */ | ||
| 409 | const void *fdt_getprop(const void *fdt, int nodeoffset, | ||
| 410 | const char *name, int *lenp); | ||
| 411 | static inline void *fdt_getprop_w(void *fdt, int nodeoffset, | ||
| 412 | const char *name, int *lenp) | ||
| 413 | { | ||
| 414 | return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); | ||
| 415 | } | ||
| 416 | |||
| 417 | /** | ||
| 418 | * fdt_get_phandle - retrieve the phandle of a given node | ||
| 419 | * @fdt: pointer to the device tree blob | ||
| 420 | * @nodeoffset: structure block offset of the node | ||
| 421 | * | ||
| 422 | * fdt_get_phandle() retrieves the phandle of the device tree node at | ||
| 423 | * structure block offset nodeoffset. | ||
| 424 | * | ||
| 425 | * returns: | ||
| 426 | * the phandle of the node at nodeoffset, on success (!= 0, != -1) | ||
| 427 | * 0, if the node has no phandle, or another error occurs | ||
| 428 | */ | ||
| 429 | uint32_t fdt_get_phandle(const void *fdt, int nodeoffset); | ||
| 430 | |||
| 431 | /** | ||
| 432 | * fdt_get_path - determine the full path of a node | ||
| 433 | * @fdt: pointer to the device tree blob | ||
| 434 | * @nodeoffset: offset of the node whose path to find | ||
| 435 | * @buf: character buffer to contain the returned path (will be overwritten) | ||
| 436 | * @buflen: size of the character buffer at buf | ||
| 437 | * | ||
| 438 | * fdt_get_path() computes the full path of the node at offset | ||
| 439 | * nodeoffset, and records that path in the buffer at buf. | ||
| 440 | * | ||
| 441 | * NOTE: This function is expensive, as it must scan the device tree | ||
| 442 | * structure from the start to nodeoffset. | ||
| 443 | * | ||
| 444 | * returns: | ||
| 445 | * 0, on success | ||
| 446 | * buf contains the absolute path of the node at | ||
| 447 | * nodeoffset, as a NUL-terminated string. | ||
| 448 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 449 | * -FDT_ERR_NOSPACE, the path of the given node is longer than (bufsize-1) | ||
| 450 | * characters and will not fit in the given buffer. | ||
| 451 | * -FDT_ERR_BADMAGIC, | ||
| 452 | * -FDT_ERR_BADVERSION, | ||
| 453 | * -FDT_ERR_BADSTATE, | ||
| 454 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 455 | */ | ||
| 456 | int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen); | ||
| 457 | |||
| 458 | /** | ||
| 459 | * fdt_supernode_atdepth_offset - find a specific ancestor of a node | ||
| 460 | * @fdt: pointer to the device tree blob | ||
| 461 | * @nodeoffset: offset of the node whose parent to find | ||
| 462 | * @supernodedepth: depth of the ancestor to find | ||
| 463 | * @nodedepth: pointer to an integer variable (will be overwritten) or NULL | ||
| 464 | * | ||
| 465 | * fdt_supernode_atdepth_offset() finds an ancestor of the given node | ||
| 466 | * at a specific depth from the root (where the root itself has depth | ||
| 467 | * 0, its immediate subnodes depth 1 and so forth). So | ||
| 468 | * fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, NULL); | ||
| 469 | * will always return 0, the offset of the root node. If the node at | ||
| 470 | * nodeoffset has depth D, then: | ||
| 471 | * fdt_supernode_atdepth_offset(fdt, nodeoffset, D, NULL); | ||
| 472 | * will return nodeoffset itself. | ||
| 473 | * | ||
| 474 | * NOTE: This function is expensive, as it must scan the device tree | ||
| 475 | * structure from the start to nodeoffset. | ||
| 476 | * | ||
| 477 | * returns: | ||
| 478 | |||
| 479 | * structure block offset of the node at node offset's ancestor | ||
| 480 | * of depth supernodedepth (>=0), on success | ||
| 481 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 482 | * -FDT_ERR_NOTFOUND, supernodedepth was greater than the depth of nodeoffset | ||
| 483 | * -FDT_ERR_BADMAGIC, | ||
| 484 | * -FDT_ERR_BADVERSION, | ||
| 485 | * -FDT_ERR_BADSTATE, | ||
| 486 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 487 | */ | ||
| 488 | int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, | ||
| 489 | int supernodedepth, int *nodedepth); | ||
| 490 | |||
| 491 | /** | ||
| 492 | * fdt_node_depth - find the depth of a given node | ||
| 493 | * @fdt: pointer to the device tree blob | ||
| 494 | * @nodeoffset: offset of the node whose parent to find | ||
| 495 | * | ||
| 496 | * fdt_node_depth() finds the depth of a given node. The root node | ||
| 497 | * has depth 0, its immediate subnodes depth 1 and so forth. | ||
| 498 | * | ||
| 499 | * NOTE: This function is expensive, as it must scan the device tree | ||
| 500 | * structure from the start to nodeoffset. | ||
| 501 | * | ||
| 502 | * returns: | ||
| 503 | * depth of the node at nodeoffset (>=0), on success | ||
| 504 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 505 | * -FDT_ERR_BADMAGIC, | ||
| 506 | * -FDT_ERR_BADVERSION, | ||
| 507 | * -FDT_ERR_BADSTATE, | ||
| 508 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 509 | */ | ||
| 510 | int fdt_node_depth(const void *fdt, int nodeoffset); | ||
| 511 | |||
| 512 | /** | ||
| 513 | * fdt_parent_offset - find the parent of a given node | ||
| 514 | * @fdt: pointer to the device tree blob | ||
| 515 | * @nodeoffset: offset of the node whose parent to find | ||
| 516 | * | ||
| 517 | * fdt_parent_offset() locates the parent node of a given node (that | ||
| 518 | * is, it finds the offset of the node which contains the node at | ||
| 519 | * nodeoffset as a subnode). | ||
| 520 | * | ||
| 521 | * NOTE: This function is expensive, as it must scan the device tree | ||
| 522 | * structure from the start to nodeoffset, *twice*. | ||
| 523 | * | ||
| 524 | * returns: | ||
| 525 | * structure block offset of the parent of the node at nodeoffset | ||
| 526 | * (>=0), on success | ||
| 527 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 528 | * -FDT_ERR_BADMAGIC, | ||
| 529 | * -FDT_ERR_BADVERSION, | ||
| 530 | * -FDT_ERR_BADSTATE, | ||
| 531 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 532 | */ | ||
| 533 | int fdt_parent_offset(const void *fdt, int nodeoffset); | ||
| 534 | |||
| 535 | /** | ||
| 536 | * fdt_node_offset_by_prop_value - find nodes with a given property value | ||
| 537 | * @fdt: pointer to the device tree blob | ||
| 538 | * @startoffset: only find nodes after this offset | ||
| 539 | * @propname: property name to check | ||
| 540 | * @propval: property value to search for | ||
| 541 | * @proplen: length of the value in propval | ||
| 542 | * | ||
| 543 | * fdt_node_offset_by_prop_value() returns the offset of the first | ||
| 544 | * node after startoffset, which has a property named propname whose | ||
| 545 | * value is of length proplen and has value equal to propval; or if | ||
| 546 | * startoffset is -1, the very first such node in the tree. | ||
| 547 | * | ||
| 548 | * To iterate through all nodes matching the criterion, the following | ||
| 549 | * idiom can be used: | ||
| 550 | * offset = fdt_node_offset_by_prop_value(fdt, -1, propname, | ||
| 551 | * propval, proplen); | ||
| 552 | * while (offset != -FDT_ERR_NOTFOUND) { | ||
| 553 | * // other code here | ||
| 554 | * offset = fdt_node_offset_by_prop_value(fdt, offset, propname, | ||
| 555 | * propval, proplen); | ||
| 556 | * } | ||
| 557 | * | ||
| 558 | * Note the -1 in the first call to the function, if 0 is used here | ||
| 559 | * instead, the function will never locate the root node, even if it | ||
| 560 | * matches the criterion. | ||
| 561 | * | ||
| 562 | * returns: | ||
| 563 | * structure block offset of the located node (>= 0, >startoffset), | ||
| 564 | * on success | ||
| 565 | * -FDT_ERR_NOTFOUND, no node matching the criterion exists in the | ||
| 566 | * tree after startoffset | ||
| 567 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 568 | * -FDT_ERR_BADMAGIC, | ||
| 569 | * -FDT_ERR_BADVERSION, | ||
| 570 | * -FDT_ERR_BADSTATE, | ||
| 571 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 572 | */ | ||
| 573 | int fdt_node_offset_by_prop_value(const void *fdt, int startoffset, | ||
| 574 | const char *propname, | ||
| 575 | const void *propval, int proplen); | ||
| 576 | |||
| 577 | /** | ||
| 578 | * fdt_node_offset_by_phandle - find the node with a given phandle | ||
| 579 | * @fdt: pointer to the device tree blob | ||
| 580 | * @phandle: phandle value | ||
| 581 | * | ||
| 582 | * fdt_node_offset_by_phandle() returns the offset of the node | ||
| 583 | * which has the given phandle value. If there is more than one node | ||
| 584 | * in the tree with the given phandle (an invalid tree), results are | ||
| 585 | * undefined. | ||
| 586 | * | ||
| 587 | * returns: | ||
| 588 | * structure block offset of the located node (>= 0), on success | ||
| 589 | * -FDT_ERR_NOTFOUND, no node with that phandle exists | ||
| 590 | * -FDT_ERR_BADPHANDLE, given phandle value was invalid (0 or -1) | ||
| 591 | * -FDT_ERR_BADMAGIC, | ||
| 592 | * -FDT_ERR_BADVERSION, | ||
| 593 | * -FDT_ERR_BADSTATE, | ||
| 594 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 595 | */ | ||
| 596 | int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle); | ||
| 597 | |||
| 598 | /** | ||
| 599 | * fdt_node_check_compatible: check a node's compatible property | ||
| 600 | * @fdt: pointer to the device tree blob | ||
| 601 | * @nodeoffset: offset of a tree node | ||
| 602 | * @compatible: string to match against | ||
| 603 | * | ||
| 604 | * | ||
| 605 | * fdt_node_check_compatible() returns 0 if the given node contains a | ||
| 606 | * 'compatible' property with the given string as one of its elements, | ||
| 607 | * it returns non-zero otherwise, or on error. | ||
| 608 | * | ||
| 609 | * returns: | ||
| 610 | * 0, if the node has a 'compatible' property listing the given string | ||
| 611 | * 1, if the node has a 'compatible' property, but it does not list | ||
| 612 | * the given string | ||
| 613 | * -FDT_ERR_NOTFOUND, if the given node has no 'compatible' property | ||
| 614 | * -FDT_ERR_BADOFFSET, if nodeoffset does not refer to a BEGIN_NODE tag | ||
| 615 | * -FDT_ERR_BADMAGIC, | ||
| 616 | * -FDT_ERR_BADVERSION, | ||
| 617 | * -FDT_ERR_BADSTATE, | ||
| 618 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 619 | */ | ||
| 620 | int fdt_node_check_compatible(const void *fdt, int nodeoffset, | ||
| 621 | const char *compatible); | ||
| 622 | |||
| 623 | /** | ||
| 624 | * fdt_node_offset_by_compatible - find nodes with a given 'compatible' value | ||
| 625 | * @fdt: pointer to the device tree blob | ||
| 626 | * @startoffset: only find nodes after this offset | ||
| 627 | * @compatible: 'compatible' string to match against | ||
| 628 | * | ||
| 629 | * fdt_node_offset_by_compatible() returns the offset of the first | ||
| 630 | * node after startoffset, which has a 'compatible' property which | ||
| 631 | * lists the given compatible string; or if startoffset is -1, the | ||
| 632 | * very first such node in the tree. | ||
| 633 | * | ||
| 634 | * To iterate through all nodes matching the criterion, the following | ||
| 635 | * idiom can be used: | ||
| 636 | * offset = fdt_node_offset_by_compatible(fdt, -1, compatible); | ||
| 637 | * while (offset != -FDT_ERR_NOTFOUND) { | ||
| 638 | * // other code here | ||
| 639 | * offset = fdt_node_offset_by_compatible(fdt, offset, compatible); | ||
| 640 | * } | ||
| 641 | * | ||
| 642 | * Note the -1 in the first call to the function, if 0 is used here | ||
| 643 | * instead, the function will never locate the root node, even if it | ||
| 644 | * matches the criterion. | ||
| 645 | * | ||
| 646 | * returns: | ||
| 647 | * structure block offset of the located node (>= 0, >startoffset), | ||
| 648 | * on success | ||
| 649 | * -FDT_ERR_NOTFOUND, no node matching the criterion exists in the | ||
| 650 | * tree after startoffset | ||
| 651 | * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag | ||
| 652 | * -FDT_ERR_BADMAGIC, | ||
| 653 | * -FDT_ERR_BADVERSION, | ||
| 654 | * -FDT_ERR_BADSTATE, | ||
| 655 | * -FDT_ERR_BADSTRUCTURE, standard meanings | ||
| 656 | */ | ||
| 657 | int fdt_node_offset_by_compatible(const void *fdt, int startoffset, | ||
| 658 | const char *compatible); | ||
| 659 | |||
| 660 | /**********************************************************************/ | ||
| 661 | /* Write-in-place functions */ | ||
| 662 | /**********************************************************************/ | ||
| 663 | |||
| 664 | /** | ||
| 665 | * fdt_setprop_inplace - change a property's value, but not its size | ||
| 666 | * @fdt: pointer to the device tree blob | ||
| 667 | * @nodeoffset: offset of the node whose property to change | ||
| 668 | * @name: name of the property to change | ||
| 669 | * @val: pointer to data to replace the property value with | ||
| 670 | * @len: length of the property value | ||
| 671 | * | ||
| 672 | * fdt_setprop_inplace() replaces the value of a given property with | ||
| 673 | * the data in val, of length len. This function cannot change the | ||
| 674 | * size of a property, and so will only work if len is equal to the | ||
| 675 | * current length of the property. | ||
| 676 | * | ||
| 677 | * This function will alter only the bytes in the blob which contain | ||
| 678 | * the given property value, and will not alter or move any other part | ||
| 679 | * of the tree. | ||
| 680 | * | ||
| 681 | * returns: | ||
| 682 | * 0, on success | ||
| 683 | * -FDT_ERR_NOSPACE, if len is not equal to the property's current length | ||
| 684 | * -FDT_ERR_NOTFOUND, node does not have the named property | ||
| 685 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 686 | * -FDT_ERR_BADMAGIC, | ||
| 687 | * -FDT_ERR_BADVERSION, | ||
| 688 | * -FDT_ERR_BADSTATE, | ||
| 689 | * -FDT_ERR_BADSTRUCTURE, | ||
| 690 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 691 | */ | ||
| 692 | int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, | ||
| 693 | const void *val, int len); | ||
| 694 | |||
| 695 | /** | ||
| 696 | * fdt_setprop_inplace_cell - change the value of a single-cell property | ||
| 697 | * @fdt: pointer to the device tree blob | ||
| 698 | * @nodeoffset: offset of the node whose property to change | ||
| 699 | * @name: name of the property to change | ||
| 700 | * @val: cell (32-bit integer) value to replace the property with | ||
| 701 | * | ||
| 702 | * fdt_setprop_inplace_cell() replaces the value of a given property | ||
| 703 | * with the 32-bit integer cell value in val, converting val to | ||
| 704 | * big-endian if necessary. This function cannot change the size of a | ||
| 705 | * property, and so will only work if the property already exists and | ||
| 706 | * has length 4. | ||
| 707 | * | ||
| 708 | * This function will alter only the bytes in the blob which contain | ||
| 709 | * the given property value, and will not alter or move any other part | ||
| 710 | * of the tree. | ||
| 711 | * | ||
| 712 | * returns: | ||
| 713 | * 0, on success | ||
| 714 | * -FDT_ERR_NOSPACE, if the property's length is not equal to 4 | ||
| 715 | * -FDT_ERR_NOTFOUND, node does not have the named property | ||
| 716 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 717 | * -FDT_ERR_BADMAGIC, | ||
| 718 | * -FDT_ERR_BADVERSION, | ||
| 719 | * -FDT_ERR_BADSTATE, | ||
| 720 | * -FDT_ERR_BADSTRUCTURE, | ||
| 721 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 722 | */ | ||
| 723 | static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset, | ||
| 724 | const char *name, uint32_t val) | ||
| 725 | { | ||
| 726 | val = cpu_to_fdt32(val); | ||
| 727 | return fdt_setprop_inplace(fdt, nodeoffset, name, &val, sizeof(val)); | ||
| 728 | } | ||
| 729 | |||
| 730 | /** | ||
| 731 | * fdt_nop_property - replace a property with nop tags | ||
| 732 | * @fdt: pointer to the device tree blob | ||
| 733 | * @nodeoffset: offset of the node whose property to nop | ||
| 734 | * @name: name of the property to nop | ||
| 735 | * | ||
| 736 | * fdt_nop_property() will replace a given property's representation | ||
| 737 | * in the blob with FDT_NOP tags, effectively removing it from the | ||
| 738 | * tree. | ||
| 739 | * | ||
| 740 | * This function will alter only the bytes in the blob which contain | ||
| 741 | * the property, and will not alter or move any other part of the | ||
| 742 | * tree. | ||
| 743 | * | ||
| 744 | * returns: | ||
| 745 | * 0, on success | ||
| 746 | * -FDT_ERR_NOTFOUND, node does not have the named property | ||
| 747 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 748 | * -FDT_ERR_BADMAGIC, | ||
| 749 | * -FDT_ERR_BADVERSION, | ||
| 750 | * -FDT_ERR_BADSTATE, | ||
| 751 | * -FDT_ERR_BADSTRUCTURE, | ||
| 752 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 753 | */ | ||
| 754 | int fdt_nop_property(void *fdt, int nodeoffset, const char *name); | ||
| 755 | |||
| 756 | /** | ||
| 757 | * fdt_nop_node - replace a node (subtree) with nop tags | ||
| 758 | * @fdt: pointer to the device tree blob | ||
| 759 | * @nodeoffset: offset of the node to nop | ||
| 760 | * | ||
| 761 | * fdt_nop_node() will replace a given node's representation in the | ||
| 762 | * blob, including all its subnodes, if any, with FDT_NOP tags, | ||
| 763 | * effectively removing it from the tree. | ||
| 764 | * | ||
| 765 | * This function will alter only the bytes in the blob which contain | ||
| 766 | * the node and its properties and subnodes, and will not alter or | ||
| 767 | * move any other part of the tree. | ||
| 768 | * | ||
| 769 | * returns: | ||
| 770 | * 0, on success | ||
| 771 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 772 | * -FDT_ERR_BADMAGIC, | ||
| 773 | * -FDT_ERR_BADVERSION, | ||
| 774 | * -FDT_ERR_BADSTATE, | ||
| 775 | * -FDT_ERR_BADSTRUCTURE, | ||
| 776 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 777 | */ | ||
| 778 | int fdt_nop_node(void *fdt, int nodeoffset); | ||
| 779 | |||
| 780 | /**********************************************************************/ | ||
| 781 | /* Sequential write functions */ | ||
| 782 | /**********************************************************************/ | ||
| 783 | |||
| 784 | int fdt_create(void *buf, int bufsize); | ||
| 785 | int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size); | ||
| 786 | int fdt_finish_reservemap(void *fdt); | ||
| 787 | int fdt_begin_node(void *fdt, const char *name); | ||
| 788 | int fdt_property(void *fdt, const char *name, const void *val, int len); | ||
| 789 | static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) | ||
| 790 | { | ||
| 791 | val = cpu_to_fdt32(val); | ||
| 792 | return fdt_property(fdt, name, &val, sizeof(val)); | ||
| 793 | } | ||
| 794 | #define fdt_property_string(fdt, name, str) \ | ||
| 795 | fdt_property(fdt, name, str, strlen(str)+1) | ||
| 796 | int fdt_end_node(void *fdt); | ||
| 797 | int fdt_finish(void *fdt); | ||
| 798 | |||
| 799 | /**********************************************************************/ | ||
| 800 | /* Read-write functions */ | ||
| 801 | /**********************************************************************/ | ||
| 802 | |||
| 803 | int fdt_open_into(const void *fdt, void *buf, int bufsize); | ||
| 804 | int fdt_pack(void *fdt); | ||
| 805 | |||
| 806 | /** | ||
| 807 | * fdt_add_mem_rsv - add one memory reserve map entry | ||
| 808 | * @fdt: pointer to the device tree blob | ||
| 809 | * @address, @size: 64-bit values (native endian) | ||
| 810 | * | ||
| 811 | * Adds a reserve map entry to the given blob reserving a region at | ||
| 812 | * address address of length size. | ||
| 813 | * | ||
| 814 | * This function will insert data into the reserve map and will | ||
| 815 | * therefore change the indexes of some entries in the table. | ||
| 816 | * | ||
| 817 | * returns: | ||
| 818 | * 0, on success | ||
| 819 | * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to | ||
| 820 | * contain the new reservation entry | ||
| 821 | * -FDT_ERR_BADMAGIC, | ||
| 822 | * -FDT_ERR_BADVERSION, | ||
| 823 | * -FDT_ERR_BADSTATE, | ||
| 824 | * -FDT_ERR_BADSTRUCTURE, | ||
| 825 | * -FDT_ERR_BADLAYOUT, | ||
| 826 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 827 | */ | ||
| 828 | int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size); | ||
| 829 | |||
| 830 | /** | ||
| 831 | * fdt_del_mem_rsv - remove a memory reserve map entry | ||
| 832 | * @fdt: pointer to the device tree blob | ||
| 833 | * @n: entry to remove | ||
| 834 | * | ||
| 835 | * fdt_del_mem_rsv() removes the n-th memory reserve map entry from | ||
| 836 | * the blob. | ||
| 837 | * | ||
| 838 | * This function will delete data from the reservation table and will | ||
| 839 | * therefore change the indexes of some entries in the table. | ||
| 840 | * | ||
| 841 | * returns: | ||
| 842 | * 0, on success | ||
| 843 | * -FDT_ERR_NOTFOUND, there is no entry of the given index (i.e. there | ||
| 844 | * are less than n+1 reserve map entries) | ||
| 845 | * -FDT_ERR_BADMAGIC, | ||
| 846 | * -FDT_ERR_BADVERSION, | ||
| 847 | * -FDT_ERR_BADSTATE, | ||
| 848 | * -FDT_ERR_BADSTRUCTURE, | ||
| 849 | * -FDT_ERR_BADLAYOUT, | ||
| 850 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 851 | */ | ||
| 852 | int fdt_del_mem_rsv(void *fdt, int n); | ||
| 853 | |||
| 854 | /** | ||
| 855 | * fdt_set_name - change the name of a given node | ||
| 856 | * @fdt: pointer to the device tree blob | ||
| 857 | * @nodeoffset: structure block offset of a node | ||
| 858 | * @name: name to give the node | ||
| 859 | * | ||
| 860 | * fdt_set_name() replaces the name (including unit address, if any) | ||
| 861 | * of the given node with the given string. NOTE: this function can't | ||
| 862 | * efficiently check if the new name is unique amongst the given | ||
| 863 | * node's siblings; results are undefined if this function is invoked | ||
| 864 | * with a name equal to one of the given node's siblings. | ||
| 865 | * | ||
| 866 | * This function may insert or delete data from the blob, and will | ||
| 867 | * therefore change the offsets of some existing nodes. | ||
| 868 | * | ||
| 869 | * returns: | ||
| 870 | * 0, on success | ||
| 871 | * -FDT_ERR_NOSPACE, there is insufficient free space in the blob | ||
| 872 | * to contain the new name | ||
| 873 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 874 | * -FDT_ERR_BADMAGIC, | ||
| 875 | * -FDT_ERR_BADVERSION, | ||
| 876 | * -FDT_ERR_BADSTATE, standard meanings | ||
| 877 | */ | ||
| 878 | int fdt_set_name(void *fdt, int nodeoffset, const char *name); | ||
| 879 | |||
| 880 | /** | ||
| 881 | * fdt_setprop - create or change a property | ||
| 882 | * @fdt: pointer to the device tree blob | ||
| 883 | * @nodeoffset: offset of the node whose property to change | ||
| 884 | * @name: name of the property to change | ||
| 885 | * @val: pointer to data to set the property value to | ||
| 886 | * @len: length of the property value | ||
| 887 | * | ||
| 888 | * fdt_setprop() sets the value of the named property in the given | ||
| 889 | * node to the given value and length, creating the property if it | ||
| 890 | * does not already exist. | ||
| 891 | * | ||
| 892 | * This function may insert or delete data from the blob, and will | ||
| 893 | * therefore change the offsets of some existing nodes. | ||
| 894 | * | ||
| 895 | * returns: | ||
| 896 | * 0, on success | ||
| 897 | * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to | ||
| 898 | * contain the new property value | ||
| 899 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 900 | * -FDT_ERR_BADLAYOUT, | ||
| 901 | * -FDT_ERR_BADMAGIC, | ||
| 902 | * -FDT_ERR_BADVERSION, | ||
| 903 | * -FDT_ERR_BADSTATE, | ||
| 904 | * -FDT_ERR_BADSTRUCTURE, | ||
| 905 | * -FDT_ERR_BADLAYOUT, | ||
| 906 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 907 | */ | ||
| 908 | int fdt_setprop(void *fdt, int nodeoffset, const char *name, | ||
| 909 | const void *val, int len); | ||
| 910 | |||
| 911 | /** | ||
| 912 | * fdt_setprop_cell - set a property to a single cell value | ||
| 913 | * @fdt: pointer to the device tree blob | ||
| 914 | * @nodeoffset: offset of the node whose property to change | ||
| 915 | * @name: name of the property to change | ||
| 916 | * @val: 32-bit integer value for the property (native endian) | ||
| 917 | * | ||
| 918 | * fdt_setprop_cell() sets the value of the named property in the | ||
| 919 | * given node to the given cell value (converting to big-endian if | ||
| 920 | * necessary), or creates a new property with that value if it does | ||
| 921 | * not already exist. | ||
| 922 | * | ||
| 923 | * This function may insert or delete data from the blob, and will | ||
| 924 | * therefore change the offsets of some existing nodes. | ||
| 925 | * | ||
| 926 | * returns: | ||
| 927 | * 0, on success | ||
| 928 | * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to | ||
| 929 | * contain the new property value | ||
| 930 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 931 | * -FDT_ERR_BADLAYOUT, | ||
| 932 | * -FDT_ERR_BADMAGIC, | ||
| 933 | * -FDT_ERR_BADVERSION, | ||
| 934 | * -FDT_ERR_BADSTATE, | ||
| 935 | * -FDT_ERR_BADSTRUCTURE, | ||
| 936 | * -FDT_ERR_BADLAYOUT, | ||
| 937 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 938 | */ | ||
| 939 | static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, | ||
| 940 | uint32_t val) | ||
| 941 | { | ||
| 942 | val = cpu_to_fdt32(val); | ||
| 943 | return fdt_setprop(fdt, nodeoffset, name, &val, sizeof(val)); | ||
| 944 | } | ||
| 945 | |||
| 946 | /** | ||
| 947 | * fdt_setprop_string - set a property to a string value | ||
| 948 | * @fdt: pointer to the device tree blob | ||
| 949 | * @nodeoffset: offset of the node whose property to change | ||
| 950 | * @name: name of the property to change | ||
| 951 | * @str: string value for the property | ||
| 952 | * | ||
| 953 | * fdt_setprop_string() sets the value of the named property in the | ||
| 954 | * given node to the given string value (using the length of the | ||
| 955 | * string to determine the new length of the property), or creates a | ||
| 956 | * new property with that value if it does not already exist. | ||
| 957 | * | ||
| 958 | * This function may insert or delete data from the blob, and will | ||
| 959 | * therefore change the offsets of some existing nodes. | ||
| 960 | * | ||
| 961 | * returns: | ||
| 962 | * 0, on success | ||
| 963 | * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to | ||
| 964 | * contain the new property value | ||
| 965 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 966 | * -FDT_ERR_BADLAYOUT, | ||
| 967 | * -FDT_ERR_BADMAGIC, | ||
| 968 | * -FDT_ERR_BADVERSION, | ||
| 969 | * -FDT_ERR_BADSTATE, | ||
| 970 | * -FDT_ERR_BADSTRUCTURE, | ||
| 971 | * -FDT_ERR_BADLAYOUT, | ||
| 972 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 973 | */ | ||
| 974 | #define fdt_setprop_string(fdt, nodeoffset, name, str) \ | ||
| 975 | fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1) | ||
| 976 | |||
| 977 | /** | ||
| 978 | * fdt_delprop - delete a property | ||
| 979 | * @fdt: pointer to the device tree blob | ||
| 980 | * @nodeoffset: offset of the node whose property to nop | ||
| 981 | * @name: name of the property to nop | ||
| 982 | * | ||
| 983 | * fdt_del_property() will delete the given property. | ||
| 984 | * | ||
| 985 | * This function will delete data from the blob, and will therefore | ||
| 986 | * change the offsets of some existing nodes. | ||
| 987 | * | ||
| 988 | * returns: | ||
| 989 | * 0, on success | ||
| 990 | * -FDT_ERR_NOTFOUND, node does not have the named property | ||
| 991 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 992 | * -FDT_ERR_BADLAYOUT, | ||
| 993 | * -FDT_ERR_BADMAGIC, | ||
| 994 | * -FDT_ERR_BADVERSION, | ||
| 995 | * -FDT_ERR_BADSTATE, | ||
| 996 | * -FDT_ERR_BADSTRUCTURE, | ||
| 997 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 998 | */ | ||
| 999 | int fdt_delprop(void *fdt, int nodeoffset, const char *name); | ||
| 1000 | |||
| 1001 | /** | ||
| 1002 | * fdt_add_subnode_namelen - creates a new node based on substring | ||
| 1003 | * @fdt: pointer to the device tree blob | ||
| 1004 | * @parentoffset: structure block offset of a node | ||
| 1005 | * @name: name of the subnode to locate | ||
| 1006 | * @namelen: number of characters of name to consider | ||
| 1007 | * | ||
| 1008 | * Identical to fdt_add_subnode(), but use only the first namelen | ||
| 1009 | * characters of name as the name of the new node. This is useful for | ||
| 1010 | * creating subnodes based on a portion of a larger string, such as a | ||
| 1011 | * full path. | ||
| 1012 | */ | ||
| 1013 | int fdt_add_subnode_namelen(void *fdt, int parentoffset, | ||
| 1014 | const char *name, int namelen); | ||
| 1015 | |||
| 1016 | /** | ||
| 1017 | * fdt_add_subnode - creates a new node | ||
| 1018 | * @fdt: pointer to the device tree blob | ||
| 1019 | * @parentoffset: structure block offset of a node | ||
| 1020 | * @name: name of the subnode to locate | ||
| 1021 | * | ||
| 1022 | * fdt_add_subnode() creates a new node as a subnode of the node at | ||
| 1023 | * structure block offset parentoffset, with the given name (which | ||
| 1024 | * should include the unit address, if any). | ||
| 1025 | * | ||
| 1026 | * This function will insert data into the blob, and will therefore | ||
| 1027 | * change the offsets of some existing nodes. | ||
| 1028 | |||
| 1029 | * returns: | ||
| 1030 | * structure block offset of the created nodeequested subnode (>=0), on success | ||
| 1031 | * -FDT_ERR_NOTFOUND, if the requested subnode does not exist | ||
| 1032 | * -FDT_ERR_BADOFFSET, if parentoffset did not point to an FDT_BEGIN_NODE tag | ||
| 1033 | * -FDT_ERR_EXISTS, if the node at parentoffset already has a subnode of | ||
| 1034 | * the given name | ||
| 1035 | * -FDT_ERR_NOSPACE, if there is insufficient free space in the | ||
| 1036 | * blob to contain the new node | ||
| 1037 | * -FDT_ERR_NOSPACE | ||
| 1038 | * -FDT_ERR_BADLAYOUT | ||
| 1039 | * -FDT_ERR_BADMAGIC, | ||
| 1040 | * -FDT_ERR_BADVERSION, | ||
| 1041 | * -FDT_ERR_BADSTATE, | ||
| 1042 | * -FDT_ERR_BADSTRUCTURE, | ||
| 1043 | * -FDT_ERR_TRUNCATED, standard meanings. | ||
| 1044 | */ | ||
| 1045 | int fdt_add_subnode(void *fdt, int parentoffset, const char *name); | ||
| 1046 | |||
| 1047 | /** | ||
| 1048 | * fdt_del_node - delete a node (subtree) | ||
| 1049 | * @fdt: pointer to the device tree blob | ||
| 1050 | * @nodeoffset: offset of the node to nop | ||
| 1051 | * | ||
| 1052 | * fdt_del_node() will remove the given node, including all its | ||
| 1053 | * subnodes if any, from the blob. | ||
| 1054 | * | ||
| 1055 | * This function will delete data from the blob, and will therefore | ||
| 1056 | * change the offsets of some existing nodes. | ||
| 1057 | * | ||
| 1058 | * returns: | ||
| 1059 | * 0, on success | ||
| 1060 | * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag | ||
| 1061 | * -FDT_ERR_BADLAYOUT, | ||
| 1062 | * -FDT_ERR_BADMAGIC, | ||
| 1063 | * -FDT_ERR_BADVERSION, | ||
| 1064 | * -FDT_ERR_BADSTATE, | ||
| 1065 | * -FDT_ERR_BADSTRUCTURE, | ||
| 1066 | * -FDT_ERR_TRUNCATED, standard meanings | ||
| 1067 | */ | ||
| 1068 | int fdt_del_node(void *fdt, int nodeoffset); | ||
| 1069 | |||
| 1070 | /**********************************************************************/ | ||
| 1071 | /* Debugging / informational functions */ | ||
| 1072 | /**********************************************************************/ | ||
| 1073 | |||
| 1074 | const char *fdt_strerror(int errval); | ||
| 1075 | |||
| 1076 | #endif /* _LIBFDT_H */ | ||
diff --git a/arch/powerpc/boot/libfdt/libfdt_internal.h b/arch/powerpc/boot/libfdt/libfdt_internal.h deleted file mode 100644 index 46eb93e4af5c..000000000000 --- a/arch/powerpc/boot/libfdt/libfdt_internal.h +++ /dev/null | |||
| @@ -1,95 +0,0 @@ | |||
| 1 | #ifndef _LIBFDT_INTERNAL_H | ||
| 2 | #define _LIBFDT_INTERNAL_H | ||
| 3 | /* | ||
| 4 | * libfdt - Flat Device Tree manipulation | ||
| 5 | * Copyright (C) 2006 David Gibson, IBM Corporation. | ||
| 6 | * | ||
| 7 | * libfdt is dual licensed: you can use it either under the terms of | ||
| 8 | * the GPL, or the BSD license, at your option. | ||
| 9 | * | ||
| 10 | * a) This library is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License as | ||
| 12 | * published by the Free Software Foundation; either version 2 of the | ||
| 13 | * License, or (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This library is distributed in the hope that it will be useful, | ||
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | * GNU General Public License for more details. | ||
| 19 | * | ||
| 20 | * You should have received a copy of the GNU General Public | ||
| 21 | * License along with this library; if not, write to the Free | ||
| 22 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 23 | * MA 02110-1301 USA | ||
| 24 | * | ||
| 25 | * Alternatively, | ||
| 26 | * | ||
| 27 | * b) Redistribution and use in source and binary forms, with or | ||
| 28 | * without modification, are permitted provided that the following | ||
| 29 | * conditions are met: | ||
| 30 | * | ||
| 31 | * 1. Redistributions of source code must retain the above | ||
| 32 | * copyright notice, this list of conditions and the following | ||
| 33 | * disclaimer. | ||
| 34 | * 2. Redistributions in binary form must reproduce the above | ||
| 35 | * copyright notice, this list of conditions and the following | ||
| 36 | * disclaimer in the documentation and/or other materials | ||
| 37 | * provided with the distribution. | ||
| 38 | * | ||
| 39 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 40 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 41 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 42 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 43 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 44 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 45 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 46 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 47 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 49 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 50 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 51 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 52 | */ | ||
| 53 | #include <fdt.h> | ||
| 54 | |||
| 55 | #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) | ||
| 56 | #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) | ||
| 57 | |||
| 58 | #define FDT_CHECK_HEADER(fdt) \ | ||
| 59 | { \ | ||
| 60 | int err; \ | ||
| 61 | if ((err = fdt_check_header(fdt)) != 0) \ | ||
| 62 | return err; \ | ||
| 63 | } | ||
| 64 | |||
| 65 | uint32_t _fdt_next_tag(const void *fdt, int startoffset, int *nextoffset); | ||
| 66 | int _fdt_check_node_offset(const void *fdt, int offset); | ||
| 67 | const char *_fdt_find_string(const char *strtab, int tabsize, const char *s); | ||
| 68 | int _fdt_node_end_offset(void *fdt, int nodeoffset); | ||
| 69 | |||
| 70 | static inline const void *_fdt_offset_ptr(const void *fdt, int offset) | ||
| 71 | { | ||
| 72 | return (const char *)fdt + fdt_off_dt_struct(fdt) + offset; | ||
| 73 | } | ||
| 74 | |||
| 75 | static inline void *_fdt_offset_ptr_w(void *fdt, int offset) | ||
| 76 | { | ||
| 77 | return (void *)(uintptr_t)_fdt_offset_ptr(fdt, offset); | ||
| 78 | } | ||
| 79 | |||
| 80 | static inline const struct fdt_reserve_entry *_fdt_mem_rsv(const void *fdt, int n) | ||
| 81 | { | ||
| 82 | const struct fdt_reserve_entry *rsv_table = | ||
| 83 | (const struct fdt_reserve_entry *) | ||
| 84 | ((const char *)fdt + fdt_off_mem_rsvmap(fdt)); | ||
| 85 | |||
| 86 | return rsv_table + n; | ||
| 87 | } | ||
| 88 | static inline struct fdt_reserve_entry *_fdt_mem_rsv_w(void *fdt, int n) | ||
| 89 | { | ||
| 90 | return (void *)(uintptr_t)_fdt_mem_rsv(fdt, n); | ||
| 91 | } | ||
| 92 | |||
| 93 | #define FDT_SW_MAGIC (~FDT_MAGIC) | ||
| 94 | |||
| 95 | #endif /* _LIBFDT_INTERNAL_H */ | ||
diff --git a/arch/powerpc/boot/simpleboot.c b/arch/powerpc/boot/simpleboot.c index c58a0dada992..21cd48074ec8 100644 --- a/arch/powerpc/boot/simpleboot.c +++ b/arch/powerpc/boot/simpleboot.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include "types.h" | 19 | #include "types.h" |
| 20 | #include "io.h" | 20 | #include "io.h" |
| 21 | #include "stdio.h" | 21 | #include "stdio.h" |
| 22 | #include "libfdt/libfdt.h" | 22 | #include <libfdt.h> |
| 23 | 23 | ||
| 24 | BSS_STACK(4*1024); | 24 | BSS_STACK(4*1024); |
| 25 | 25 | ||
diff --git a/arch/powerpc/configs/52xx/cm5200_defconfig b/arch/powerpc/configs/52xx/cm5200_defconfig index 1239c6132b4a..3838b77b8116 100644 --- a/arch/powerpc/configs/52xx/cm5200_defconfig +++ b/arch/powerpc/configs/52xx/cm5200_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 21:41:58 2009 | 4 | # Sat Apr 18 00:47:44 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -54,6 +55,7 @@ CONFIG_GENERIC_BUG=y | |||
| 54 | CONFIG_DEFAULT_UIMAGE=y | 55 | CONFIG_DEFAULT_UIMAGE=y |
| 55 | # CONFIG_PPC_DCR_NATIVE is not set | 56 | # CONFIG_PPC_DCR_NATIVE is not set |
| 56 | # CONFIG_PPC_DCR_MMIO is not set | 57 | # CONFIG_PPC_DCR_MMIO is not set |
| 58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 57 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 58 | 60 | ||
| 59 | # | 61 | # |
| @@ -94,19 +96,22 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 94 | # CONFIG_NAMESPACES is not set | 96 | # CONFIG_NAMESPACES is not set |
| 95 | CONFIG_BLK_DEV_INITRD=y | 97 | CONFIG_BLK_DEV_INITRD=y |
| 96 | CONFIG_INITRAMFS_SOURCE="" | 98 | CONFIG_INITRAMFS_SOURCE="" |
| 99 | CONFIG_RD_GZIP=y | ||
| 100 | # CONFIG_RD_BZIP2 is not set | ||
| 101 | # CONFIG_RD_LZMA is not set | ||
| 97 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 102 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 98 | CONFIG_SYSCTL=y | 103 | CONFIG_SYSCTL=y |
| 104 | CONFIG_ANON_INODES=y | ||
| 99 | CONFIG_EMBEDDED=y | 105 | CONFIG_EMBEDDED=y |
| 100 | # CONFIG_SYSCTL_SYSCALL is not set | 106 | # CONFIG_SYSCTL_SYSCALL is not set |
| 101 | # CONFIG_KALLSYMS is not set | 107 | # CONFIG_KALLSYMS is not set |
| 108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 102 | CONFIG_HOTPLUG=y | 109 | CONFIG_HOTPLUG=y |
| 103 | CONFIG_PRINTK=y | 110 | CONFIG_PRINTK=y |
| 104 | CONFIG_BUG=y | 111 | CONFIG_BUG=y |
| 105 | CONFIG_ELF_CORE=y | 112 | CONFIG_ELF_CORE=y |
| 106 | CONFIG_COMPAT_BRK=y | ||
| 107 | CONFIG_BASE_FULL=y | 113 | CONFIG_BASE_FULL=y |
| 108 | CONFIG_FUTEX=y | 114 | CONFIG_FUTEX=y |
| 109 | CONFIG_ANON_INODES=y | ||
| 110 | # CONFIG_EPOLL is not set | 115 | # CONFIG_EPOLL is not set |
| 111 | CONFIG_SIGNALFD=y | 116 | CONFIG_SIGNALFD=y |
| 112 | CONFIG_TIMERFD=y | 117 | CONFIG_TIMERFD=y |
| @@ -115,10 +120,12 @@ CONFIG_SHMEM=y | |||
| 115 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
| 116 | CONFIG_VM_EVENT_COUNTERS=y | 121 | CONFIG_VM_EVENT_COUNTERS=y |
| 117 | CONFIG_SLUB_DEBUG=y | 122 | CONFIG_SLUB_DEBUG=y |
| 123 | CONFIG_COMPAT_BRK=y | ||
| 118 | # CONFIG_SLAB is not set | 124 | # CONFIG_SLAB is not set |
| 119 | CONFIG_SLUB=y | 125 | CONFIG_SLUB=y |
| 120 | # CONFIG_SLOB is not set | 126 | # CONFIG_SLOB is not set |
| 121 | # CONFIG_PROFILING is not set | 127 | # CONFIG_PROFILING is not set |
| 128 | # CONFIG_MARKERS is not set | ||
| 122 | CONFIG_HAVE_OPROFILE=y | 129 | CONFIG_HAVE_OPROFILE=y |
| 123 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| 124 | CONFIG_HAVE_IOREMAP_PROT=y | 131 | CONFIG_HAVE_IOREMAP_PROT=y |
| @@ -126,6 +133,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 126 | CONFIG_HAVE_KRETPROBES=y | 133 | CONFIG_HAVE_KRETPROBES=y |
| 127 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 134 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 128 | CONFIG_HAVE_CLK=y | 135 | CONFIG_HAVE_CLK=y |
| 136 | # CONFIG_SLOW_WORK is not set | ||
| 129 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 130 | CONFIG_SLABINFO=y | 138 | CONFIG_SLABINFO=y |
| 131 | CONFIG_RT_MUTEXES=y | 139 | CONFIG_RT_MUTEXES=y |
| @@ -133,7 +141,6 @@ CONFIG_BASE_SMALL=0 | |||
| 133 | # CONFIG_MODULES is not set | 141 | # CONFIG_MODULES is not set |
| 134 | CONFIG_BLOCK=y | 142 | CONFIG_BLOCK=y |
| 135 | # CONFIG_LBD is not set | 143 | # CONFIG_LBD is not set |
| 136 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 137 | # CONFIG_BLK_DEV_BSG is not set | 144 | # CONFIG_BLK_DEV_BSG is not set |
| 138 | # CONFIG_BLK_DEV_INTEGRITY is not set | 145 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 139 | 146 | ||
| @@ -154,8 +161,6 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
| 154 | # | 161 | # |
| 155 | # Platform support | 162 | # Platform support |
| 156 | # | 163 | # |
| 157 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 158 | CONFIG_CLASSIC32=y | ||
| 159 | # CONFIG_PPC_CHRP is not set | 164 | # CONFIG_PPC_CHRP is not set |
| 160 | # CONFIG_MPC5121_ADS is not set | 165 | # CONFIG_MPC5121_ADS is not set |
| 161 | # CONFIG_MPC5121_GENERIC is not set | 166 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -163,6 +168,7 @@ CONFIG_PPC_MPC52xx=y | |||
| 163 | CONFIG_PPC_MPC5200_SIMPLE=y | 168 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 164 | # CONFIG_PPC_EFIKA is not set | 169 | # CONFIG_PPC_EFIKA is not set |
| 165 | # CONFIG_PPC_LITE5200 is not set | 170 | # CONFIG_PPC_LITE5200 is not set |
| 171 | # CONFIG_PPC_MEDIA5200 is not set | ||
| 166 | # CONFIG_PPC_MPC5200_BUGFIX is not set | 172 | # CONFIG_PPC_MPC5200_BUGFIX is not set |
| 167 | # CONFIG_PPC_MPC5200_GPIO is not set | 173 | # CONFIG_PPC_MPC5200_GPIO is not set |
| 168 | # CONFIG_PPC_PMAC is not set | 174 | # CONFIG_PPC_PMAC is not set |
| @@ -173,6 +179,8 @@ CONFIG_PPC_MPC5200_SIMPLE=y | |||
| 173 | # CONFIG_PPC_83xx is not set | 179 | # CONFIG_PPC_83xx is not set |
| 174 | # CONFIG_PPC_86xx is not set | 180 | # CONFIG_PPC_86xx is not set |
| 175 | # CONFIG_EMBEDDED6xx is not set | 181 | # CONFIG_EMBEDDED6xx is not set |
| 182 | # CONFIG_AMIGAONE is not set | ||
| 183 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 176 | # CONFIG_IPIC is not set | 184 | # CONFIG_IPIC is not set |
| 177 | # CONFIG_MPIC is not set | 185 | # CONFIG_MPIC is not set |
| 178 | # CONFIG_MPIC_WEIRD is not set | 186 | # CONFIG_MPIC_WEIRD is not set |
| @@ -232,9 +240,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 232 | CONFIG_BOUNCE=y | 240 | CONFIG_BOUNCE=y |
| 233 | CONFIG_VIRT_TO_BUS=y | 241 | CONFIG_VIRT_TO_BUS=y |
| 234 | CONFIG_UNEVICTABLE_LRU=y | 242 | CONFIG_UNEVICTABLE_LRU=y |
| 243 | CONFIG_HAVE_MLOCK=y | ||
| 244 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 235 | CONFIG_PPC_4K_PAGES=y | 245 | CONFIG_PPC_4K_PAGES=y |
| 236 | # CONFIG_PPC_16K_PAGES is not set | 246 | # CONFIG_PPC_16K_PAGES is not set |
| 237 | # CONFIG_PPC_64K_PAGES is not set | 247 | # CONFIG_PPC_64K_PAGES is not set |
| 248 | # CONFIG_PPC_256K_PAGES is not set | ||
| 238 | CONFIG_FORCE_MAX_ZONEORDER=11 | 249 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 239 | CONFIG_PROC_DEVICETREE=y | 250 | CONFIG_PROC_DEVICETREE=y |
| 240 | # CONFIG_CMDLINE_BOOL is not set | 251 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -275,7 +286,6 @@ CONFIG_NET=y | |||
| 275 | # | 286 | # |
| 276 | # Networking options | 287 | # Networking options |
| 277 | # | 288 | # |
| 278 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 279 | CONFIG_PACKET=y | 289 | CONFIG_PACKET=y |
| 280 | # CONFIG_PACKET_MMAP is not set | 290 | # CONFIG_PACKET_MMAP is not set |
| 281 | CONFIG_UNIX=y | 291 | CONFIG_UNIX=y |
| @@ -331,6 +341,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 331 | # CONFIG_LAPB is not set | 341 | # CONFIG_LAPB is not set |
| 332 | # CONFIG_ECONET is not set | 342 | # CONFIG_ECONET is not set |
| 333 | # CONFIG_WAN_ROUTER is not set | 343 | # CONFIG_WAN_ROUTER is not set |
| 344 | # CONFIG_PHONET is not set | ||
| 334 | # CONFIG_NET_SCHED is not set | 345 | # CONFIG_NET_SCHED is not set |
| 335 | # CONFIG_DCB is not set | 346 | # CONFIG_DCB is not set |
| 336 | 347 | ||
| @@ -343,7 +354,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 343 | # CONFIG_IRDA is not set | 354 | # CONFIG_IRDA is not set |
| 344 | # CONFIG_BT is not set | 355 | # CONFIG_BT is not set |
| 345 | # CONFIG_AF_RXRPC is not set | 356 | # CONFIG_AF_RXRPC is not set |
| 346 | # CONFIG_PHONET is not set | ||
| 347 | # CONFIG_WIRELESS is not set | 357 | # CONFIG_WIRELESS is not set |
| 348 | # CONFIG_WIMAX is not set | 358 | # CONFIG_WIMAX is not set |
| 349 | # CONFIG_RFKILL is not set | 359 | # CONFIG_RFKILL is not set |
| @@ -440,7 +450,6 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
| 440 | # LPDDR flash memory drivers | 450 | # LPDDR flash memory drivers |
| 441 | # | 451 | # |
| 442 | # CONFIG_MTD_LPDDR is not set | 452 | # CONFIG_MTD_LPDDR is not set |
| 443 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 444 | 453 | ||
| 445 | # | 454 | # |
| 446 | # UBI - Unsorted block images | 455 | # UBI - Unsorted block images |
| @@ -505,10 +514,12 @@ CONFIG_CHR_DEV_SG=y | |||
| 505 | # CONFIG_SCSI_SRP_ATTRS is not set | 514 | # CONFIG_SCSI_SRP_ATTRS is not set |
| 506 | # CONFIG_SCSI_LOWLEVEL is not set | 515 | # CONFIG_SCSI_LOWLEVEL is not set |
| 507 | # CONFIG_SCSI_DH is not set | 516 | # CONFIG_SCSI_DH is not set |
| 517 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 508 | # CONFIG_ATA is not set | 518 | # CONFIG_ATA is not set |
| 509 | # CONFIG_MD is not set | 519 | # CONFIG_MD is not set |
| 510 | # CONFIG_MACINTOSH_DRIVERS is not set | 520 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 511 | CONFIG_NETDEVICES=y | 521 | CONFIG_NETDEVICES=y |
| 522 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 512 | # CONFIG_DUMMY is not set | 523 | # CONFIG_DUMMY is not set |
| 513 | # CONFIG_BONDING is not set | 524 | # CONFIG_BONDING is not set |
| 514 | # CONFIG_MACVLAN is not set | 525 | # CONFIG_MACVLAN is not set |
| @@ -537,6 +548,8 @@ CONFIG_LXT_PHY=y | |||
| 537 | # CONFIG_MDIO_BITBANG is not set | 548 | # CONFIG_MDIO_BITBANG is not set |
| 538 | CONFIG_NET_ETHERNET=y | 549 | CONFIG_NET_ETHERNET=y |
| 539 | # CONFIG_MII is not set | 550 | # CONFIG_MII is not set |
| 551 | # CONFIG_ETHOC is not set | ||
| 552 | # CONFIG_DNET is not set | ||
| 540 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 553 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| 541 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 554 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
| 542 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 555 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
| @@ -555,7 +568,6 @@ CONFIG_FEC_MPC52xx_MDIO=y | |||
| 555 | # | 568 | # |
| 556 | # CONFIG_WLAN_PRE80211 is not set | 569 | # CONFIG_WLAN_PRE80211 is not set |
| 557 | # CONFIG_WLAN_80211 is not set | 570 | # CONFIG_WLAN_80211 is not set |
| 558 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 559 | 571 | ||
| 560 | # | 572 | # |
| 561 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 573 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -657,7 +669,6 @@ CONFIG_I2C_MPC=y | |||
| 657 | # CONFIG_SENSORS_PCF8574 is not set | 669 | # CONFIG_SENSORS_PCF8574 is not set |
| 658 | # CONFIG_PCF8575 is not set | 670 | # CONFIG_PCF8575 is not set |
| 659 | # CONFIG_SENSORS_PCA9539 is not set | 671 | # CONFIG_SENSORS_PCA9539 is not set |
| 660 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 661 | # CONFIG_SENSORS_MAX6875 is not set | 672 | # CONFIG_SENSORS_MAX6875 is not set |
| 662 | # CONFIG_SENSORS_TSL2550 is not set | 673 | # CONFIG_SENSORS_TSL2550 is not set |
| 663 | # CONFIG_I2C_DEBUG_CORE is not set | 674 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -786,11 +797,11 @@ CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | |||
| 786 | # CONFIG_USB_TMC is not set | 797 | # CONFIG_USB_TMC is not set |
| 787 | 798 | ||
| 788 | # | 799 | # |
| 789 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 800 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 790 | # | 801 | # |
| 791 | 802 | ||
| 792 | # | 803 | # |
| 793 | # see USB_STORAGE Help for more information | 804 | # also be needed; see USB_STORAGE Help for more info |
| 794 | # | 805 | # |
| 795 | CONFIG_USB_STORAGE=y | 806 | CONFIG_USB_STORAGE=y |
| 796 | # CONFIG_USB_STORAGE_DEBUG is not set | 807 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -831,7 +842,6 @@ CONFIG_USB_STORAGE=y | |||
| 831 | # CONFIG_USB_LED is not set | 842 | # CONFIG_USB_LED is not set |
| 832 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 843 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 833 | # CONFIG_USB_CYTHERM is not set | 844 | # CONFIG_USB_CYTHERM is not set |
| 834 | # CONFIG_USB_PHIDGET is not set | ||
| 835 | # CONFIG_USB_IDMOUSE is not set | 845 | # CONFIG_USB_IDMOUSE is not set |
| 836 | # CONFIG_USB_FTDI_ELAN is not set | 846 | # CONFIG_USB_FTDI_ELAN is not set |
| 837 | # CONFIG_USB_APPLEDISPLAY is not set | 847 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -846,6 +856,7 @@ CONFIG_USB_STORAGE=y | |||
| 846 | # | 856 | # |
| 847 | # OTG and related infrastructure | 857 | # OTG and related infrastructure |
| 848 | # | 858 | # |
| 859 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 849 | # CONFIG_MMC is not set | 860 | # CONFIG_MMC is not set |
| 850 | # CONFIG_MEMSTICK is not set | 861 | # CONFIG_MEMSTICK is not set |
| 851 | # CONFIG_NEW_LEDS is not set | 862 | # CONFIG_NEW_LEDS is not set |
| @@ -853,6 +864,7 @@ CONFIG_USB_STORAGE=y | |||
| 853 | # CONFIG_EDAC is not set | 864 | # CONFIG_EDAC is not set |
| 854 | # CONFIG_RTC_CLASS is not set | 865 | # CONFIG_RTC_CLASS is not set |
| 855 | # CONFIG_DMADEVICES is not set | 866 | # CONFIG_DMADEVICES is not set |
| 867 | # CONFIG_AUXDISPLAY is not set | ||
| 856 | # CONFIG_UIO is not set | 868 | # CONFIG_UIO is not set |
| 857 | # CONFIG_STAGING is not set | 869 | # CONFIG_STAGING is not set |
| 858 | 870 | ||
| @@ -863,6 +875,7 @@ CONFIG_EXT2_FS=y | |||
| 863 | # CONFIG_EXT2_FS_XATTR is not set | 875 | # CONFIG_EXT2_FS_XATTR is not set |
| 864 | # CONFIG_EXT2_FS_XIP is not set | 876 | # CONFIG_EXT2_FS_XIP is not set |
| 865 | CONFIG_EXT3_FS=y | 877 | CONFIG_EXT3_FS=y |
| 878 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 866 | CONFIG_EXT3_FS_XATTR=y | 879 | CONFIG_EXT3_FS_XATTR=y |
| 867 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 880 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 868 | # CONFIG_EXT3_FS_SECURITY is not set | 881 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -885,6 +898,11 @@ CONFIG_INOTIFY_USER=y | |||
| 885 | # CONFIG_FUSE_FS is not set | 898 | # CONFIG_FUSE_FS is not set |
| 886 | 899 | ||
| 887 | # | 900 | # |
| 901 | # Caches | ||
| 902 | # | ||
| 903 | # CONFIG_FSCACHE is not set | ||
| 904 | |||
| 905 | # | ||
| 888 | # CD-ROM/DVD Filesystems | 906 | # CD-ROM/DVD Filesystems |
| 889 | # | 907 | # |
| 890 | # CONFIG_ISO9660_FS is not set | 908 | # CONFIG_ISO9660_FS is not set |
| @@ -941,6 +959,7 @@ CONFIG_CRAMFS=y | |||
| 941 | # CONFIG_ROMFS_FS is not set | 959 | # CONFIG_ROMFS_FS is not set |
| 942 | # CONFIG_SYSV_FS is not set | 960 | # CONFIG_SYSV_FS is not set |
| 943 | # CONFIG_UFS_FS is not set | 961 | # CONFIG_UFS_FS is not set |
| 962 | # CONFIG_NILFS2_FS is not set | ||
| 944 | CONFIG_NETWORK_FILESYSTEMS=y | 963 | CONFIG_NETWORK_FILESYSTEMS=y |
| 945 | CONFIG_NFS_FS=y | 964 | CONFIG_NFS_FS=y |
| 946 | CONFIG_NFS_V3=y | 965 | CONFIG_NFS_V3=y |
| @@ -953,7 +972,6 @@ CONFIG_LOCKD_V4=y | |||
| 953 | CONFIG_NFS_COMMON=y | 972 | CONFIG_NFS_COMMON=y |
| 954 | CONFIG_SUNRPC=y | 973 | CONFIG_SUNRPC=y |
| 955 | CONFIG_SUNRPC_GSS=y | 974 | CONFIG_SUNRPC_GSS=y |
| 956 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 957 | CONFIG_RPCSEC_GSS_KRB5=y | 975 | CONFIG_RPCSEC_GSS_KRB5=y |
| 958 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 976 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 959 | # CONFIG_SMB_FS is not set | 977 | # CONFIG_SMB_FS is not set |
| @@ -1024,6 +1042,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1024 | # CONFIG_NLS_KOI8_U is not set | 1042 | # CONFIG_NLS_KOI8_U is not set |
| 1025 | # CONFIG_NLS_UTF8 is not set | 1043 | # CONFIG_NLS_UTF8 is not set |
| 1026 | # CONFIG_DLM is not set | 1044 | # CONFIG_DLM is not set |
| 1045 | # CONFIG_BINARY_PRINTF is not set | ||
| 1027 | 1046 | ||
| 1028 | # | 1047 | # |
| 1029 | # Library routines | 1048 | # Library routines |
| @@ -1039,11 +1058,12 @@ CONFIG_CRC32=y | |||
| 1039 | # CONFIG_LIBCRC32C is not set | 1058 | # CONFIG_LIBCRC32C is not set |
| 1040 | CONFIG_ZLIB_INFLATE=y | 1059 | CONFIG_ZLIB_INFLATE=y |
| 1041 | CONFIG_ZLIB_DEFLATE=y | 1060 | CONFIG_ZLIB_DEFLATE=y |
| 1042 | CONFIG_PLIST=y | 1061 | CONFIG_DECOMPRESS_GZIP=y |
| 1043 | CONFIG_HAS_IOMEM=y | 1062 | CONFIG_HAS_IOMEM=y |
| 1044 | CONFIG_HAS_IOPORT=y | 1063 | CONFIG_HAS_IOPORT=y |
| 1045 | CONFIG_HAS_DMA=y | 1064 | CONFIG_HAS_DMA=y |
| 1046 | CONFIG_HAVE_LMB=y | 1065 | CONFIG_HAVE_LMB=y |
| 1066 | CONFIG_NLATTR=y | ||
| 1047 | 1067 | ||
| 1048 | # | 1068 | # |
| 1049 | # Kernel hacking | 1069 | # Kernel hacking |
| @@ -1061,6 +1081,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1061 | CONFIG_DETECT_SOFTLOCKUP=y | 1081 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1062 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1082 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1063 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1083 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1084 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1085 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1086 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1064 | CONFIG_SCHED_DEBUG=y | 1087 | CONFIG_SCHED_DEBUG=y |
| 1065 | # CONFIG_SCHEDSTATS is not set | 1088 | # CONFIG_SCHEDSTATS is not set |
| 1066 | # CONFIG_TIMER_STATS is not set | 1089 | # CONFIG_TIMER_STATS is not set |
| @@ -1089,9 +1112,12 @@ CONFIG_SCHED_DEBUG=y | |||
| 1089 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1112 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
| 1090 | # CONFIG_FAULT_INJECTION is not set | 1113 | # CONFIG_FAULT_INJECTION is not set |
| 1091 | # CONFIG_LATENCYTOP is not set | 1114 | # CONFIG_LATENCYTOP is not set |
| 1115 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1092 | CONFIG_HAVE_FUNCTION_TRACER=y | 1116 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1117 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1093 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1118 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1094 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1119 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1120 | CONFIG_TRACING_SUPPORT=y | ||
| 1095 | 1121 | ||
| 1096 | # | 1122 | # |
| 1097 | # Tracers | 1123 | # Tracers |
| @@ -1099,17 +1125,19 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1099 | # CONFIG_FUNCTION_TRACER is not set | 1125 | # CONFIG_FUNCTION_TRACER is not set |
| 1100 | # CONFIG_SCHED_TRACER is not set | 1126 | # CONFIG_SCHED_TRACER is not set |
| 1101 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1127 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1128 | # CONFIG_EVENT_TRACER is not set | ||
| 1102 | # CONFIG_BOOT_TRACER is not set | 1129 | # CONFIG_BOOT_TRACER is not set |
| 1103 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1130 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1104 | # CONFIG_STACK_TRACER is not set | 1131 | # CONFIG_STACK_TRACER is not set |
| 1105 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1132 | # CONFIG_KMEMTRACE is not set |
| 1133 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1134 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1106 | # CONFIG_SAMPLES is not set | 1135 | # CONFIG_SAMPLES is not set |
| 1107 | CONFIG_HAVE_ARCH_KGDB=y | 1136 | CONFIG_HAVE_ARCH_KGDB=y |
| 1108 | # CONFIG_KGDB is not set | 1137 | # CONFIG_KGDB is not set |
| 1109 | CONFIG_PRINT_STACK_DEPTH=64 | 1138 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1110 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1139 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1111 | # CONFIG_DEBUG_STACK_USAGE is not set | 1140 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1112 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1113 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1141 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1114 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1142 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1115 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1143 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1140,10 +1168,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1140 | CONFIG_CRYPTO_HASH=y | 1168 | CONFIG_CRYPTO_HASH=y |
| 1141 | CONFIG_CRYPTO_HASH2=y | 1169 | CONFIG_CRYPTO_HASH2=y |
| 1142 | CONFIG_CRYPTO_RNG2=y | 1170 | CONFIG_CRYPTO_RNG2=y |
| 1171 | CONFIG_CRYPTO_PCOMP=y | ||
| 1143 | CONFIG_CRYPTO_MANAGER=y | 1172 | CONFIG_CRYPTO_MANAGER=y |
| 1144 | CONFIG_CRYPTO_MANAGER2=y | 1173 | CONFIG_CRYPTO_MANAGER2=y |
| 1145 | # CONFIG_CRYPTO_GF128MUL is not set | 1174 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1146 | # CONFIG_CRYPTO_NULL is not set | 1175 | # CONFIG_CRYPTO_NULL is not set |
| 1176 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1147 | # CONFIG_CRYPTO_CRYPTD is not set | 1177 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1148 | # CONFIG_CRYPTO_AUTHENC is not set | 1178 | # CONFIG_CRYPTO_AUTHENC is not set |
| 1149 | 1179 | ||
| @@ -1211,6 +1241,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1211 | # Compression | 1241 | # Compression |
| 1212 | # | 1242 | # |
| 1213 | # CONFIG_CRYPTO_DEFLATE is not set | 1243 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1244 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1214 | # CONFIG_CRYPTO_LZO is not set | 1245 | # CONFIG_CRYPTO_LZO is not set |
| 1215 | 1246 | ||
| 1216 | # | 1247 | # |
diff --git a/arch/powerpc/configs/52xx/lite5200b_defconfig b/arch/powerpc/configs/52xx/lite5200b_defconfig index b7b880562906..29b0f34488f5 100644 --- a/arch/powerpc/configs/52xx/lite5200b_defconfig +++ b/arch/powerpc/configs/52xx/lite5200b_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 21:41:14 2009 | 4 | # Sat Apr 18 00:48:04 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -55,6 +56,7 @@ CONFIG_DEFAULT_UIMAGE=y | |||
| 55 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 56 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
| 56 | # CONFIG_PPC_DCR_NATIVE is not set | 57 | # CONFIG_PPC_DCR_NATIVE is not set |
| 57 | # CONFIG_PPC_DCR_MMIO is not set | 58 | # CONFIG_PPC_DCR_MMIO is not set |
| 59 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 58 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 60 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 59 | 61 | ||
| 60 | # | 62 | # |
| @@ -95,19 +97,22 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 95 | # CONFIG_NAMESPACES is not set | 97 | # CONFIG_NAMESPACES is not set |
| 96 | CONFIG_BLK_DEV_INITRD=y | 98 | CONFIG_BLK_DEV_INITRD=y |
| 97 | CONFIG_INITRAMFS_SOURCE="" | 99 | CONFIG_INITRAMFS_SOURCE="" |
| 100 | CONFIG_RD_GZIP=y | ||
| 101 | # CONFIG_RD_BZIP2 is not set | ||
| 102 | # CONFIG_RD_LZMA is not set | ||
| 98 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 103 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 99 | CONFIG_SYSCTL=y | 104 | CONFIG_SYSCTL=y |
| 105 | CONFIG_ANON_INODES=y | ||
| 100 | CONFIG_EMBEDDED=y | 106 | CONFIG_EMBEDDED=y |
| 101 | # CONFIG_SYSCTL_SYSCALL is not set | 107 | # CONFIG_SYSCTL_SYSCALL is not set |
| 102 | # CONFIG_KALLSYMS is not set | 108 | # CONFIG_KALLSYMS is not set |
| 109 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 103 | CONFIG_HOTPLUG=y | 110 | CONFIG_HOTPLUG=y |
| 104 | CONFIG_PRINTK=y | 111 | CONFIG_PRINTK=y |
| 105 | CONFIG_BUG=y | 112 | CONFIG_BUG=y |
| 106 | CONFIG_ELF_CORE=y | 113 | CONFIG_ELF_CORE=y |
| 107 | CONFIG_COMPAT_BRK=y | ||
| 108 | CONFIG_BASE_FULL=y | 114 | CONFIG_BASE_FULL=y |
| 109 | CONFIG_FUTEX=y | 115 | CONFIG_FUTEX=y |
| 110 | CONFIG_ANON_INODES=y | ||
| 111 | # CONFIG_EPOLL is not set | 116 | # CONFIG_EPOLL is not set |
| 112 | CONFIG_SIGNALFD=y | 117 | CONFIG_SIGNALFD=y |
| 113 | CONFIG_TIMERFD=y | 118 | CONFIG_TIMERFD=y |
| @@ -117,10 +122,12 @@ CONFIG_AIO=y | |||
| 117 | CONFIG_VM_EVENT_COUNTERS=y | 122 | CONFIG_VM_EVENT_COUNTERS=y |
| 118 | CONFIG_PCI_QUIRKS=y | 123 | CONFIG_PCI_QUIRKS=y |
| 119 | CONFIG_SLUB_DEBUG=y | 124 | CONFIG_SLUB_DEBUG=y |
| 125 | CONFIG_COMPAT_BRK=y | ||
| 120 | # CONFIG_SLAB is not set | 126 | # CONFIG_SLAB is not set |
| 121 | CONFIG_SLUB=y | 127 | CONFIG_SLUB=y |
| 122 | # CONFIG_SLOB is not set | 128 | # CONFIG_SLOB is not set |
| 123 | # CONFIG_PROFILING is not set | 129 | # CONFIG_PROFILING is not set |
| 130 | # CONFIG_MARKERS is not set | ||
| 124 | CONFIG_HAVE_OPROFILE=y | 131 | CONFIG_HAVE_OPROFILE=y |
| 125 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 132 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| 126 | CONFIG_HAVE_IOREMAP_PROT=y | 133 | CONFIG_HAVE_IOREMAP_PROT=y |
| @@ -128,6 +135,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 128 | CONFIG_HAVE_KRETPROBES=y | 135 | CONFIG_HAVE_KRETPROBES=y |
| 129 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 136 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 130 | CONFIG_HAVE_CLK=y | 137 | CONFIG_HAVE_CLK=y |
| 138 | # CONFIG_SLOW_WORK is not set | ||
| 131 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 139 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 132 | CONFIG_SLABINFO=y | 140 | CONFIG_SLABINFO=y |
| 133 | CONFIG_RT_MUTEXES=y | 141 | CONFIG_RT_MUTEXES=y |
| @@ -140,7 +148,6 @@ CONFIG_MODULE_UNLOAD=y | |||
| 140 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 148 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 141 | CONFIG_BLOCK=y | 149 | CONFIG_BLOCK=y |
| 142 | # CONFIG_LBD is not set | 150 | # CONFIG_LBD is not set |
| 143 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 144 | # CONFIG_BLK_DEV_BSG is not set | 151 | # CONFIG_BLK_DEV_BSG is not set |
| 145 | # CONFIG_BLK_DEV_INTEGRITY is not set | 152 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 146 | 153 | ||
| @@ -161,8 +168,6 @@ CONFIG_FREEZER=y | |||
| 161 | # | 168 | # |
| 162 | # Platform support | 169 | # Platform support |
| 163 | # | 170 | # |
| 164 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 165 | CONFIG_CLASSIC32=y | ||
| 166 | # CONFIG_PPC_CHRP is not set | 171 | # CONFIG_PPC_CHRP is not set |
| 167 | # CONFIG_MPC5121_ADS is not set | 172 | # CONFIG_MPC5121_ADS is not set |
| 168 | # CONFIG_MPC5121_GENERIC is not set | 173 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -170,6 +175,7 @@ CONFIG_PPC_MPC52xx=y | |||
| 170 | CONFIG_PPC_MPC5200_SIMPLE=y | 175 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 171 | # CONFIG_PPC_EFIKA is not set | 176 | # CONFIG_PPC_EFIKA is not set |
| 172 | CONFIG_PPC_LITE5200=y | 177 | CONFIG_PPC_LITE5200=y |
| 178 | # CONFIG_PPC_MEDIA5200 is not set | ||
| 173 | # CONFIG_PPC_MPC5200_BUGFIX is not set | 179 | # CONFIG_PPC_MPC5200_BUGFIX is not set |
| 174 | # CONFIG_PPC_MPC5200_GPIO is not set | 180 | # CONFIG_PPC_MPC5200_GPIO is not set |
| 175 | # CONFIG_PPC_PMAC is not set | 181 | # CONFIG_PPC_PMAC is not set |
| @@ -180,6 +186,8 @@ CONFIG_PPC_LITE5200=y | |||
| 180 | # CONFIG_PPC_83xx is not set | 186 | # CONFIG_PPC_83xx is not set |
| 181 | # CONFIG_PPC_86xx is not set | 187 | # CONFIG_PPC_86xx is not set |
| 182 | # CONFIG_EMBEDDED6xx is not set | 188 | # CONFIG_EMBEDDED6xx is not set |
| 189 | # CONFIG_AMIGAONE is not set | ||
| 190 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 183 | # CONFIG_IPIC is not set | 191 | # CONFIG_IPIC is not set |
| 184 | # CONFIG_MPIC is not set | 192 | # CONFIG_MPIC is not set |
| 185 | # CONFIG_MPIC_WEIRD is not set | 193 | # CONFIG_MPIC_WEIRD is not set |
| @@ -241,9 +249,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 241 | CONFIG_BOUNCE=y | 249 | CONFIG_BOUNCE=y |
| 242 | CONFIG_VIRT_TO_BUS=y | 250 | CONFIG_VIRT_TO_BUS=y |
| 243 | CONFIG_UNEVICTABLE_LRU=y | 251 | CONFIG_UNEVICTABLE_LRU=y |
| 252 | CONFIG_HAVE_MLOCK=y | ||
| 253 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 244 | CONFIG_PPC_4K_PAGES=y | 254 | CONFIG_PPC_4K_PAGES=y |
| 245 | # CONFIG_PPC_16K_PAGES is not set | 255 | # CONFIG_PPC_16K_PAGES is not set |
| 246 | # CONFIG_PPC_64K_PAGES is not set | 256 | # CONFIG_PPC_64K_PAGES is not set |
| 257 | # CONFIG_PPC_256K_PAGES is not set | ||
| 247 | CONFIG_FORCE_MAX_ZONEORDER=11 | 258 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 248 | CONFIG_PROC_DEVICETREE=y | 259 | CONFIG_PROC_DEVICETREE=y |
| 249 | # CONFIG_CMDLINE_BOOL is not set | 260 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -272,6 +283,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 272 | CONFIG_PCI_LEGACY=y | 283 | CONFIG_PCI_LEGACY=y |
| 273 | # CONFIG_PCI_DEBUG is not set | 284 | # CONFIG_PCI_DEBUG is not set |
| 274 | # CONFIG_PCI_STUB is not set | 285 | # CONFIG_PCI_STUB is not set |
| 286 | # CONFIG_PCI_IOV is not set | ||
| 275 | # CONFIG_PCCARD is not set | 287 | # CONFIG_PCCARD is not set |
| 276 | # CONFIG_HOTPLUG_PCI is not set | 288 | # CONFIG_HOTPLUG_PCI is not set |
| 277 | # CONFIG_HAS_RAPIDIO is not set | 289 | # CONFIG_HAS_RAPIDIO is not set |
| @@ -294,7 +306,6 @@ CONFIG_NET=y | |||
| 294 | # | 306 | # |
| 295 | # Networking options | 307 | # Networking options |
| 296 | # | 308 | # |
| 297 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 298 | CONFIG_PACKET=y | 309 | CONFIG_PACKET=y |
| 299 | # CONFIG_PACKET_MMAP is not set | 310 | # CONFIG_PACKET_MMAP is not set |
| 300 | CONFIG_UNIX=y | 311 | CONFIG_UNIX=y |
| @@ -350,6 +361,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 350 | # CONFIG_LAPB is not set | 361 | # CONFIG_LAPB is not set |
| 351 | # CONFIG_ECONET is not set | 362 | # CONFIG_ECONET is not set |
| 352 | # CONFIG_WAN_ROUTER is not set | 363 | # CONFIG_WAN_ROUTER is not set |
| 364 | # CONFIG_PHONET is not set | ||
| 353 | # CONFIG_NET_SCHED is not set | 365 | # CONFIG_NET_SCHED is not set |
| 354 | # CONFIG_DCB is not set | 366 | # CONFIG_DCB is not set |
| 355 | 367 | ||
| @@ -362,7 +374,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 362 | # CONFIG_IRDA is not set | 374 | # CONFIG_IRDA is not set |
| 363 | # CONFIG_BT is not set | 375 | # CONFIG_BT is not set |
| 364 | # CONFIG_AF_RXRPC is not set | 376 | # CONFIG_AF_RXRPC is not set |
| 365 | # CONFIG_PHONET is not set | ||
| 366 | # CONFIG_WIRELESS is not set | 377 | # CONFIG_WIRELESS is not set |
| 367 | # CONFIG_WIMAX is not set | 378 | # CONFIG_WIMAX is not set |
| 368 | # CONFIG_RFKILL is not set | 379 | # CONFIG_RFKILL is not set |
| @@ -412,6 +423,7 @@ CONFIG_MISC_DEVICES=y | |||
| 412 | # CONFIG_ICS932S401 is not set | 423 | # CONFIG_ICS932S401 is not set |
| 413 | # CONFIG_ENCLOSURE_SERVICES is not set | 424 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 414 | # CONFIG_HP_ILO is not set | 425 | # CONFIG_HP_ILO is not set |
| 426 | # CONFIG_ISL29003 is not set | ||
| 415 | # CONFIG_C2PORT is not set | 427 | # CONFIG_C2PORT is not set |
| 416 | 428 | ||
| 417 | # | 429 | # |
| @@ -477,9 +489,11 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 477 | # CONFIG_MEGARAID_NEWGEN is not set | 489 | # CONFIG_MEGARAID_NEWGEN is not set |
| 478 | # CONFIG_MEGARAID_LEGACY is not set | 490 | # CONFIG_MEGARAID_LEGACY is not set |
| 479 | # CONFIG_MEGARAID_SAS is not set | 491 | # CONFIG_MEGARAID_SAS is not set |
| 492 | # CONFIG_SCSI_MPT2SAS is not set | ||
| 480 | # CONFIG_SCSI_HPTIOP is not set | 493 | # CONFIG_SCSI_HPTIOP is not set |
| 481 | # CONFIG_SCSI_BUSLOGIC is not set | 494 | # CONFIG_SCSI_BUSLOGIC is not set |
| 482 | # CONFIG_LIBFC is not set | 495 | # CONFIG_LIBFC is not set |
| 496 | # CONFIG_LIBFCOE is not set | ||
| 483 | # CONFIG_FCOE is not set | 497 | # CONFIG_FCOE is not set |
| 484 | # CONFIG_SCSI_DMX3191D is not set | 498 | # CONFIG_SCSI_DMX3191D is not set |
| 485 | # CONFIG_SCSI_EATA is not set | 499 | # CONFIG_SCSI_EATA is not set |
| @@ -502,6 +516,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 502 | # CONFIG_SCSI_DEBUG is not set | 516 | # CONFIG_SCSI_DEBUG is not set |
| 503 | # CONFIG_SCSI_SRP is not set | 517 | # CONFIG_SCSI_SRP is not set |
| 504 | # CONFIG_SCSI_DH is not set | 518 | # CONFIG_SCSI_DH is not set |
| 519 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 505 | CONFIG_ATA=y | 520 | CONFIG_ATA=y |
| 506 | # CONFIG_ATA_NONSTANDARD is not set | 521 | # CONFIG_ATA_NONSTANDARD is not set |
| 507 | CONFIG_SATA_PMP=y | 522 | CONFIG_SATA_PMP=y |
| @@ -578,6 +593,7 @@ CONFIG_PATA_MPC52xx=y | |||
| 578 | # CONFIG_I2O is not set | 593 | # CONFIG_I2O is not set |
| 579 | # CONFIG_MACINTOSH_DRIVERS is not set | 594 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 580 | CONFIG_NETDEVICES=y | 595 | CONFIG_NETDEVICES=y |
| 596 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 581 | # CONFIG_DUMMY is not set | 597 | # CONFIG_DUMMY is not set |
| 582 | # CONFIG_BONDING is not set | 598 | # CONFIG_BONDING is not set |
| 583 | # CONFIG_MACVLAN is not set | 599 | # CONFIG_MACVLAN is not set |
| @@ -611,6 +627,8 @@ CONFIG_NET_ETHERNET=y | |||
| 611 | # CONFIG_SUNGEM is not set | 627 | # CONFIG_SUNGEM is not set |
| 612 | # CONFIG_CASSINI is not set | 628 | # CONFIG_CASSINI is not set |
| 613 | # CONFIG_NET_VENDOR_3COM is not set | 629 | # CONFIG_NET_VENDOR_3COM is not set |
| 630 | # CONFIG_ETHOC is not set | ||
| 631 | # CONFIG_DNET is not set | ||
| 614 | # CONFIG_NET_TULIP is not set | 632 | # CONFIG_NET_TULIP is not set |
| 615 | # CONFIG_HP100 is not set | 633 | # CONFIG_HP100 is not set |
| 616 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 634 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| @@ -632,6 +650,7 @@ CONFIG_NETDEV_1000=y | |||
| 632 | # CONFIG_E1000E is not set | 650 | # CONFIG_E1000E is not set |
| 633 | # CONFIG_IP1000 is not set | 651 | # CONFIG_IP1000 is not set |
| 634 | # CONFIG_IGB is not set | 652 | # CONFIG_IGB is not set |
| 653 | # CONFIG_IGBVF is not set | ||
| 635 | # CONFIG_NS83820 is not set | 654 | # CONFIG_NS83820 is not set |
| 636 | # CONFIG_HAMACHI is not set | 655 | # CONFIG_HAMACHI is not set |
| 637 | # CONFIG_YELLOWFIN is not set | 656 | # CONFIG_YELLOWFIN is not set |
| @@ -642,10 +661,10 @@ CONFIG_NETDEV_1000=y | |||
| 642 | # CONFIG_VIA_VELOCITY is not set | 661 | # CONFIG_VIA_VELOCITY is not set |
| 643 | # CONFIG_TIGON3 is not set | 662 | # CONFIG_TIGON3 is not set |
| 644 | # CONFIG_BNX2 is not set | 663 | # CONFIG_BNX2 is not set |
| 645 | # CONFIG_MV643XX_ETH is not set | ||
| 646 | # CONFIG_QLA3XXX is not set | 664 | # CONFIG_QLA3XXX is not set |
| 647 | # CONFIG_ATL1 is not set | 665 | # CONFIG_ATL1 is not set |
| 648 | # CONFIG_ATL1E is not set | 666 | # CONFIG_ATL1E is not set |
| 667 | # CONFIG_ATL1C is not set | ||
| 649 | # CONFIG_JME is not set | 668 | # CONFIG_JME is not set |
| 650 | CONFIG_NETDEV_10000=y | 669 | CONFIG_NETDEV_10000=y |
| 651 | # CONFIG_CHELSIO_T1 is not set | 670 | # CONFIG_CHELSIO_T1 is not set |
| @@ -655,6 +674,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 655 | # CONFIG_IXGBE is not set | 674 | # CONFIG_IXGBE is not set |
| 656 | # CONFIG_IXGB is not set | 675 | # CONFIG_IXGB is not set |
| 657 | # CONFIG_S2IO is not set | 676 | # CONFIG_S2IO is not set |
| 677 | # CONFIG_VXGE is not set | ||
| 658 | # CONFIG_MYRI10GE is not set | 678 | # CONFIG_MYRI10GE is not set |
| 659 | # CONFIG_NETXEN_NIC is not set | 679 | # CONFIG_NETXEN_NIC is not set |
| 660 | # CONFIG_NIU is not set | 680 | # CONFIG_NIU is not set |
| @@ -664,6 +684,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 664 | # CONFIG_BNX2X is not set | 684 | # CONFIG_BNX2X is not set |
| 665 | # CONFIG_QLGE is not set | 685 | # CONFIG_QLGE is not set |
| 666 | # CONFIG_SFC is not set | 686 | # CONFIG_SFC is not set |
| 687 | # CONFIG_BE2NET is not set | ||
| 667 | # CONFIG_TR is not set | 688 | # CONFIG_TR is not set |
| 668 | 689 | ||
| 669 | # | 690 | # |
| @@ -671,7 +692,6 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 671 | # | 692 | # |
| 672 | # CONFIG_WLAN_PRE80211 is not set | 693 | # CONFIG_WLAN_PRE80211 is not set |
| 673 | # CONFIG_WLAN_80211 is not set | 694 | # CONFIG_WLAN_80211 is not set |
| 674 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 675 | 695 | ||
| 676 | # | 696 | # |
| 677 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 697 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -795,7 +815,6 @@ CONFIG_I2C_MPC=y | |||
| 795 | # CONFIG_SENSORS_PCF8574 is not set | 815 | # CONFIG_SENSORS_PCF8574 is not set |
| 796 | # CONFIG_PCF8575 is not set | 816 | # CONFIG_PCF8575 is not set |
| 797 | # CONFIG_SENSORS_PCA9539 is not set | 817 | # CONFIG_SENSORS_PCA9539 is not set |
| 798 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 799 | # CONFIG_SENSORS_MAX6875 is not set | 818 | # CONFIG_SENSORS_MAX6875 is not set |
| 800 | # CONFIG_SENSORS_TSL2550 is not set | 819 | # CONFIG_SENSORS_TSL2550 is not set |
| 801 | # CONFIG_I2C_DEBUG_CORE is not set | 820 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -876,7 +895,7 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
| 876 | # | 895 | # |
| 877 | 896 | ||
| 878 | # | 897 | # |
| 879 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 898 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 880 | # | 899 | # |
| 881 | # CONFIG_USB_GADGET is not set | 900 | # CONFIG_USB_GADGET is not set |
| 882 | 901 | ||
| @@ -892,6 +911,7 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
| 892 | # CONFIG_EDAC is not set | 911 | # CONFIG_EDAC is not set |
| 893 | # CONFIG_RTC_CLASS is not set | 912 | # CONFIG_RTC_CLASS is not set |
| 894 | # CONFIG_DMADEVICES is not set | 913 | # CONFIG_DMADEVICES is not set |
| 914 | # CONFIG_AUXDISPLAY is not set | ||
| 895 | # CONFIG_UIO is not set | 915 | # CONFIG_UIO is not set |
| 896 | # CONFIG_STAGING is not set | 916 | # CONFIG_STAGING is not set |
| 897 | 917 | ||
| @@ -902,6 +922,7 @@ CONFIG_EXT2_FS=y | |||
| 902 | # CONFIG_EXT2_FS_XATTR is not set | 922 | # CONFIG_EXT2_FS_XATTR is not set |
| 903 | # CONFIG_EXT2_FS_XIP is not set | 923 | # CONFIG_EXT2_FS_XIP is not set |
| 904 | CONFIG_EXT3_FS=y | 924 | CONFIG_EXT3_FS=y |
| 925 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 905 | CONFIG_EXT3_FS_XATTR=y | 926 | CONFIG_EXT3_FS_XATTR=y |
| 906 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 927 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 907 | # CONFIG_EXT3_FS_SECURITY is not set | 928 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -924,6 +945,11 @@ CONFIG_INOTIFY_USER=y | |||
| 924 | # CONFIG_FUSE_FS is not set | 945 | # CONFIG_FUSE_FS is not set |
| 925 | 946 | ||
| 926 | # | 947 | # |
| 948 | # Caches | ||
| 949 | # | ||
| 950 | # CONFIG_FSCACHE is not set | ||
| 951 | |||
| 952 | # | ||
| 927 | # CD-ROM/DVD Filesystems | 953 | # CD-ROM/DVD Filesystems |
| 928 | # | 954 | # |
| 929 | # CONFIG_ISO9660_FS is not set | 955 | # CONFIG_ISO9660_FS is not set |
| @@ -966,6 +992,7 @@ CONFIG_MISC_FILESYSTEMS=y | |||
| 966 | # CONFIG_ROMFS_FS is not set | 992 | # CONFIG_ROMFS_FS is not set |
| 967 | # CONFIG_SYSV_FS is not set | 993 | # CONFIG_SYSV_FS is not set |
| 968 | # CONFIG_UFS_FS is not set | 994 | # CONFIG_UFS_FS is not set |
| 995 | # CONFIG_NILFS2_FS is not set | ||
| 969 | CONFIG_NETWORK_FILESYSTEMS=y | 996 | CONFIG_NETWORK_FILESYSTEMS=y |
| 970 | CONFIG_NFS_FS=y | 997 | CONFIG_NFS_FS=y |
| 971 | CONFIG_NFS_V3=y | 998 | CONFIG_NFS_V3=y |
| @@ -978,7 +1005,6 @@ CONFIG_LOCKD_V4=y | |||
| 978 | CONFIG_NFS_COMMON=y | 1005 | CONFIG_NFS_COMMON=y |
| 979 | CONFIG_SUNRPC=y | 1006 | CONFIG_SUNRPC=y |
| 980 | CONFIG_SUNRPC_GSS=y | 1007 | CONFIG_SUNRPC_GSS=y |
| 981 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 982 | CONFIG_RPCSEC_GSS_KRB5=y | 1008 | CONFIG_RPCSEC_GSS_KRB5=y |
| 983 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1009 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 984 | # CONFIG_SMB_FS is not set | 1010 | # CONFIG_SMB_FS is not set |
| @@ -994,6 +1020,7 @@ CONFIG_RPCSEC_GSS_KRB5=y | |||
| 994 | CONFIG_MSDOS_PARTITION=y | 1020 | CONFIG_MSDOS_PARTITION=y |
| 995 | # CONFIG_NLS is not set | 1021 | # CONFIG_NLS is not set |
| 996 | # CONFIG_DLM is not set | 1022 | # CONFIG_DLM is not set |
| 1023 | # CONFIG_BINARY_PRINTF is not set | ||
| 997 | 1024 | ||
| 998 | # | 1025 | # |
| 999 | # Library routines | 1026 | # Library routines |
| @@ -1007,11 +1034,13 @@ CONFIG_GENERIC_FIND_LAST_BIT=y | |||
| 1007 | CONFIG_CRC32=y | 1034 | CONFIG_CRC32=y |
| 1008 | # CONFIG_CRC7 is not set | 1035 | # CONFIG_CRC7 is not set |
| 1009 | # CONFIG_LIBCRC32C is not set | 1036 | # CONFIG_LIBCRC32C is not set |
| 1010 | CONFIG_PLIST=y | 1037 | CONFIG_ZLIB_INFLATE=y |
| 1038 | CONFIG_DECOMPRESS_GZIP=y | ||
| 1011 | CONFIG_HAS_IOMEM=y | 1039 | CONFIG_HAS_IOMEM=y |
| 1012 | CONFIG_HAS_IOPORT=y | 1040 | CONFIG_HAS_IOPORT=y |
| 1013 | CONFIG_HAS_DMA=y | 1041 | CONFIG_HAS_DMA=y |
| 1014 | CONFIG_HAVE_LMB=y | 1042 | CONFIG_HAVE_LMB=y |
| 1043 | CONFIG_NLATTR=y | ||
| 1015 | 1044 | ||
| 1016 | # | 1045 | # |
| 1017 | # Kernel hacking | 1046 | # Kernel hacking |
| @@ -1029,6 +1058,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1029 | CONFIG_DETECT_SOFTLOCKUP=y | 1058 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1030 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1059 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1031 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1060 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1061 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1062 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1063 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1032 | CONFIG_SCHED_DEBUG=y | 1064 | CONFIG_SCHED_DEBUG=y |
| 1033 | # CONFIG_SCHEDSTATS is not set | 1065 | # CONFIG_SCHEDSTATS is not set |
| 1034 | # CONFIG_TIMER_STATS is not set | 1066 | # CONFIG_TIMER_STATS is not set |
| @@ -1057,9 +1089,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1057 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1089 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
| 1058 | # CONFIG_FAULT_INJECTION is not set | 1090 | # CONFIG_FAULT_INJECTION is not set |
| 1059 | # CONFIG_LATENCYTOP is not set | 1091 | # CONFIG_LATENCYTOP is not set |
| 1092 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1060 | CONFIG_HAVE_FUNCTION_TRACER=y | 1093 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1094 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1061 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1095 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1062 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1096 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1097 | CONFIG_TRACING_SUPPORT=y | ||
| 1063 | 1098 | ||
| 1064 | # | 1099 | # |
| 1065 | # Tracers | 1100 | # Tracers |
| @@ -1067,17 +1102,19 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1067 | # CONFIG_FUNCTION_TRACER is not set | 1102 | # CONFIG_FUNCTION_TRACER is not set |
| 1068 | # CONFIG_SCHED_TRACER is not set | 1103 | # CONFIG_SCHED_TRACER is not set |
| 1069 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1104 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1105 | # CONFIG_EVENT_TRACER is not set | ||
| 1070 | # CONFIG_BOOT_TRACER is not set | 1106 | # CONFIG_BOOT_TRACER is not set |
| 1071 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1107 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1072 | # CONFIG_STACK_TRACER is not set | 1108 | # CONFIG_STACK_TRACER is not set |
| 1073 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1109 | # CONFIG_KMEMTRACE is not set |
| 1110 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1111 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1074 | # CONFIG_SAMPLES is not set | 1112 | # CONFIG_SAMPLES is not set |
| 1075 | CONFIG_HAVE_ARCH_KGDB=y | 1113 | CONFIG_HAVE_ARCH_KGDB=y |
| 1076 | # CONFIG_KGDB is not set | 1114 | # CONFIG_KGDB is not set |
| 1077 | CONFIG_PRINT_STACK_DEPTH=64 | 1115 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1078 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1116 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1079 | # CONFIG_DEBUG_STACK_USAGE is not set | 1117 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1080 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1081 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1118 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1082 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1119 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1083 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1120 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1108,10 +1145,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1108 | CONFIG_CRYPTO_HASH=y | 1145 | CONFIG_CRYPTO_HASH=y |
| 1109 | CONFIG_CRYPTO_HASH2=y | 1146 | CONFIG_CRYPTO_HASH2=y |
| 1110 | CONFIG_CRYPTO_RNG2=y | 1147 | CONFIG_CRYPTO_RNG2=y |
| 1148 | CONFIG_CRYPTO_PCOMP=y | ||
| 1111 | CONFIG_CRYPTO_MANAGER=y | 1149 | CONFIG_CRYPTO_MANAGER=y |
| 1112 | CONFIG_CRYPTO_MANAGER2=y | 1150 | CONFIG_CRYPTO_MANAGER2=y |
| 1113 | # CONFIG_CRYPTO_GF128MUL is not set | 1151 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1114 | # CONFIG_CRYPTO_NULL is not set | 1152 | # CONFIG_CRYPTO_NULL is not set |
| 1153 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1115 | # CONFIG_CRYPTO_CRYPTD is not set | 1154 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1116 | # CONFIG_CRYPTO_AUTHENC is not set | 1155 | # CONFIG_CRYPTO_AUTHENC is not set |
| 1117 | # CONFIG_CRYPTO_TEST is not set | 1156 | # CONFIG_CRYPTO_TEST is not set |
| @@ -1180,6 +1219,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1180 | # Compression | 1219 | # Compression |
| 1181 | # | 1220 | # |
| 1182 | # CONFIG_CRYPTO_DEFLATE is not set | 1221 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1222 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1183 | # CONFIG_CRYPTO_LZO is not set | 1223 | # CONFIG_CRYPTO_LZO is not set |
| 1184 | 1224 | ||
| 1185 | # | 1225 | # |
diff --git a/arch/powerpc/configs/52xx/motionpro_defconfig b/arch/powerpc/configs/52xx/motionpro_defconfig index fb10f22fd0d2..07b6b266ea95 100644 --- a/arch/powerpc/configs/52xx/motionpro_defconfig +++ b/arch/powerpc/configs/52xx/motionpro_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 21:42:29 2009 | 4 | # Sat Apr 18 00:48:22 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -54,6 +55,7 @@ CONFIG_GENERIC_BUG=y | |||
| 54 | CONFIG_DEFAULT_UIMAGE=y | 55 | CONFIG_DEFAULT_UIMAGE=y |
| 55 | # CONFIG_PPC_DCR_NATIVE is not set | 56 | # CONFIG_PPC_DCR_NATIVE is not set |
| 56 | # CONFIG_PPC_DCR_MMIO is not set | 57 | # CONFIG_PPC_DCR_MMIO is not set |
| 58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 57 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 58 | 60 | ||
| 59 | # | 61 | # |
| @@ -94,19 +96,22 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 94 | # CONFIG_NAMESPACES is not set | 96 | # CONFIG_NAMESPACES is not set |
| 95 | CONFIG_BLK_DEV_INITRD=y | 97 | CONFIG_BLK_DEV_INITRD=y |
| 96 | CONFIG_INITRAMFS_SOURCE="" | 98 | CONFIG_INITRAMFS_SOURCE="" |
| 99 | CONFIG_RD_GZIP=y | ||
| 100 | # CONFIG_RD_BZIP2 is not set | ||
| 101 | # CONFIG_RD_LZMA is not set | ||
| 97 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 102 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 98 | CONFIG_SYSCTL=y | 103 | CONFIG_SYSCTL=y |
| 104 | CONFIG_ANON_INODES=y | ||
| 99 | CONFIG_EMBEDDED=y | 105 | CONFIG_EMBEDDED=y |
| 100 | # CONFIG_SYSCTL_SYSCALL is not set | 106 | # CONFIG_SYSCTL_SYSCALL is not set |
| 101 | # CONFIG_KALLSYMS is not set | 107 | # CONFIG_KALLSYMS is not set |
| 108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 102 | CONFIG_HOTPLUG=y | 109 | CONFIG_HOTPLUG=y |
| 103 | CONFIG_PRINTK=y | 110 | CONFIG_PRINTK=y |
| 104 | CONFIG_BUG=y | 111 | CONFIG_BUG=y |
| 105 | CONFIG_ELF_CORE=y | 112 | CONFIG_ELF_CORE=y |
| 106 | CONFIG_COMPAT_BRK=y | ||
| 107 | CONFIG_BASE_FULL=y | 113 | CONFIG_BASE_FULL=y |
| 108 | CONFIG_FUTEX=y | 114 | CONFIG_FUTEX=y |
| 109 | CONFIG_ANON_INODES=y | ||
| 110 | # CONFIG_EPOLL is not set | 115 | # CONFIG_EPOLL is not set |
| 111 | CONFIG_SIGNALFD=y | 116 | CONFIG_SIGNALFD=y |
| 112 | CONFIG_TIMERFD=y | 117 | CONFIG_TIMERFD=y |
| @@ -115,10 +120,12 @@ CONFIG_SHMEM=y | |||
| 115 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
| 116 | CONFIG_VM_EVENT_COUNTERS=y | 121 | CONFIG_VM_EVENT_COUNTERS=y |
| 117 | CONFIG_SLUB_DEBUG=y | 122 | CONFIG_SLUB_DEBUG=y |
| 123 | CONFIG_COMPAT_BRK=y | ||
| 118 | # CONFIG_SLAB is not set | 124 | # CONFIG_SLAB is not set |
| 119 | CONFIG_SLUB=y | 125 | CONFIG_SLUB=y |
| 120 | # CONFIG_SLOB is not set | 126 | # CONFIG_SLOB is not set |
| 121 | # CONFIG_PROFILING is not set | 127 | # CONFIG_PROFILING is not set |
| 128 | # CONFIG_MARKERS is not set | ||
| 122 | CONFIG_HAVE_OPROFILE=y | 129 | CONFIG_HAVE_OPROFILE=y |
| 123 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| 124 | CONFIG_HAVE_IOREMAP_PROT=y | 131 | CONFIG_HAVE_IOREMAP_PROT=y |
| @@ -126,6 +133,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 126 | CONFIG_HAVE_KRETPROBES=y | 133 | CONFIG_HAVE_KRETPROBES=y |
| 127 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 134 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 128 | CONFIG_HAVE_CLK=y | 135 | CONFIG_HAVE_CLK=y |
| 136 | # CONFIG_SLOW_WORK is not set | ||
| 129 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 130 | CONFIG_SLABINFO=y | 138 | CONFIG_SLABINFO=y |
| 131 | CONFIG_RT_MUTEXES=y | 139 | CONFIG_RT_MUTEXES=y |
| @@ -133,7 +141,6 @@ CONFIG_BASE_SMALL=0 | |||
| 133 | # CONFIG_MODULES is not set | 141 | # CONFIG_MODULES is not set |
| 134 | CONFIG_BLOCK=y | 142 | CONFIG_BLOCK=y |
| 135 | # CONFIG_LBD is not set | 143 | # CONFIG_LBD is not set |
| 136 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 137 | # CONFIG_BLK_DEV_BSG is not set | 144 | # CONFIG_BLK_DEV_BSG is not set |
| 138 | # CONFIG_BLK_DEV_INTEGRITY is not set | 145 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 139 | 146 | ||
| @@ -154,8 +161,6 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
| 154 | # | 161 | # |
| 155 | # Platform support | 162 | # Platform support |
| 156 | # | 163 | # |
| 157 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 158 | CONFIG_CLASSIC32=y | ||
| 159 | # CONFIG_PPC_CHRP is not set | 164 | # CONFIG_PPC_CHRP is not set |
| 160 | # CONFIG_MPC5121_ADS is not set | 165 | # CONFIG_MPC5121_ADS is not set |
| 161 | # CONFIG_MPC5121_GENERIC is not set | 166 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -163,6 +168,7 @@ CONFIG_PPC_MPC52xx=y | |||
| 163 | CONFIG_PPC_MPC5200_SIMPLE=y | 168 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 164 | # CONFIG_PPC_EFIKA is not set | 169 | # CONFIG_PPC_EFIKA is not set |
| 165 | # CONFIG_PPC_LITE5200 is not set | 170 | # CONFIG_PPC_LITE5200 is not set |
| 171 | # CONFIG_PPC_MEDIA5200 is not set | ||
| 166 | # CONFIG_PPC_MPC5200_BUGFIX is not set | 172 | # CONFIG_PPC_MPC5200_BUGFIX is not set |
| 167 | # CONFIG_PPC_MPC5200_GPIO is not set | 173 | # CONFIG_PPC_MPC5200_GPIO is not set |
| 168 | # CONFIG_PPC_PMAC is not set | 174 | # CONFIG_PPC_PMAC is not set |
| @@ -173,6 +179,8 @@ CONFIG_PPC_MPC5200_SIMPLE=y | |||
| 173 | # CONFIG_PPC_83xx is not set | 179 | # CONFIG_PPC_83xx is not set |
| 174 | # CONFIG_PPC_86xx is not set | 180 | # CONFIG_PPC_86xx is not set |
| 175 | # CONFIG_EMBEDDED6xx is not set | 181 | # CONFIG_EMBEDDED6xx is not set |
| 182 | # CONFIG_AMIGAONE is not set | ||
| 183 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 176 | # CONFIG_IPIC is not set | 184 | # CONFIG_IPIC is not set |
| 177 | # CONFIG_MPIC is not set | 185 | # CONFIG_MPIC is not set |
| 178 | # CONFIG_MPIC_WEIRD is not set | 186 | # CONFIG_MPIC_WEIRD is not set |
| @@ -233,9 +241,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 233 | CONFIG_BOUNCE=y | 241 | CONFIG_BOUNCE=y |
| 234 | CONFIG_VIRT_TO_BUS=y | 242 | CONFIG_VIRT_TO_BUS=y |
| 235 | CONFIG_UNEVICTABLE_LRU=y | 243 | CONFIG_UNEVICTABLE_LRU=y |
| 244 | CONFIG_HAVE_MLOCK=y | ||
| 245 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 236 | CONFIG_PPC_4K_PAGES=y | 246 | CONFIG_PPC_4K_PAGES=y |
| 237 | # CONFIG_PPC_16K_PAGES is not set | 247 | # CONFIG_PPC_16K_PAGES is not set |
| 238 | # CONFIG_PPC_64K_PAGES is not set | 248 | # CONFIG_PPC_64K_PAGES is not set |
| 249 | # CONFIG_PPC_256K_PAGES is not set | ||
| 239 | CONFIG_FORCE_MAX_ZONEORDER=11 | 250 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 240 | CONFIG_PROC_DEVICETREE=y | 251 | CONFIG_PROC_DEVICETREE=y |
| 241 | # CONFIG_CMDLINE_BOOL is not set | 252 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -276,7 +287,6 @@ CONFIG_NET=y | |||
| 276 | # | 287 | # |
| 277 | # Networking options | 288 | # Networking options |
| 278 | # | 289 | # |
| 279 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 280 | CONFIG_PACKET=y | 290 | CONFIG_PACKET=y |
| 281 | # CONFIG_PACKET_MMAP is not set | 291 | # CONFIG_PACKET_MMAP is not set |
| 282 | CONFIG_UNIX=y | 292 | CONFIG_UNIX=y |
| @@ -332,6 +342,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 332 | # CONFIG_LAPB is not set | 342 | # CONFIG_LAPB is not set |
| 333 | # CONFIG_ECONET is not set | 343 | # CONFIG_ECONET is not set |
| 334 | # CONFIG_WAN_ROUTER is not set | 344 | # CONFIG_WAN_ROUTER is not set |
| 345 | # CONFIG_PHONET is not set | ||
| 335 | # CONFIG_NET_SCHED is not set | 346 | # CONFIG_NET_SCHED is not set |
| 336 | # CONFIG_DCB is not set | 347 | # CONFIG_DCB is not set |
| 337 | 348 | ||
| @@ -344,7 +355,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 344 | # CONFIG_IRDA is not set | 355 | # CONFIG_IRDA is not set |
| 345 | # CONFIG_BT is not set | 356 | # CONFIG_BT is not set |
| 346 | # CONFIG_AF_RXRPC is not set | 357 | # CONFIG_AF_RXRPC is not set |
| 347 | # CONFIG_PHONET is not set | ||
| 348 | # CONFIG_WIRELESS is not set | 358 | # CONFIG_WIRELESS is not set |
| 349 | # CONFIG_WIMAX is not set | 359 | # CONFIG_WIMAX is not set |
| 350 | # CONFIG_RFKILL is not set | 360 | # CONFIG_RFKILL is not set |
| @@ -441,7 +451,6 @@ CONFIG_MTD_ROM=y | |||
| 441 | # LPDDR flash memory drivers | 451 | # LPDDR flash memory drivers |
| 442 | # | 452 | # |
| 443 | # CONFIG_MTD_LPDDR is not set | 453 | # CONFIG_MTD_LPDDR is not set |
| 444 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 445 | 454 | ||
| 446 | # | 455 | # |
| 447 | # UBI - Unsorted block images | 456 | # UBI - Unsorted block images |
| @@ -466,6 +475,7 @@ CONFIG_BLK_DEV_RAM_SIZE=32768 | |||
| 466 | CONFIG_MISC_DEVICES=y | 475 | CONFIG_MISC_DEVICES=y |
| 467 | # CONFIG_ICS932S401 is not set | 476 | # CONFIG_ICS932S401 is not set |
| 468 | # CONFIG_ENCLOSURE_SERVICES is not set | 477 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 478 | # CONFIG_ISL29003 is not set | ||
| 469 | # CONFIG_C2PORT is not set | 479 | # CONFIG_C2PORT is not set |
| 470 | 480 | ||
| 471 | # | 481 | # |
| @@ -516,8 +526,10 @@ CONFIG_CHR_DEV_SG=y | |||
| 516 | CONFIG_SCSI_LOWLEVEL=y | 526 | CONFIG_SCSI_LOWLEVEL=y |
| 517 | # CONFIG_ISCSI_TCP is not set | 527 | # CONFIG_ISCSI_TCP is not set |
| 518 | # CONFIG_LIBFC is not set | 528 | # CONFIG_LIBFC is not set |
| 529 | # CONFIG_LIBFCOE is not set | ||
| 519 | # CONFIG_SCSI_DEBUG is not set | 530 | # CONFIG_SCSI_DEBUG is not set |
| 520 | # CONFIG_SCSI_DH is not set | 531 | # CONFIG_SCSI_DH is not set |
| 532 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 521 | CONFIG_ATA=y | 533 | CONFIG_ATA=y |
| 522 | # CONFIG_ATA_NONSTANDARD is not set | 534 | # CONFIG_ATA_NONSTANDARD is not set |
| 523 | CONFIG_SATA_PMP=y | 535 | CONFIG_SATA_PMP=y |
| @@ -528,6 +540,7 @@ CONFIG_PATA_MPC52xx=y | |||
| 528 | # CONFIG_MD is not set | 540 | # CONFIG_MD is not set |
| 529 | # CONFIG_MACINTOSH_DRIVERS is not set | 541 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 530 | CONFIG_NETDEVICES=y | 542 | CONFIG_NETDEVICES=y |
| 543 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 531 | # CONFIG_DUMMY is not set | 544 | # CONFIG_DUMMY is not set |
| 532 | # CONFIG_BONDING is not set | 545 | # CONFIG_BONDING is not set |
| 533 | # CONFIG_MACVLAN is not set | 546 | # CONFIG_MACVLAN is not set |
| @@ -556,6 +569,8 @@ CONFIG_ICPLUS_PHY=y | |||
| 556 | CONFIG_MDIO_BITBANG=y | 569 | CONFIG_MDIO_BITBANG=y |
| 557 | CONFIG_NET_ETHERNET=y | 570 | CONFIG_NET_ETHERNET=y |
| 558 | CONFIG_MII=y | 571 | CONFIG_MII=y |
| 572 | # CONFIG_ETHOC is not set | ||
| 573 | # CONFIG_DNET is not set | ||
| 559 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 574 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| 560 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 575 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
| 561 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 576 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
| @@ -574,7 +589,6 @@ CONFIG_FEC_MPC52xx_MDIO=y | |||
| 574 | # | 589 | # |
| 575 | # CONFIG_WLAN_PRE80211 is not set | 590 | # CONFIG_WLAN_PRE80211 is not set |
| 576 | # CONFIG_WLAN_80211 is not set | 591 | # CONFIG_WLAN_80211 is not set |
| 577 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 578 | 592 | ||
| 579 | # | 593 | # |
| 580 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 594 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -665,7 +679,6 @@ CONFIG_I2C_MPC=y | |||
| 665 | # CONFIG_SENSORS_PCF8574 is not set | 679 | # CONFIG_SENSORS_PCF8574 is not set |
| 666 | # CONFIG_PCF8575 is not set | 680 | # CONFIG_PCF8575 is not set |
| 667 | # CONFIG_SENSORS_PCA9539 is not set | 681 | # CONFIG_SENSORS_PCA9539 is not set |
| 668 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 669 | # CONFIG_SENSORS_MAX6875 is not set | 682 | # CONFIG_SENSORS_MAX6875 is not set |
| 670 | # CONFIG_SENSORS_TSL2550 is not set | 683 | # CONFIG_SENSORS_TSL2550 is not set |
| 671 | # CONFIG_I2C_DEBUG_CORE is not set | 684 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -696,6 +709,7 @@ CONFIG_HWMON=y | |||
| 696 | # CONFIG_SENSORS_F71805F is not set | 709 | # CONFIG_SENSORS_F71805F is not set |
| 697 | # CONFIG_SENSORS_F71882FG is not set | 710 | # CONFIG_SENSORS_F71882FG is not set |
| 698 | # CONFIG_SENSORS_F75375S is not set | 711 | # CONFIG_SENSORS_F75375S is not set |
| 712 | # CONFIG_SENSORS_G760A is not set | ||
| 699 | # CONFIG_SENSORS_GL518SM is not set | 713 | # CONFIG_SENSORS_GL518SM is not set |
| 700 | # CONFIG_SENSORS_GL520SM is not set | 714 | # CONFIG_SENSORS_GL520SM is not set |
| 701 | # CONFIG_SENSORS_IT87 is not set | 715 | # CONFIG_SENSORS_IT87 is not set |
| @@ -710,11 +724,14 @@ CONFIG_HWMON=y | |||
| 710 | # CONFIG_SENSORS_LM90 is not set | 724 | # CONFIG_SENSORS_LM90 is not set |
| 711 | # CONFIG_SENSORS_LM92 is not set | 725 | # CONFIG_SENSORS_LM92 is not set |
| 712 | # CONFIG_SENSORS_LM93 is not set | 726 | # CONFIG_SENSORS_LM93 is not set |
| 727 | # CONFIG_SENSORS_LTC4215 is not set | ||
| 713 | # CONFIG_SENSORS_LTC4245 is not set | 728 | # CONFIG_SENSORS_LTC4245 is not set |
| 729 | # CONFIG_SENSORS_LM95241 is not set | ||
| 714 | # CONFIG_SENSORS_MAX1619 is not set | 730 | # CONFIG_SENSORS_MAX1619 is not set |
| 715 | # CONFIG_SENSORS_MAX6650 is not set | 731 | # CONFIG_SENSORS_MAX6650 is not set |
| 716 | # CONFIG_SENSORS_PC87360 is not set | 732 | # CONFIG_SENSORS_PC87360 is not set |
| 717 | # CONFIG_SENSORS_PC87427 is not set | 733 | # CONFIG_SENSORS_PC87427 is not set |
| 734 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 718 | # CONFIG_SENSORS_DME1737 is not set | 735 | # CONFIG_SENSORS_DME1737 is not set |
| 719 | # CONFIG_SENSORS_SMSC47M1 is not set | 736 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 720 | # CONFIG_SENSORS_SMSC47M192 is not set | 737 | # CONFIG_SENSORS_SMSC47M192 is not set |
| @@ -800,7 +817,9 @@ CONFIG_LEDS_CLASS=y | |||
| 800 | # | 817 | # |
| 801 | # LED drivers | 818 | # LED drivers |
| 802 | # | 819 | # |
| 820 | # CONFIG_LEDS_LP5521 is not set | ||
| 803 | # CONFIG_LEDS_PCA955X is not set | 821 | # CONFIG_LEDS_PCA955X is not set |
| 822 | # CONFIG_LEDS_BD2802 is not set | ||
| 804 | 823 | ||
| 805 | # | 824 | # |
| 806 | # LED Triggers | 825 | # LED Triggers |
| @@ -810,6 +829,10 @@ CONFIG_LEDS_TRIGGER_TIMER=y | |||
| 810 | # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set | 829 | # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set |
| 811 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set | 830 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set |
| 812 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set | 831 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set |
| 832 | |||
| 833 | # | ||
| 834 | # iptables trigger is under Netfilter config (LED target) | ||
| 835 | # | ||
| 813 | # CONFIG_ACCESSIBILITY is not set | 836 | # CONFIG_ACCESSIBILITY is not set |
| 814 | # CONFIG_EDAC is not set | 837 | # CONFIG_EDAC is not set |
| 815 | CONFIG_RTC_LIB=y | 838 | CONFIG_RTC_LIB=y |
| @@ -866,8 +889,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 866 | # | 889 | # |
| 867 | # on-CPU RTC drivers | 890 | # on-CPU RTC drivers |
| 868 | # | 891 | # |
| 869 | # CONFIG_RTC_DRV_PPC is not set | 892 | # CONFIG_RTC_DRV_GENERIC is not set |
| 870 | # CONFIG_DMADEVICES is not set | 893 | # CONFIG_DMADEVICES is not set |
| 894 | # CONFIG_AUXDISPLAY is not set | ||
| 871 | # CONFIG_UIO is not set | 895 | # CONFIG_UIO is not set |
| 872 | # CONFIG_STAGING is not set | 896 | # CONFIG_STAGING is not set |
| 873 | 897 | ||
| @@ -878,6 +902,7 @@ CONFIG_EXT2_FS=y | |||
| 878 | # CONFIG_EXT2_FS_XATTR is not set | 902 | # CONFIG_EXT2_FS_XATTR is not set |
| 879 | # CONFIG_EXT2_FS_XIP is not set | 903 | # CONFIG_EXT2_FS_XIP is not set |
| 880 | CONFIG_EXT3_FS=y | 904 | CONFIG_EXT3_FS=y |
| 905 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 881 | CONFIG_EXT3_FS_XATTR=y | 906 | CONFIG_EXT3_FS_XATTR=y |
| 882 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 907 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 883 | # CONFIG_EXT3_FS_SECURITY is not set | 908 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -900,6 +925,11 @@ CONFIG_INOTIFY_USER=y | |||
| 900 | # CONFIG_FUSE_FS is not set | 925 | # CONFIG_FUSE_FS is not set |
| 901 | 926 | ||
| 902 | # | 927 | # |
| 928 | # Caches | ||
| 929 | # | ||
| 930 | # CONFIG_FSCACHE is not set | ||
| 931 | |||
| 932 | # | ||
| 903 | # CD-ROM/DVD Filesystems | 933 | # CD-ROM/DVD Filesystems |
| 904 | # | 934 | # |
| 905 | # CONFIG_ISO9660_FS is not set | 935 | # CONFIG_ISO9660_FS is not set |
| @@ -956,6 +986,7 @@ CONFIG_CRAMFS=y | |||
| 956 | # CONFIG_ROMFS_FS is not set | 986 | # CONFIG_ROMFS_FS is not set |
| 957 | # CONFIG_SYSV_FS is not set | 987 | # CONFIG_SYSV_FS is not set |
| 958 | # CONFIG_UFS_FS is not set | 988 | # CONFIG_UFS_FS is not set |
| 989 | # CONFIG_NILFS2_FS is not set | ||
| 959 | CONFIG_NETWORK_FILESYSTEMS=y | 990 | CONFIG_NETWORK_FILESYSTEMS=y |
| 960 | CONFIG_NFS_FS=y | 991 | CONFIG_NFS_FS=y |
| 961 | CONFIG_NFS_V3=y | 992 | CONFIG_NFS_V3=y |
| @@ -968,7 +999,6 @@ CONFIG_LOCKD_V4=y | |||
| 968 | CONFIG_NFS_COMMON=y | 999 | CONFIG_NFS_COMMON=y |
| 969 | CONFIG_SUNRPC=y | 1000 | CONFIG_SUNRPC=y |
| 970 | CONFIG_SUNRPC_GSS=y | 1001 | CONFIG_SUNRPC_GSS=y |
| 971 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 972 | CONFIG_RPCSEC_GSS_KRB5=y | 1002 | CONFIG_RPCSEC_GSS_KRB5=y |
| 973 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1003 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 974 | # CONFIG_SMB_FS is not set | 1004 | # CONFIG_SMB_FS is not set |
| @@ -1039,6 +1069,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1039 | # CONFIG_NLS_KOI8_U is not set | 1069 | # CONFIG_NLS_KOI8_U is not set |
| 1040 | # CONFIG_NLS_UTF8 is not set | 1070 | # CONFIG_NLS_UTF8 is not set |
| 1041 | # CONFIG_DLM is not set | 1071 | # CONFIG_DLM is not set |
| 1072 | # CONFIG_BINARY_PRINTF is not set | ||
| 1042 | 1073 | ||
| 1043 | # | 1074 | # |
| 1044 | # Library routines | 1075 | # Library routines |
| @@ -1054,11 +1085,12 @@ CONFIG_CRC32=y | |||
| 1054 | # CONFIG_LIBCRC32C is not set | 1085 | # CONFIG_LIBCRC32C is not set |
| 1055 | CONFIG_ZLIB_INFLATE=y | 1086 | CONFIG_ZLIB_INFLATE=y |
| 1056 | CONFIG_ZLIB_DEFLATE=y | 1087 | CONFIG_ZLIB_DEFLATE=y |
| 1057 | CONFIG_PLIST=y | 1088 | CONFIG_DECOMPRESS_GZIP=y |
| 1058 | CONFIG_HAS_IOMEM=y | 1089 | CONFIG_HAS_IOMEM=y |
| 1059 | CONFIG_HAS_IOPORT=y | 1090 | CONFIG_HAS_IOPORT=y |
| 1060 | CONFIG_HAS_DMA=y | 1091 | CONFIG_HAS_DMA=y |
| 1061 | CONFIG_HAVE_LMB=y | 1092 | CONFIG_HAVE_LMB=y |
| 1093 | CONFIG_NLATTR=y | ||
| 1062 | 1094 | ||
| 1063 | # | 1095 | # |
| 1064 | # Kernel hacking | 1096 | # Kernel hacking |
| @@ -1076,6 +1108,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1076 | CONFIG_DETECT_SOFTLOCKUP=y | 1108 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1077 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1109 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1078 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1110 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1111 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1112 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1113 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1079 | CONFIG_SCHED_DEBUG=y | 1114 | CONFIG_SCHED_DEBUG=y |
| 1080 | # CONFIG_SCHEDSTATS is not set | 1115 | # CONFIG_SCHEDSTATS is not set |
| 1081 | # CONFIG_TIMER_STATS is not set | 1116 | # CONFIG_TIMER_STATS is not set |
| @@ -1104,9 +1139,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1104 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1139 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
| 1105 | # CONFIG_FAULT_INJECTION is not set | 1140 | # CONFIG_FAULT_INJECTION is not set |
| 1106 | # CONFIG_LATENCYTOP is not set | 1141 | # CONFIG_LATENCYTOP is not set |
| 1142 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1107 | CONFIG_HAVE_FUNCTION_TRACER=y | 1143 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1144 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1108 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1145 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1109 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1146 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1147 | CONFIG_TRACING_SUPPORT=y | ||
| 1110 | 1148 | ||
| 1111 | # | 1149 | # |
| 1112 | # Tracers | 1150 | # Tracers |
| @@ -1114,17 +1152,19 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1114 | # CONFIG_FUNCTION_TRACER is not set | 1152 | # CONFIG_FUNCTION_TRACER is not set |
| 1115 | # CONFIG_SCHED_TRACER is not set | 1153 | # CONFIG_SCHED_TRACER is not set |
| 1116 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1154 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1155 | # CONFIG_EVENT_TRACER is not set | ||
| 1117 | # CONFIG_BOOT_TRACER is not set | 1156 | # CONFIG_BOOT_TRACER is not set |
| 1118 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1157 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1119 | # CONFIG_STACK_TRACER is not set | 1158 | # CONFIG_STACK_TRACER is not set |
| 1120 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1159 | # CONFIG_KMEMTRACE is not set |
| 1160 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1161 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1121 | # CONFIG_SAMPLES is not set | 1162 | # CONFIG_SAMPLES is not set |
| 1122 | CONFIG_HAVE_ARCH_KGDB=y | 1163 | CONFIG_HAVE_ARCH_KGDB=y |
| 1123 | # CONFIG_KGDB is not set | 1164 | # CONFIG_KGDB is not set |
| 1124 | CONFIG_PRINT_STACK_DEPTH=64 | 1165 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1125 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1166 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1126 | # CONFIG_DEBUG_STACK_USAGE is not set | 1167 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1127 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1128 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1168 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1129 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1169 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1130 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1170 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1155,10 +1195,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1155 | CONFIG_CRYPTO_HASH=y | 1195 | CONFIG_CRYPTO_HASH=y |
| 1156 | CONFIG_CRYPTO_HASH2=y | 1196 | CONFIG_CRYPTO_HASH2=y |
| 1157 | CONFIG_CRYPTO_RNG2=y | 1197 | CONFIG_CRYPTO_RNG2=y |
| 1198 | CONFIG_CRYPTO_PCOMP=y | ||
| 1158 | CONFIG_CRYPTO_MANAGER=y | 1199 | CONFIG_CRYPTO_MANAGER=y |
| 1159 | CONFIG_CRYPTO_MANAGER2=y | 1200 | CONFIG_CRYPTO_MANAGER2=y |
| 1160 | # CONFIG_CRYPTO_GF128MUL is not set | 1201 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1161 | # CONFIG_CRYPTO_NULL is not set | 1202 | # CONFIG_CRYPTO_NULL is not set |
| 1203 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1162 | # CONFIG_CRYPTO_CRYPTD is not set | 1204 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1163 | # CONFIG_CRYPTO_AUTHENC is not set | 1205 | # CONFIG_CRYPTO_AUTHENC is not set |
| 1164 | 1206 | ||
| @@ -1226,6 +1268,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1226 | # Compression | 1268 | # Compression |
| 1227 | # | 1269 | # |
| 1228 | # CONFIG_CRYPTO_DEFLATE is not set | 1270 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1271 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1229 | # CONFIG_CRYPTO_LZO is not set | 1272 | # CONFIG_CRYPTO_LZO is not set |
| 1230 | 1273 | ||
| 1231 | # | 1274 | # |
diff --git a/arch/powerpc/configs/52xx/pcm030_defconfig b/arch/powerpc/configs/52xx/pcm030_defconfig index 00944c09a0ae..afb1a3d1ef0a 100644 --- a/arch/powerpc/configs/52xx/pcm030_defconfig +++ b/arch/powerpc/configs/52xx/pcm030_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 21:41:33 2009 | 4 | # Sat Apr 18 00:48:42 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -54,6 +55,7 @@ CONFIG_GENERIC_BUG=y | |||
| 54 | CONFIG_DEFAULT_UIMAGE=y | 55 | CONFIG_DEFAULT_UIMAGE=y |
| 55 | # CONFIG_PPC_DCR_NATIVE is not set | 56 | # CONFIG_PPC_DCR_NATIVE is not set |
| 56 | # CONFIG_PPC_DCR_MMIO is not set | 57 | # CONFIG_PPC_DCR_MMIO is not set |
| 58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 57 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 58 | 60 | ||
| 59 | # | 61 | # |
| @@ -69,6 +71,7 @@ CONFIG_LOCALVERSION="trunk" | |||
| 69 | CONFIG_SYSVIPC=y | 71 | CONFIG_SYSVIPC=y |
| 70 | CONFIG_SYSVIPC_SYSCTL=y | 72 | CONFIG_SYSVIPC_SYSCTL=y |
| 71 | CONFIG_POSIX_MQUEUE=y | 73 | CONFIG_POSIX_MQUEUE=y |
| 74 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
| 72 | # CONFIG_BSD_PROCESS_ACCT is not set | 75 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 73 | # CONFIG_TASKSTATS is not set | 76 | # CONFIG_TASKSTATS is not set |
| 74 | # CONFIG_AUDIT is not set | 77 | # CONFIG_AUDIT is not set |
| @@ -97,18 +100,18 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 97 | # CONFIG_BLK_DEV_INITRD is not set | 100 | # CONFIG_BLK_DEV_INITRD is not set |
| 98 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 101 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 99 | CONFIG_SYSCTL=y | 102 | CONFIG_SYSCTL=y |
| 103 | CONFIG_ANON_INODES=y | ||
| 100 | CONFIG_EMBEDDED=y | 104 | CONFIG_EMBEDDED=y |
| 101 | # CONFIG_SYSCTL_SYSCALL is not set | 105 | # CONFIG_SYSCTL_SYSCALL is not set |
| 102 | CONFIG_KALLSYMS=y | 106 | CONFIG_KALLSYMS=y |
| 103 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 107 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
| 108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 104 | CONFIG_HOTPLUG=y | 109 | CONFIG_HOTPLUG=y |
| 105 | CONFIG_PRINTK=y | 110 | CONFIG_PRINTK=y |
| 106 | CONFIG_BUG=y | 111 | CONFIG_BUG=y |
| 107 | CONFIG_ELF_CORE=y | 112 | CONFIG_ELF_CORE=y |
| 108 | CONFIG_COMPAT_BRK=y | ||
| 109 | CONFIG_BASE_FULL=y | 113 | CONFIG_BASE_FULL=y |
| 110 | CONFIG_FUTEX=y | 114 | CONFIG_FUTEX=y |
| 111 | CONFIG_ANON_INODES=y | ||
| 112 | CONFIG_EPOLL=y | 115 | CONFIG_EPOLL=y |
| 113 | CONFIG_SIGNALFD=y | 116 | CONFIG_SIGNALFD=y |
| 114 | CONFIG_TIMERFD=y | 117 | CONFIG_TIMERFD=y |
| @@ -117,10 +120,12 @@ CONFIG_SHMEM=y | |||
| 117 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
| 118 | # CONFIG_VM_EVENT_COUNTERS is not set | 121 | # CONFIG_VM_EVENT_COUNTERS is not set |
| 119 | CONFIG_PCI_QUIRKS=y | 122 | CONFIG_PCI_QUIRKS=y |
| 123 | CONFIG_COMPAT_BRK=y | ||
| 120 | CONFIG_SLAB=y | 124 | CONFIG_SLAB=y |
| 121 | # CONFIG_SLUB is not set | 125 | # CONFIG_SLUB is not set |
| 122 | # CONFIG_SLOB is not set | 126 | # CONFIG_SLOB is not set |
| 123 | # CONFIG_PROFILING is not set | 127 | # CONFIG_PROFILING is not set |
| 128 | # CONFIG_MARKERS is not set | ||
| 124 | CONFIG_HAVE_OPROFILE=y | 129 | CONFIG_HAVE_OPROFILE=y |
| 125 | # CONFIG_KPROBES is not set | 130 | # CONFIG_KPROBES is not set |
| 126 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 131 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| @@ -129,6 +134,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 129 | CONFIG_HAVE_KRETPROBES=y | 134 | CONFIG_HAVE_KRETPROBES=y |
| 130 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 135 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 131 | CONFIG_HAVE_CLK=y | 136 | CONFIG_HAVE_CLK=y |
| 137 | # CONFIG_SLOW_WORK is not set | ||
| 132 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 138 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 133 | CONFIG_SLABINFO=y | 139 | CONFIG_SLABINFO=y |
| 134 | CONFIG_RT_MUTEXES=y | 140 | CONFIG_RT_MUTEXES=y |
| @@ -141,7 +147,6 @@ CONFIG_MODULE_UNLOAD=y | |||
| 141 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 147 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 142 | CONFIG_BLOCK=y | 148 | CONFIG_BLOCK=y |
| 143 | # CONFIG_LBD is not set | 149 | # CONFIG_LBD is not set |
| 144 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 145 | # CONFIG_BLK_DEV_BSG is not set | 150 | # CONFIG_BLK_DEV_BSG is not set |
| 146 | # CONFIG_BLK_DEV_INTEGRITY is not set | 151 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 147 | 152 | ||
| @@ -162,8 +167,6 @@ CONFIG_DEFAULT_IOSCHED="noop" | |||
| 162 | # | 167 | # |
| 163 | # Platform support | 168 | # Platform support |
| 164 | # | 169 | # |
| 165 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 166 | CONFIG_CLASSIC32=y | ||
| 167 | # CONFIG_PPC_CHRP is not set | 170 | # CONFIG_PPC_CHRP is not set |
| 168 | # CONFIG_MPC5121_ADS is not set | 171 | # CONFIG_MPC5121_ADS is not set |
| 169 | # CONFIG_MPC5121_GENERIC is not set | 172 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -171,6 +174,7 @@ CONFIG_PPC_MPC52xx=y | |||
| 171 | CONFIG_PPC_MPC5200_SIMPLE=y | 174 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 172 | # CONFIG_PPC_EFIKA is not set | 175 | # CONFIG_PPC_EFIKA is not set |
| 173 | # CONFIG_PPC_LITE5200 is not set | 176 | # CONFIG_PPC_LITE5200 is not set |
| 177 | # CONFIG_PPC_MEDIA5200 is not set | ||
| 174 | # CONFIG_PPC_MPC5200_BUGFIX is not set | 178 | # CONFIG_PPC_MPC5200_BUGFIX is not set |
| 175 | # CONFIG_PPC_MPC5200_GPIO is not set | 179 | # CONFIG_PPC_MPC5200_GPIO is not set |
| 176 | # CONFIG_PPC_PMAC is not set | 180 | # CONFIG_PPC_PMAC is not set |
| @@ -181,6 +185,8 @@ CONFIG_PPC_MPC5200_SIMPLE=y | |||
| 181 | # CONFIG_PPC_83xx is not set | 185 | # CONFIG_PPC_83xx is not set |
| 182 | # CONFIG_PPC_86xx is not set | 186 | # CONFIG_PPC_86xx is not set |
| 183 | # CONFIG_EMBEDDED6xx is not set | 187 | # CONFIG_EMBEDDED6xx is not set |
| 188 | # CONFIG_AMIGAONE is not set | ||
| 189 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 184 | # CONFIG_IPIC is not set | 190 | # CONFIG_IPIC is not set |
| 185 | # CONFIG_MPIC is not set | 191 | # CONFIG_MPIC is not set |
| 186 | # CONFIG_MPIC_WEIRD is not set | 192 | # CONFIG_MPIC_WEIRD is not set |
| @@ -242,9 +248,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 242 | CONFIG_BOUNCE=y | 248 | CONFIG_BOUNCE=y |
| 243 | CONFIG_VIRT_TO_BUS=y | 249 | CONFIG_VIRT_TO_BUS=y |
| 244 | CONFIG_UNEVICTABLE_LRU=y | 250 | CONFIG_UNEVICTABLE_LRU=y |
| 251 | CONFIG_HAVE_MLOCK=y | ||
| 252 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 245 | CONFIG_PPC_4K_PAGES=y | 253 | CONFIG_PPC_4K_PAGES=y |
| 246 | # CONFIG_PPC_16K_PAGES is not set | 254 | # CONFIG_PPC_16K_PAGES is not set |
| 247 | # CONFIG_PPC_64K_PAGES is not set | 255 | # CONFIG_PPC_64K_PAGES is not set |
| 256 | # CONFIG_PPC_256K_PAGES is not set | ||
| 248 | CONFIG_FORCE_MAX_ZONEORDER=11 | 257 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 249 | CONFIG_PROC_DEVICETREE=y | 258 | CONFIG_PROC_DEVICETREE=y |
| 250 | # CONFIG_CMDLINE_BOOL is not set | 259 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -268,6 +277,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 268 | # CONFIG_PCI_MSI is not set | 277 | # CONFIG_PCI_MSI is not set |
| 269 | CONFIG_PCI_LEGACY=y | 278 | CONFIG_PCI_LEGACY=y |
| 270 | # CONFIG_PCI_STUB is not set | 279 | # CONFIG_PCI_STUB is not set |
| 280 | # CONFIG_PCI_IOV is not set | ||
| 271 | # CONFIG_PCCARD is not set | 281 | # CONFIG_PCCARD is not set |
| 272 | # CONFIG_HOTPLUG_PCI is not set | 282 | # CONFIG_HOTPLUG_PCI is not set |
| 273 | # CONFIG_HAS_RAPIDIO is not set | 283 | # CONFIG_HAS_RAPIDIO is not set |
| @@ -290,7 +300,6 @@ CONFIG_NET=y | |||
| 290 | # | 300 | # |
| 291 | # Networking options | 301 | # Networking options |
| 292 | # | 302 | # |
| 293 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 294 | CONFIG_PACKET=y | 303 | CONFIG_PACKET=y |
| 295 | # CONFIG_PACKET_MMAP is not set | 304 | # CONFIG_PACKET_MMAP is not set |
| 296 | CONFIG_UNIX=y | 305 | CONFIG_UNIX=y |
| @@ -340,6 +349,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 340 | # CONFIG_LAPB is not set | 349 | # CONFIG_LAPB is not set |
| 341 | # CONFIG_ECONET is not set | 350 | # CONFIG_ECONET is not set |
| 342 | # CONFIG_WAN_ROUTER is not set | 351 | # CONFIG_WAN_ROUTER is not set |
| 352 | # CONFIG_PHONET is not set | ||
| 343 | # CONFIG_NET_SCHED is not set | 353 | # CONFIG_NET_SCHED is not set |
| 344 | # CONFIG_DCB is not set | 354 | # CONFIG_DCB is not set |
| 345 | 355 | ||
| @@ -352,7 +362,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 352 | # CONFIG_IRDA is not set | 362 | # CONFIG_IRDA is not set |
| 353 | # CONFIG_BT is not set | 363 | # CONFIG_BT is not set |
| 354 | # CONFIG_AF_RXRPC is not set | 364 | # CONFIG_AF_RXRPC is not set |
| 355 | # CONFIG_PHONET is not set | ||
| 356 | # CONFIG_WIRELESS is not set | 365 | # CONFIG_WIRELESS is not set |
| 357 | # CONFIG_WIMAX is not set | 366 | # CONFIG_WIMAX is not set |
| 358 | # CONFIG_RFKILL is not set | 367 | # CONFIG_RFKILL is not set |
| @@ -451,7 +460,6 @@ CONFIG_MTD_PHYSMAP=y | |||
| 451 | # LPDDR flash memory drivers | 460 | # LPDDR flash memory drivers |
| 452 | # | 461 | # |
| 453 | # CONFIG_MTD_LPDDR is not set | 462 | # CONFIG_MTD_LPDDR is not set |
| 454 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 455 | 463 | ||
| 456 | # | 464 | # |
| 457 | # UBI - Unsorted block images | 465 | # UBI - Unsorted block images |
| @@ -504,6 +512,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
| 504 | # CONFIG_SCSI_SRP_ATTRS is not set | 512 | # CONFIG_SCSI_SRP_ATTRS is not set |
| 505 | # CONFIG_SCSI_LOWLEVEL is not set | 513 | # CONFIG_SCSI_LOWLEVEL is not set |
| 506 | # CONFIG_SCSI_DH is not set | 514 | # CONFIG_SCSI_DH is not set |
| 515 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 507 | CONFIG_ATA=m | 516 | CONFIG_ATA=m |
| 508 | # CONFIG_ATA_NONSTANDARD is not set | 517 | # CONFIG_ATA_NONSTANDARD is not set |
| 509 | CONFIG_SATA_PMP=y | 518 | CONFIG_SATA_PMP=y |
| @@ -580,6 +589,7 @@ CONFIG_PATA_MPC52xx=m | |||
| 580 | # CONFIG_I2O is not set | 589 | # CONFIG_I2O is not set |
| 581 | # CONFIG_MACINTOSH_DRIVERS is not set | 590 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 582 | CONFIG_NETDEVICES=y | 591 | CONFIG_NETDEVICES=y |
| 592 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 583 | # CONFIG_DUMMY is not set | 593 | # CONFIG_DUMMY is not set |
| 584 | # CONFIG_BONDING is not set | 594 | # CONFIG_BONDING is not set |
| 585 | # CONFIG_MACVLAN is not set | 595 | # CONFIG_MACVLAN is not set |
| @@ -613,6 +623,8 @@ CONFIG_MII=y | |||
| 613 | # CONFIG_SUNGEM is not set | 623 | # CONFIG_SUNGEM is not set |
| 614 | # CONFIG_CASSINI is not set | 624 | # CONFIG_CASSINI is not set |
| 615 | # CONFIG_NET_VENDOR_3COM is not set | 625 | # CONFIG_NET_VENDOR_3COM is not set |
| 626 | # CONFIG_ETHOC is not set | ||
| 627 | # CONFIG_DNET is not set | ||
| 616 | # CONFIG_NET_TULIP is not set | 628 | # CONFIG_NET_TULIP is not set |
| 617 | # CONFIG_HP100 is not set | 629 | # CONFIG_HP100 is not set |
| 618 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 630 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| @@ -636,7 +648,6 @@ CONFIG_FEC_MPC52xx_MDIO=y | |||
| 636 | # | 648 | # |
| 637 | # CONFIG_WLAN_PRE80211 is not set | 649 | # CONFIG_WLAN_PRE80211 is not set |
| 638 | # CONFIG_WLAN_80211 is not set | 650 | # CONFIG_WLAN_80211 is not set |
| 639 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 640 | 651 | ||
| 641 | # | 652 | # |
| 642 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 653 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -702,6 +713,7 @@ CONFIG_UNIX98_PTYS=y | |||
| 702 | # CONFIG_HVC_UDBG is not set | 713 | # CONFIG_HVC_UDBG is not set |
| 703 | # CONFIG_IPMI_HANDLER is not set | 714 | # CONFIG_IPMI_HANDLER is not set |
| 704 | CONFIG_HW_RANDOM=y | 715 | CONFIG_HW_RANDOM=y |
| 716 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
| 705 | # CONFIG_NVRAM is not set | 717 | # CONFIG_NVRAM is not set |
| 706 | # CONFIG_R3964 is not set | 718 | # CONFIG_R3964 is not set |
| 707 | # CONFIG_APPLICOM is not set | 719 | # CONFIG_APPLICOM is not set |
| @@ -767,7 +779,6 @@ CONFIG_I2C_MPC=y | |||
| 767 | # CONFIG_SENSORS_PCF8574 is not set | 779 | # CONFIG_SENSORS_PCF8574 is not set |
| 768 | # CONFIG_PCF8575 is not set | 780 | # CONFIG_PCF8575 is not set |
| 769 | # CONFIG_SENSORS_PCA9539 is not set | 781 | # CONFIG_SENSORS_PCA9539 is not set |
| 770 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 771 | # CONFIG_SENSORS_MAX6875 is not set | 782 | # CONFIG_SENSORS_MAX6875 is not set |
| 772 | # CONFIG_SENSORS_TSL2550 is not set | 783 | # CONFIG_SENSORS_TSL2550 is not set |
| 773 | # CONFIG_I2C_DEBUG_CORE is not set | 784 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -889,11 +900,11 @@ CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | |||
| 889 | # CONFIG_USB_TMC is not set | 900 | # CONFIG_USB_TMC is not set |
| 890 | 901 | ||
| 891 | # | 902 | # |
| 892 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 903 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 893 | # | 904 | # |
| 894 | 905 | ||
| 895 | # | 906 | # |
| 896 | # see USB_STORAGE Help for more information | 907 | # also be needed; see USB_STORAGE Help for more info |
| 897 | # | 908 | # |
| 898 | CONFIG_USB_STORAGE=m | 909 | CONFIG_USB_STORAGE=m |
| 899 | # CONFIG_USB_STORAGE_DEBUG is not set | 910 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -934,7 +945,6 @@ CONFIG_USB_STORAGE=m | |||
| 934 | # CONFIG_USB_LED is not set | 945 | # CONFIG_USB_LED is not set |
| 935 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 946 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 936 | # CONFIG_USB_CYTHERM is not set | 947 | # CONFIG_USB_CYTHERM is not set |
| 937 | # CONFIG_USB_PHIDGET is not set | ||
| 938 | # CONFIG_USB_IDMOUSE is not set | 948 | # CONFIG_USB_IDMOUSE is not set |
| 939 | # CONFIG_USB_FTDI_ELAN is not set | 949 | # CONFIG_USB_FTDI_ELAN is not set |
| 940 | # CONFIG_USB_APPLEDISPLAY is not set | 950 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -949,6 +959,7 @@ CONFIG_USB_STORAGE=m | |||
| 949 | # | 959 | # |
| 950 | # OTG and related infrastructure | 960 | # OTG and related infrastructure |
| 951 | # | 961 | # |
| 962 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 952 | # CONFIG_UWB is not set | 963 | # CONFIG_UWB is not set |
| 953 | # CONFIG_MMC is not set | 964 | # CONFIG_MMC is not set |
| 954 | # CONFIG_MEMSTICK is not set | 965 | # CONFIG_MEMSTICK is not set |
| @@ -1007,8 +1018,9 @@ CONFIG_RTC_DRV_PCF8563=m | |||
| 1007 | # | 1018 | # |
| 1008 | # on-CPU RTC drivers | 1019 | # on-CPU RTC drivers |
| 1009 | # | 1020 | # |
| 1010 | # CONFIG_RTC_DRV_PPC is not set | 1021 | # CONFIG_RTC_DRV_GENERIC is not set |
| 1011 | # CONFIG_DMADEVICES is not set | 1022 | # CONFIG_DMADEVICES is not set |
| 1023 | # CONFIG_AUXDISPLAY is not set | ||
| 1012 | # CONFIG_UIO is not set | 1024 | # CONFIG_UIO is not set |
| 1013 | # CONFIG_STAGING is not set | 1025 | # CONFIG_STAGING is not set |
| 1014 | 1026 | ||
| @@ -1019,6 +1031,7 @@ CONFIG_EXT2_FS=m | |||
| 1019 | # CONFIG_EXT2_FS_XATTR is not set | 1031 | # CONFIG_EXT2_FS_XATTR is not set |
| 1020 | # CONFIG_EXT2_FS_XIP is not set | 1032 | # CONFIG_EXT2_FS_XIP is not set |
| 1021 | CONFIG_EXT3_FS=m | 1033 | CONFIG_EXT3_FS=m |
| 1034 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 1022 | CONFIG_EXT3_FS_XATTR=y | 1035 | CONFIG_EXT3_FS_XATTR=y |
| 1023 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1036 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 1024 | # CONFIG_EXT3_FS_SECURITY is not set | 1037 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -1040,6 +1053,11 @@ CONFIG_FILE_LOCKING=y | |||
| 1040 | # CONFIG_FUSE_FS is not set | 1053 | # CONFIG_FUSE_FS is not set |
| 1041 | 1054 | ||
| 1042 | # | 1055 | # |
| 1056 | # Caches | ||
| 1057 | # | ||
| 1058 | # CONFIG_FSCACHE is not set | ||
| 1059 | |||
| 1060 | # | ||
| 1043 | # CD-ROM/DVD Filesystems | 1061 | # CD-ROM/DVD Filesystems |
| 1044 | # | 1062 | # |
| 1045 | # CONFIG_ISO9660_FS is not set | 1063 | # CONFIG_ISO9660_FS is not set |
| @@ -1096,6 +1114,7 @@ CONFIG_JFFS2_RTIME=y | |||
| 1096 | # CONFIG_ROMFS_FS is not set | 1114 | # CONFIG_ROMFS_FS is not set |
| 1097 | # CONFIG_SYSV_FS is not set | 1115 | # CONFIG_SYSV_FS is not set |
| 1098 | # CONFIG_UFS_FS is not set | 1116 | # CONFIG_UFS_FS is not set |
| 1117 | # CONFIG_NILFS2_FS is not set | ||
| 1099 | CONFIG_NETWORK_FILESYSTEMS=y | 1118 | CONFIG_NETWORK_FILESYSTEMS=y |
| 1100 | CONFIG_NFS_FS=y | 1119 | CONFIG_NFS_FS=y |
| 1101 | CONFIG_NFS_V3=y | 1120 | CONFIG_NFS_V3=y |
| @@ -1107,7 +1126,6 @@ CONFIG_LOCKD=y | |||
| 1107 | CONFIG_LOCKD_V4=y | 1126 | CONFIG_LOCKD_V4=y |
| 1108 | CONFIG_NFS_COMMON=y | 1127 | CONFIG_NFS_COMMON=y |
| 1109 | CONFIG_SUNRPC=y | 1128 | CONFIG_SUNRPC=y |
| 1110 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1111 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1129 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
| 1112 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1130 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1113 | # CONFIG_SMB_FS is not set | 1131 | # CONFIG_SMB_FS is not set |
| @@ -1162,6 +1180,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1162 | # CONFIG_NLS_KOI8_U is not set | 1180 | # CONFIG_NLS_KOI8_U is not set |
| 1163 | # CONFIG_NLS_UTF8 is not set | 1181 | # CONFIG_NLS_UTF8 is not set |
| 1164 | # CONFIG_DLM is not set | 1182 | # CONFIG_DLM is not set |
| 1183 | # CONFIG_BINARY_PRINTF is not set | ||
| 1165 | 1184 | ||
| 1166 | # | 1185 | # |
| 1167 | # Library routines | 1186 | # Library routines |
| @@ -1177,11 +1196,11 @@ CONFIG_CRC32=y | |||
| 1177 | # CONFIG_LIBCRC32C is not set | 1196 | # CONFIG_LIBCRC32C is not set |
| 1178 | CONFIG_ZLIB_INFLATE=y | 1197 | CONFIG_ZLIB_INFLATE=y |
| 1179 | CONFIG_ZLIB_DEFLATE=y | 1198 | CONFIG_ZLIB_DEFLATE=y |
| 1180 | CONFIG_PLIST=y | ||
| 1181 | CONFIG_HAS_IOMEM=y | 1199 | CONFIG_HAS_IOMEM=y |
| 1182 | CONFIG_HAS_IOPORT=y | 1200 | CONFIG_HAS_IOPORT=y |
| 1183 | CONFIG_HAS_DMA=y | 1201 | CONFIG_HAS_DMA=y |
| 1184 | CONFIG_HAVE_LMB=y | 1202 | CONFIG_HAVE_LMB=y |
| 1203 | CONFIG_NLATTR=y | ||
| 1185 | 1204 | ||
| 1186 | # | 1205 | # |
| 1187 | # Kernel hacking | 1206 | # Kernel hacking |
| @@ -1200,13 +1219,25 @@ CONFIG_FRAME_WARN=1024 | |||
| 1200 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1219 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
| 1201 | # CONFIG_LATENCYTOP is not set | 1220 | # CONFIG_LATENCYTOP is not set |
| 1202 | CONFIG_HAVE_FUNCTION_TRACER=y | 1221 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1222 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1203 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1223 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1204 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1224 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1225 | CONFIG_TRACING_SUPPORT=y | ||
| 1205 | 1226 | ||
| 1206 | # | 1227 | # |
| 1207 | # Tracers | 1228 | # Tracers |
| 1208 | # | 1229 | # |
| 1209 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1230 | # CONFIG_FUNCTION_TRACER is not set |
| 1231 | # CONFIG_PREEMPT_TRACER is not set | ||
| 1232 | # CONFIG_SCHED_TRACER is not set | ||
| 1233 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1234 | # CONFIG_EVENT_TRACER is not set | ||
| 1235 | # CONFIG_BOOT_TRACER is not set | ||
| 1236 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
| 1237 | # CONFIG_STACK_TRACER is not set | ||
| 1238 | # CONFIG_KMEMTRACE is not set | ||
| 1239 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1240 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1210 | # CONFIG_SAMPLES is not set | 1241 | # CONFIG_SAMPLES is not set |
| 1211 | CONFIG_HAVE_ARCH_KGDB=y | 1242 | CONFIG_HAVE_ARCH_KGDB=y |
| 1212 | CONFIG_PRINT_STACK_DEPTH=64 | 1243 | CONFIG_PRINT_STACK_DEPTH=64 |
diff --git a/arch/powerpc/configs/52xx/tqm5200_defconfig b/arch/powerpc/configs/52xx/tqm5200_defconfig index 65237ad6f07e..8585c7c12861 100644 --- a/arch/powerpc/configs/52xx/tqm5200_defconfig +++ b/arch/powerpc/configs/52xx/tqm5200_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 21:42:58 2009 | 4 | # Sat Apr 18 00:48:57 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -54,6 +55,7 @@ CONFIG_GENERIC_BUG=y | |||
| 54 | CONFIG_DEFAULT_UIMAGE=y | 55 | CONFIG_DEFAULT_UIMAGE=y |
| 55 | # CONFIG_PPC_DCR_NATIVE is not set | 56 | # CONFIG_PPC_DCR_NATIVE is not set |
| 56 | # CONFIG_PPC_DCR_MMIO is not set | 57 | # CONFIG_PPC_DCR_MMIO is not set |
| 58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 57 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 58 | 60 | ||
| 59 | # | 61 | # |
| @@ -94,19 +96,22 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 94 | # CONFIG_NAMESPACES is not set | 96 | # CONFIG_NAMESPACES is not set |
| 95 | CONFIG_BLK_DEV_INITRD=y | 97 | CONFIG_BLK_DEV_INITRD=y |
| 96 | CONFIG_INITRAMFS_SOURCE="" | 98 | CONFIG_INITRAMFS_SOURCE="" |
| 99 | CONFIG_RD_GZIP=y | ||
| 100 | # CONFIG_RD_BZIP2 is not set | ||
| 101 | # CONFIG_RD_LZMA is not set | ||
| 97 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 102 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 98 | CONFIG_SYSCTL=y | 103 | CONFIG_SYSCTL=y |
| 104 | CONFIG_ANON_INODES=y | ||
| 99 | CONFIG_EMBEDDED=y | 105 | CONFIG_EMBEDDED=y |
| 100 | # CONFIG_SYSCTL_SYSCALL is not set | 106 | # CONFIG_SYSCTL_SYSCALL is not set |
| 101 | # CONFIG_KALLSYMS is not set | 107 | # CONFIG_KALLSYMS is not set |
| 108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 102 | CONFIG_HOTPLUG=y | 109 | CONFIG_HOTPLUG=y |
| 103 | CONFIG_PRINTK=y | 110 | CONFIG_PRINTK=y |
| 104 | CONFIG_BUG=y | 111 | CONFIG_BUG=y |
| 105 | CONFIG_ELF_CORE=y | 112 | CONFIG_ELF_CORE=y |
| 106 | CONFIG_COMPAT_BRK=y | ||
| 107 | CONFIG_BASE_FULL=y | 113 | CONFIG_BASE_FULL=y |
| 108 | CONFIG_FUTEX=y | 114 | CONFIG_FUTEX=y |
| 109 | CONFIG_ANON_INODES=y | ||
| 110 | # CONFIG_EPOLL is not set | 115 | # CONFIG_EPOLL is not set |
| 111 | CONFIG_SIGNALFD=y | 116 | CONFIG_SIGNALFD=y |
| 112 | CONFIG_TIMERFD=y | 117 | CONFIG_TIMERFD=y |
| @@ -115,10 +120,12 @@ CONFIG_SHMEM=y | |||
| 115 | CONFIG_AIO=y | 120 | CONFIG_AIO=y |
| 116 | CONFIG_VM_EVENT_COUNTERS=y | 121 | CONFIG_VM_EVENT_COUNTERS=y |
| 117 | CONFIG_SLUB_DEBUG=y | 122 | CONFIG_SLUB_DEBUG=y |
| 123 | CONFIG_COMPAT_BRK=y | ||
| 118 | # CONFIG_SLAB is not set | 124 | # CONFIG_SLAB is not set |
| 119 | CONFIG_SLUB=y | 125 | CONFIG_SLUB=y |
| 120 | # CONFIG_SLOB is not set | 126 | # CONFIG_SLOB is not set |
| 121 | # CONFIG_PROFILING is not set | 127 | # CONFIG_PROFILING is not set |
| 128 | # CONFIG_MARKERS is not set | ||
| 122 | CONFIG_HAVE_OPROFILE=y | 129 | CONFIG_HAVE_OPROFILE=y |
| 123 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| 124 | CONFIG_HAVE_IOREMAP_PROT=y | 131 | CONFIG_HAVE_IOREMAP_PROT=y |
| @@ -126,6 +133,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 126 | CONFIG_HAVE_KRETPROBES=y | 133 | CONFIG_HAVE_KRETPROBES=y |
| 127 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 134 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 128 | CONFIG_HAVE_CLK=y | 135 | CONFIG_HAVE_CLK=y |
| 136 | # CONFIG_SLOW_WORK is not set | ||
| 129 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 130 | CONFIG_SLABINFO=y | 138 | CONFIG_SLABINFO=y |
| 131 | CONFIG_RT_MUTEXES=y | 139 | CONFIG_RT_MUTEXES=y |
| @@ -138,7 +146,6 @@ CONFIG_MODVERSIONS=y | |||
| 138 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 146 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 139 | CONFIG_BLOCK=y | 147 | CONFIG_BLOCK=y |
| 140 | # CONFIG_LBD is not set | 148 | # CONFIG_LBD is not set |
| 141 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 142 | # CONFIG_BLK_DEV_BSG is not set | 149 | # CONFIG_BLK_DEV_BSG is not set |
| 143 | # CONFIG_BLK_DEV_INTEGRITY is not set | 150 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 144 | 151 | ||
| @@ -159,8 +166,6 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
| 159 | # | 166 | # |
| 160 | # Platform support | 167 | # Platform support |
| 161 | # | 168 | # |
| 162 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 163 | CONFIG_CLASSIC32=y | ||
| 164 | # CONFIG_PPC_CHRP is not set | 169 | # CONFIG_PPC_CHRP is not set |
| 165 | # CONFIG_MPC5121_ADS is not set | 170 | # CONFIG_MPC5121_ADS is not set |
| 166 | # CONFIG_MPC5121_GENERIC is not set | 171 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -168,6 +173,7 @@ CONFIG_PPC_MPC52xx=y | |||
| 168 | CONFIG_PPC_MPC5200_SIMPLE=y | 173 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 169 | # CONFIG_PPC_EFIKA is not set | 174 | # CONFIG_PPC_EFIKA is not set |
| 170 | # CONFIG_PPC_LITE5200 is not set | 175 | # CONFIG_PPC_LITE5200 is not set |
| 176 | # CONFIG_PPC_MEDIA5200 is not set | ||
| 171 | CONFIG_PPC_MPC5200_BUGFIX=y | 177 | CONFIG_PPC_MPC5200_BUGFIX=y |
| 172 | # CONFIG_PPC_MPC5200_GPIO is not set | 178 | # CONFIG_PPC_MPC5200_GPIO is not set |
| 173 | # CONFIG_PPC_PMAC is not set | 179 | # CONFIG_PPC_PMAC is not set |
| @@ -178,6 +184,8 @@ CONFIG_PPC_MPC5200_BUGFIX=y | |||
| 178 | # CONFIG_PPC_83xx is not set | 184 | # CONFIG_PPC_83xx is not set |
| 179 | # CONFIG_PPC_86xx is not set | 185 | # CONFIG_PPC_86xx is not set |
| 180 | # CONFIG_EMBEDDED6xx is not set | 186 | # CONFIG_EMBEDDED6xx is not set |
| 187 | # CONFIG_AMIGAONE is not set | ||
| 188 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 181 | # CONFIG_IPIC is not set | 189 | # CONFIG_IPIC is not set |
| 182 | # CONFIG_MPIC is not set | 190 | # CONFIG_MPIC is not set |
| 183 | # CONFIG_MPIC_WEIRD is not set | 191 | # CONFIG_MPIC_WEIRD is not set |
| @@ -238,9 +246,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 238 | CONFIG_BOUNCE=y | 246 | CONFIG_BOUNCE=y |
| 239 | CONFIG_VIRT_TO_BUS=y | 247 | CONFIG_VIRT_TO_BUS=y |
| 240 | CONFIG_UNEVICTABLE_LRU=y | 248 | CONFIG_UNEVICTABLE_LRU=y |
| 249 | CONFIG_HAVE_MLOCK=y | ||
| 250 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 241 | CONFIG_PPC_4K_PAGES=y | 251 | CONFIG_PPC_4K_PAGES=y |
| 242 | # CONFIG_PPC_16K_PAGES is not set | 252 | # CONFIG_PPC_16K_PAGES is not set |
| 243 | # CONFIG_PPC_64K_PAGES is not set | 253 | # CONFIG_PPC_64K_PAGES is not set |
| 254 | # CONFIG_PPC_256K_PAGES is not set | ||
| 244 | CONFIG_FORCE_MAX_ZONEORDER=11 | 255 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 245 | CONFIG_PROC_DEVICETREE=y | 256 | CONFIG_PROC_DEVICETREE=y |
| 246 | # CONFIG_CMDLINE_BOOL is not set | 257 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -281,7 +292,6 @@ CONFIG_NET=y | |||
| 281 | # | 292 | # |
| 282 | # Networking options | 293 | # Networking options |
| 283 | # | 294 | # |
| 284 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 285 | CONFIG_PACKET=y | 295 | CONFIG_PACKET=y |
| 286 | # CONFIG_PACKET_MMAP is not set | 296 | # CONFIG_PACKET_MMAP is not set |
| 287 | CONFIG_UNIX=y | 297 | CONFIG_UNIX=y |
| @@ -337,6 +347,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 337 | # CONFIG_LAPB is not set | 347 | # CONFIG_LAPB is not set |
| 338 | # CONFIG_ECONET is not set | 348 | # CONFIG_ECONET is not set |
| 339 | # CONFIG_WAN_ROUTER is not set | 349 | # CONFIG_WAN_ROUTER is not set |
| 350 | # CONFIG_PHONET is not set | ||
| 340 | # CONFIG_NET_SCHED is not set | 351 | # CONFIG_NET_SCHED is not set |
| 341 | # CONFIG_DCB is not set | 352 | # CONFIG_DCB is not set |
| 342 | 353 | ||
| @@ -349,7 +360,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 349 | # CONFIG_IRDA is not set | 360 | # CONFIG_IRDA is not set |
| 350 | # CONFIG_BT is not set | 361 | # CONFIG_BT is not set |
| 351 | # CONFIG_AF_RXRPC is not set | 362 | # CONFIG_AF_RXRPC is not set |
| 352 | # CONFIG_PHONET is not set | ||
| 353 | # CONFIG_WIRELESS is not set | 363 | # CONFIG_WIRELESS is not set |
| 354 | # CONFIG_WIMAX is not set | 364 | # CONFIG_WIMAX is not set |
| 355 | # CONFIG_RFKILL is not set | 365 | # CONFIG_RFKILL is not set |
| @@ -447,7 +457,6 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
| 447 | # LPDDR flash memory drivers | 457 | # LPDDR flash memory drivers |
| 448 | # | 458 | # |
| 449 | # CONFIG_MTD_LPDDR is not set | 459 | # CONFIG_MTD_LPDDR is not set |
| 450 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 451 | 460 | ||
| 452 | # | 461 | # |
| 453 | # UBI - Unsorted block images | 462 | # UBI - Unsorted block images |
| @@ -514,8 +523,10 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
| 514 | CONFIG_SCSI_LOWLEVEL=y | 523 | CONFIG_SCSI_LOWLEVEL=y |
| 515 | # CONFIG_ISCSI_TCP is not set | 524 | # CONFIG_ISCSI_TCP is not set |
| 516 | # CONFIG_LIBFC is not set | 525 | # CONFIG_LIBFC is not set |
| 526 | # CONFIG_LIBFCOE is not set | ||
| 517 | # CONFIG_SCSI_DEBUG is not set | 527 | # CONFIG_SCSI_DEBUG is not set |
| 518 | # CONFIG_SCSI_DH is not set | 528 | # CONFIG_SCSI_DH is not set |
| 529 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 519 | CONFIG_ATA=y | 530 | CONFIG_ATA=y |
| 520 | # CONFIG_ATA_NONSTANDARD is not set | 531 | # CONFIG_ATA_NONSTANDARD is not set |
| 521 | CONFIG_SATA_PMP=y | 532 | CONFIG_SATA_PMP=y |
| @@ -527,6 +538,7 @@ CONFIG_PATA_PLATFORM=y | |||
| 527 | # CONFIG_MD is not set | 538 | # CONFIG_MD is not set |
| 528 | # CONFIG_MACINTOSH_DRIVERS is not set | 539 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 529 | CONFIG_NETDEVICES=y | 540 | CONFIG_NETDEVICES=y |
| 541 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 530 | # CONFIG_DUMMY is not set | 542 | # CONFIG_DUMMY is not set |
| 531 | # CONFIG_BONDING is not set | 543 | # CONFIG_BONDING is not set |
| 532 | # CONFIG_MACVLAN is not set | 544 | # CONFIG_MACVLAN is not set |
| @@ -555,6 +567,8 @@ CONFIG_LXT_PHY=y | |||
| 555 | # CONFIG_MDIO_BITBANG is not set | 567 | # CONFIG_MDIO_BITBANG is not set |
| 556 | CONFIG_NET_ETHERNET=y | 568 | CONFIG_NET_ETHERNET=y |
| 557 | # CONFIG_MII is not set | 569 | # CONFIG_MII is not set |
| 570 | # CONFIG_ETHOC is not set | ||
| 571 | # CONFIG_DNET is not set | ||
| 558 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 572 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| 559 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 573 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
| 560 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 574 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
| @@ -573,7 +587,6 @@ CONFIG_FEC_MPC52xx_MDIO=y | |||
| 573 | # | 587 | # |
| 574 | # CONFIG_WLAN_PRE80211 is not set | 588 | # CONFIG_WLAN_PRE80211 is not set |
| 575 | # CONFIG_WLAN_80211 is not set | 589 | # CONFIG_WLAN_80211 is not set |
| 576 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 577 | 590 | ||
| 578 | # | 591 | # |
| 579 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 592 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -675,7 +688,6 @@ CONFIG_I2C_MPC=y | |||
| 675 | # CONFIG_SENSORS_PCF8574 is not set | 688 | # CONFIG_SENSORS_PCF8574 is not set |
| 676 | # CONFIG_PCF8575 is not set | 689 | # CONFIG_PCF8575 is not set |
| 677 | # CONFIG_SENSORS_PCA9539 is not set | 690 | # CONFIG_SENSORS_PCA9539 is not set |
| 678 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 679 | # CONFIG_SENSORS_MAX6875 is not set | 691 | # CONFIG_SENSORS_MAX6875 is not set |
| 680 | # CONFIG_SENSORS_TSL2550 is not set | 692 | # CONFIG_SENSORS_TSL2550 is not set |
| 681 | # CONFIG_I2C_DEBUG_CORE is not set | 693 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -706,6 +718,7 @@ CONFIG_HWMON=y | |||
| 706 | # CONFIG_SENSORS_F71805F is not set | 718 | # CONFIG_SENSORS_F71805F is not set |
| 707 | # CONFIG_SENSORS_F71882FG is not set | 719 | # CONFIG_SENSORS_F71882FG is not set |
| 708 | # CONFIG_SENSORS_F75375S is not set | 720 | # CONFIG_SENSORS_F75375S is not set |
| 721 | # CONFIG_SENSORS_G760A is not set | ||
| 709 | # CONFIG_SENSORS_GL518SM is not set | 722 | # CONFIG_SENSORS_GL518SM is not set |
| 710 | # CONFIG_SENSORS_GL520SM is not set | 723 | # CONFIG_SENSORS_GL520SM is not set |
| 711 | # CONFIG_SENSORS_IT87 is not set | 724 | # CONFIG_SENSORS_IT87 is not set |
| @@ -720,11 +733,14 @@ CONFIG_HWMON=y | |||
| 720 | # CONFIG_SENSORS_LM90 is not set | 733 | # CONFIG_SENSORS_LM90 is not set |
| 721 | # CONFIG_SENSORS_LM92 is not set | 734 | # CONFIG_SENSORS_LM92 is not set |
| 722 | # CONFIG_SENSORS_LM93 is not set | 735 | # CONFIG_SENSORS_LM93 is not set |
| 736 | # CONFIG_SENSORS_LTC4215 is not set | ||
| 723 | # CONFIG_SENSORS_LTC4245 is not set | 737 | # CONFIG_SENSORS_LTC4245 is not set |
| 738 | # CONFIG_SENSORS_LM95241 is not set | ||
| 724 | # CONFIG_SENSORS_MAX1619 is not set | 739 | # CONFIG_SENSORS_MAX1619 is not set |
| 725 | # CONFIG_SENSORS_MAX6650 is not set | 740 | # CONFIG_SENSORS_MAX6650 is not set |
| 726 | # CONFIG_SENSORS_PC87360 is not set | 741 | # CONFIG_SENSORS_PC87360 is not set |
| 727 | # CONFIG_SENSORS_PC87427 is not set | 742 | # CONFIG_SENSORS_PC87427 is not set |
| 743 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 728 | # CONFIG_SENSORS_DME1737 is not set | 744 | # CONFIG_SENSORS_DME1737 is not set |
| 729 | # CONFIG_SENSORS_SMSC47M1 is not set | 745 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 730 | # CONFIG_SENSORS_SMSC47M192 is not set | 746 | # CONFIG_SENSORS_SMSC47M192 is not set |
| @@ -857,11 +873,11 @@ CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | |||
| 857 | # CONFIG_USB_TMC is not set | 873 | # CONFIG_USB_TMC is not set |
| 858 | 874 | ||
| 859 | # | 875 | # |
| 860 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 876 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 861 | # | 877 | # |
| 862 | 878 | ||
| 863 | # | 879 | # |
| 864 | # see USB_STORAGE Help for more information | 880 | # also be needed; see USB_STORAGE Help for more info |
| 865 | # | 881 | # |
| 866 | CONFIG_USB_STORAGE=y | 882 | CONFIG_USB_STORAGE=y |
| 867 | # CONFIG_USB_STORAGE_DEBUG is not set | 883 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -902,7 +918,6 @@ CONFIG_USB_STORAGE=y | |||
| 902 | # CONFIG_USB_LED is not set | 918 | # CONFIG_USB_LED is not set |
| 903 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 919 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 904 | # CONFIG_USB_CYTHERM is not set | 920 | # CONFIG_USB_CYTHERM is not set |
| 905 | # CONFIG_USB_PHIDGET is not set | ||
| 906 | # CONFIG_USB_IDMOUSE is not set | 921 | # CONFIG_USB_IDMOUSE is not set |
| 907 | # CONFIG_USB_FTDI_ELAN is not set | 922 | # CONFIG_USB_FTDI_ELAN is not set |
| 908 | # CONFIG_USB_APPLEDISPLAY is not set | 923 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -917,6 +932,7 @@ CONFIG_USB_STORAGE=y | |||
| 917 | # | 932 | # |
| 918 | # OTG and related infrastructure | 933 | # OTG and related infrastructure |
| 919 | # | 934 | # |
| 935 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 920 | # CONFIG_MMC is not set | 936 | # CONFIG_MMC is not set |
| 921 | # CONFIG_MEMSTICK is not set | 937 | # CONFIG_MEMSTICK is not set |
| 922 | # CONFIG_NEW_LEDS is not set | 938 | # CONFIG_NEW_LEDS is not set |
| @@ -976,8 +992,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 976 | # | 992 | # |
| 977 | # on-CPU RTC drivers | 993 | # on-CPU RTC drivers |
| 978 | # | 994 | # |
| 979 | # CONFIG_RTC_DRV_PPC is not set | 995 | # CONFIG_RTC_DRV_GENERIC is not set |
| 980 | # CONFIG_DMADEVICES is not set | 996 | # CONFIG_DMADEVICES is not set |
| 997 | # CONFIG_AUXDISPLAY is not set | ||
| 981 | # CONFIG_UIO is not set | 998 | # CONFIG_UIO is not set |
| 982 | # CONFIG_STAGING is not set | 999 | # CONFIG_STAGING is not set |
| 983 | 1000 | ||
| @@ -988,6 +1005,7 @@ CONFIG_EXT2_FS=y | |||
| 988 | # CONFIG_EXT2_FS_XATTR is not set | 1005 | # CONFIG_EXT2_FS_XATTR is not set |
| 989 | # CONFIG_EXT2_FS_XIP is not set | 1006 | # CONFIG_EXT2_FS_XIP is not set |
| 990 | CONFIG_EXT3_FS=y | 1007 | CONFIG_EXT3_FS=y |
| 1008 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 991 | CONFIG_EXT3_FS_XATTR=y | 1009 | CONFIG_EXT3_FS_XATTR=y |
| 992 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1010 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 993 | # CONFIG_EXT3_FS_SECURITY is not set | 1011 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -1010,6 +1028,11 @@ CONFIG_INOTIFY_USER=y | |||
| 1010 | # CONFIG_FUSE_FS is not set | 1028 | # CONFIG_FUSE_FS is not set |
| 1011 | 1029 | ||
| 1012 | # | 1030 | # |
| 1031 | # Caches | ||
| 1032 | # | ||
| 1033 | # CONFIG_FSCACHE is not set | ||
| 1034 | |||
| 1035 | # | ||
| 1013 | # CD-ROM/DVD Filesystems | 1036 | # CD-ROM/DVD Filesystems |
| 1014 | # | 1037 | # |
| 1015 | # CONFIG_ISO9660_FS is not set | 1038 | # CONFIG_ISO9660_FS is not set |
| @@ -1066,6 +1089,7 @@ CONFIG_CRAMFS=y | |||
| 1066 | # CONFIG_ROMFS_FS is not set | 1089 | # CONFIG_ROMFS_FS is not set |
| 1067 | # CONFIG_SYSV_FS is not set | 1090 | # CONFIG_SYSV_FS is not set |
| 1068 | # CONFIG_UFS_FS is not set | 1091 | # CONFIG_UFS_FS is not set |
| 1092 | # CONFIG_NILFS2_FS is not set | ||
| 1069 | CONFIG_NETWORK_FILESYSTEMS=y | 1093 | CONFIG_NETWORK_FILESYSTEMS=y |
| 1070 | CONFIG_NFS_FS=y | 1094 | CONFIG_NFS_FS=y |
| 1071 | CONFIG_NFS_V3=y | 1095 | CONFIG_NFS_V3=y |
| @@ -1078,7 +1102,6 @@ CONFIG_LOCKD_V4=y | |||
| 1078 | CONFIG_NFS_COMMON=y | 1102 | CONFIG_NFS_COMMON=y |
| 1079 | CONFIG_SUNRPC=y | 1103 | CONFIG_SUNRPC=y |
| 1080 | CONFIG_SUNRPC_GSS=y | 1104 | CONFIG_SUNRPC_GSS=y |
| 1081 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1082 | CONFIG_RPCSEC_GSS_KRB5=y | 1105 | CONFIG_RPCSEC_GSS_KRB5=y |
| 1083 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1106 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1084 | # CONFIG_SMB_FS is not set | 1107 | # CONFIG_SMB_FS is not set |
| @@ -1149,6 +1172,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1149 | # CONFIG_NLS_KOI8_U is not set | 1172 | # CONFIG_NLS_KOI8_U is not set |
| 1150 | # CONFIG_NLS_UTF8 is not set | 1173 | # CONFIG_NLS_UTF8 is not set |
| 1151 | # CONFIG_DLM is not set | 1174 | # CONFIG_DLM is not set |
| 1175 | # CONFIG_BINARY_PRINTF is not set | ||
| 1152 | 1176 | ||
| 1153 | # | 1177 | # |
| 1154 | # Library routines | 1178 | # Library routines |
| @@ -1164,11 +1188,12 @@ CONFIG_CRC32=y | |||
| 1164 | # CONFIG_LIBCRC32C is not set | 1188 | # CONFIG_LIBCRC32C is not set |
| 1165 | CONFIG_ZLIB_INFLATE=y | 1189 | CONFIG_ZLIB_INFLATE=y |
| 1166 | CONFIG_ZLIB_DEFLATE=y | 1190 | CONFIG_ZLIB_DEFLATE=y |
| 1167 | CONFIG_PLIST=y | 1191 | CONFIG_DECOMPRESS_GZIP=y |
| 1168 | CONFIG_HAS_IOMEM=y | 1192 | CONFIG_HAS_IOMEM=y |
| 1169 | CONFIG_HAS_IOPORT=y | 1193 | CONFIG_HAS_IOPORT=y |
| 1170 | CONFIG_HAS_DMA=y | 1194 | CONFIG_HAS_DMA=y |
| 1171 | CONFIG_HAVE_LMB=y | 1195 | CONFIG_HAVE_LMB=y |
| 1196 | CONFIG_NLATTR=y | ||
| 1172 | 1197 | ||
| 1173 | # | 1198 | # |
| 1174 | # Kernel hacking | 1199 | # Kernel hacking |
| @@ -1186,6 +1211,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1186 | CONFIG_DETECT_SOFTLOCKUP=y | 1211 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1187 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1212 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1188 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1213 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1214 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1215 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1216 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1189 | CONFIG_SCHED_DEBUG=y | 1217 | CONFIG_SCHED_DEBUG=y |
| 1190 | # CONFIG_SCHEDSTATS is not set | 1218 | # CONFIG_SCHEDSTATS is not set |
| 1191 | # CONFIG_TIMER_STATS is not set | 1219 | # CONFIG_TIMER_STATS is not set |
| @@ -1214,9 +1242,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1214 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1242 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
| 1215 | # CONFIG_FAULT_INJECTION is not set | 1243 | # CONFIG_FAULT_INJECTION is not set |
| 1216 | # CONFIG_LATENCYTOP is not set | 1244 | # CONFIG_LATENCYTOP is not set |
| 1245 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1217 | CONFIG_HAVE_FUNCTION_TRACER=y | 1246 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1247 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1218 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1248 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1219 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1249 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1250 | CONFIG_TRACING_SUPPORT=y | ||
| 1220 | 1251 | ||
| 1221 | # | 1252 | # |
| 1222 | # Tracers | 1253 | # Tracers |
| @@ -1224,17 +1255,19 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1224 | # CONFIG_FUNCTION_TRACER is not set | 1255 | # CONFIG_FUNCTION_TRACER is not set |
| 1225 | # CONFIG_SCHED_TRACER is not set | 1256 | # CONFIG_SCHED_TRACER is not set |
| 1226 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1257 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1258 | # CONFIG_EVENT_TRACER is not set | ||
| 1227 | # CONFIG_BOOT_TRACER is not set | 1259 | # CONFIG_BOOT_TRACER is not set |
| 1228 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1260 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1229 | # CONFIG_STACK_TRACER is not set | 1261 | # CONFIG_STACK_TRACER is not set |
| 1230 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1262 | # CONFIG_KMEMTRACE is not set |
| 1263 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1264 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1231 | # CONFIG_SAMPLES is not set | 1265 | # CONFIG_SAMPLES is not set |
| 1232 | CONFIG_HAVE_ARCH_KGDB=y | 1266 | CONFIG_HAVE_ARCH_KGDB=y |
| 1233 | # CONFIG_KGDB is not set | 1267 | # CONFIG_KGDB is not set |
| 1234 | CONFIG_PRINT_STACK_DEPTH=64 | 1268 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1235 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1269 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1236 | # CONFIG_DEBUG_STACK_USAGE is not set | 1270 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1237 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1238 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1271 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1239 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1272 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1240 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1273 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1265,10 +1298,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1265 | CONFIG_CRYPTO_HASH=y | 1298 | CONFIG_CRYPTO_HASH=y |
| 1266 | CONFIG_CRYPTO_HASH2=y | 1299 | CONFIG_CRYPTO_HASH2=y |
| 1267 | CONFIG_CRYPTO_RNG2=y | 1300 | CONFIG_CRYPTO_RNG2=y |
| 1301 | CONFIG_CRYPTO_PCOMP=y | ||
| 1268 | CONFIG_CRYPTO_MANAGER=y | 1302 | CONFIG_CRYPTO_MANAGER=y |
| 1269 | CONFIG_CRYPTO_MANAGER2=y | 1303 | CONFIG_CRYPTO_MANAGER2=y |
| 1270 | # CONFIG_CRYPTO_GF128MUL is not set | 1304 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1271 | # CONFIG_CRYPTO_NULL is not set | 1305 | # CONFIG_CRYPTO_NULL is not set |
| 1306 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1272 | # CONFIG_CRYPTO_CRYPTD is not set | 1307 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1273 | # CONFIG_CRYPTO_AUTHENC is not set | 1308 | # CONFIG_CRYPTO_AUTHENC is not set |
| 1274 | # CONFIG_CRYPTO_TEST is not set | 1309 | # CONFIG_CRYPTO_TEST is not set |
| @@ -1337,6 +1372,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1337 | # Compression | 1372 | # Compression |
| 1338 | # | 1373 | # |
| 1339 | # CONFIG_CRYPTO_DEFLATE is not set | 1374 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1375 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1340 | # CONFIG_CRYPTO_LZO is not set | 1376 | # CONFIG_CRYPTO_LZO is not set |
| 1341 | 1377 | ||
| 1342 | # | 1378 | # |
diff --git a/arch/powerpc/configs/85xx/mpc8536_ds_defconfig b/arch/powerpc/configs/85xx/mpc8536_ds_defconfig deleted file mode 100644 index e31b6a4732ed..000000000000 --- a/arch/powerpc/configs/85xx/mpc8536_ds_defconfig +++ /dev/null | |||
| @@ -1,1802 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.29-rc2 | ||
| 4 | # Mon Jan 26 15:36:04 2009 | ||
| 5 | # | ||
| 6 | # CONFIG_PPC64 is not set | ||
| 7 | |||
| 8 | # | ||
| 9 | # Processor support | ||
| 10 | # | ||
| 11 | # CONFIG_6xx is not set | ||
| 12 | CONFIG_PPC_85xx=y | ||
| 13 | # CONFIG_PPC_8xx is not set | ||
| 14 | # CONFIG_40x is not set | ||
| 15 | # CONFIG_44x is not set | ||
| 16 | # CONFIG_E200 is not set | ||
| 17 | CONFIG_E500=y | ||
| 18 | # CONFIG_PPC_E500MC is not set | ||
| 19 | CONFIG_BOOKE=y | ||
| 20 | CONFIG_FSL_BOOKE=y | ||
| 21 | CONFIG_FSL_EMB_PERFMON=y | ||
| 22 | # CONFIG_PHYS_64BIT is not set | ||
| 23 | CONFIG_SPE=y | ||
| 24 | CONFIG_PPC_MMU_NOHASH=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | ||
| 26 | # CONFIG_SMP is not set | ||
| 27 | CONFIG_PPC32=y | ||
| 28 | CONFIG_WORD_SIZE=32 | ||
| 29 | # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set | ||
| 30 | CONFIG_MMU=y | ||
| 31 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
| 32 | CONFIG_GENERIC_TIME=y | ||
| 33 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
| 34 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 35 | CONFIG_GENERIC_HARDIRQS=y | ||
| 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
| 37 | CONFIG_IRQ_PER_CPU=y | ||
| 38 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
| 40 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 41 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
| 42 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
| 43 | CONFIG_GENERIC_HWEIGHT=y | ||
| 44 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 45 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
| 46 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
| 47 | CONFIG_PPC=y | ||
| 48 | CONFIG_EARLY_PRINTK=y | ||
| 49 | CONFIG_GENERIC_NVRAM=y | ||
| 50 | CONFIG_SCHED_OMIT_FRAME_POINTER=y | ||
| 51 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
| 52 | CONFIG_PPC_OF=y | ||
| 53 | CONFIG_OF=y | ||
| 54 | CONFIG_PPC_UDBG_16550=y | ||
| 55 | # CONFIG_GENERIC_TBSYNC is not set | ||
| 56 | CONFIG_AUDIT_ARCH=y | ||
| 57 | CONFIG_GENERIC_BUG=y | ||
| 58 | CONFIG_DEFAULT_UIMAGE=y | ||
| 59 | # CONFIG_PPC_DCR_NATIVE is not set | ||
| 60 | # CONFIG_PPC_DCR_MMIO is not set | ||
| 61 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 62 | |||
| 63 | # | ||
| 64 | # General setup | ||
| 65 | # | ||
| 66 | CONFIG_EXPERIMENTAL=y | ||
| 67 | CONFIG_BROKEN_ON_SMP=y | ||
| 68 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 69 | CONFIG_LOCALVERSION="" | ||
| 70 | CONFIG_LOCALVERSION_AUTO=y | ||
| 71 | CONFIG_SWAP=y | ||
| 72 | CONFIG_SYSVIPC=y | ||
| 73 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 74 | CONFIG_POSIX_MQUEUE=y | ||
| 75 | CONFIG_BSD_PROCESS_ACCT=y | ||
| 76 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | ||
| 77 | # CONFIG_TASKSTATS is not set | ||
| 78 | CONFIG_AUDIT=y | ||
| 79 | # CONFIG_AUDITSYSCALL is not set | ||
| 80 | CONFIG_IKCONFIG=y | ||
| 81 | CONFIG_IKCONFIG_PROC=y | ||
| 82 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 83 | CONFIG_GROUP_SCHED=y | ||
| 84 | # CONFIG_FAIR_GROUP_SCHED is not set | ||
| 85 | # CONFIG_RT_GROUP_SCHED is not set | ||
| 86 | CONFIG_USER_SCHED=y | ||
| 87 | # CONFIG_CGROUP_SCHED is not set | ||
| 88 | # CONFIG_CGROUPS is not set | ||
| 89 | CONFIG_SYSFS_DEPRECATED=y | ||
| 90 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
| 91 | # CONFIG_RELAY is not set | ||
| 92 | # CONFIG_NAMESPACES is not set | ||
| 93 | CONFIG_BLK_DEV_INITRD=y | ||
| 94 | CONFIG_INITRAMFS_SOURCE="" | ||
| 95 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
| 96 | CONFIG_SYSCTL=y | ||
| 97 | CONFIG_EMBEDDED=y | ||
| 98 | CONFIG_SYSCTL_SYSCALL=y | ||
| 99 | CONFIG_KALLSYMS=y | ||
| 100 | CONFIG_KALLSYMS_ALL=y | ||
| 101 | CONFIG_KALLSYMS_STRIP_GENERATED=y | ||
| 102 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
| 103 | CONFIG_HOTPLUG=y | ||
| 104 | CONFIG_PRINTK=y | ||
| 105 | CONFIG_BUG=y | ||
| 106 | CONFIG_ELF_CORE=y | ||
| 107 | CONFIG_COMPAT_BRK=y | ||
| 108 | CONFIG_BASE_FULL=y | ||
| 109 | CONFIG_FUTEX=y | ||
| 110 | CONFIG_ANON_INODES=y | ||
| 111 | CONFIG_EPOLL=y | ||
| 112 | CONFIG_SIGNALFD=y | ||
| 113 | CONFIG_TIMERFD=y | ||
| 114 | CONFIG_EVENTFD=y | ||
| 115 | CONFIG_SHMEM=y | ||
| 116 | CONFIG_AIO=y | ||
| 117 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 118 | CONFIG_PCI_QUIRKS=y | ||
| 119 | CONFIG_SLUB_DEBUG=y | ||
| 120 | # CONFIG_SLAB is not set | ||
| 121 | CONFIG_SLUB=y | ||
| 122 | # CONFIG_SLOB is not set | ||
| 123 | # CONFIG_PROFILING is not set | ||
| 124 | CONFIG_HAVE_OPROFILE=y | ||
| 125 | # CONFIG_KPROBES is not set | ||
| 126 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
| 127 | CONFIG_HAVE_IOREMAP_PROT=y | ||
| 128 | CONFIG_HAVE_KPROBES=y | ||
| 129 | CONFIG_HAVE_KRETPROBES=y | ||
| 130 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
| 131 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
| 132 | CONFIG_SLABINFO=y | ||
| 133 | CONFIG_RT_MUTEXES=y | ||
| 134 | CONFIG_BASE_SMALL=0 | ||
| 135 | CONFIG_MODULES=y | ||
| 136 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
| 137 | CONFIG_MODULE_UNLOAD=y | ||
| 138 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
| 139 | CONFIG_MODVERSIONS=y | ||
| 140 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 141 | CONFIG_BLOCK=y | ||
| 142 | CONFIG_LBD=y | ||
| 143 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 144 | # CONFIG_BLK_DEV_BSG is not set | ||
| 145 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
| 146 | |||
| 147 | # | ||
| 148 | # IO Schedulers | ||
| 149 | # | ||
| 150 | CONFIG_IOSCHED_NOOP=y | ||
| 151 | CONFIG_IOSCHED_AS=y | ||
| 152 | CONFIG_IOSCHED_DEADLINE=y | ||
| 153 | CONFIG_IOSCHED_CFQ=y | ||
| 154 | # CONFIG_DEFAULT_AS is not set | ||
| 155 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 156 | CONFIG_DEFAULT_CFQ=y | ||
| 157 | # CONFIG_DEFAULT_NOOP is not set | ||
| 158 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
| 159 | CONFIG_CLASSIC_RCU=y | ||
| 160 | # CONFIG_TREE_RCU is not set | ||
| 161 | # CONFIG_PREEMPT_RCU is not set | ||
| 162 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 163 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 164 | # CONFIG_FREEZER is not set | ||
| 165 | |||
| 166 | # | ||
| 167 | # Platform support | ||
| 168 | # | ||
| 169 | # CONFIG_PPC_CELL is not set | ||
| 170 | # CONFIG_PPC_CELL_NATIVE is not set | ||
| 171 | # CONFIG_PQ2ADS is not set | ||
| 172 | CONFIG_MPC85xx=y | ||
| 173 | # CONFIG_MPC8540_ADS is not set | ||
| 174 | # CONFIG_MPC8560_ADS is not set | ||
| 175 | # CONFIG_MPC85xx_CDS is not set | ||
| 176 | # CONFIG_MPC85xx_MDS is not set | ||
| 177 | CONFIG_MPC8536_DS=y | ||
| 178 | # CONFIG_MPC85xx_DS is not set | ||
| 179 | # CONFIG_KSI8560 is not set | ||
| 180 | # CONFIG_STX_GP3 is not set | ||
| 181 | # CONFIG_TQM8540 is not set | ||
| 182 | # CONFIG_TQM8541 is not set | ||
| 183 | # CONFIG_TQM8548 is not set | ||
| 184 | # CONFIG_TQM8555 is not set | ||
| 185 | # CONFIG_TQM8560 is not set | ||
| 186 | # CONFIG_SBC8548 is not set | ||
| 187 | # CONFIG_SBC8560 is not set | ||
| 188 | # CONFIG_IPIC is not set | ||
| 189 | CONFIG_MPIC=y | ||
| 190 | # CONFIG_MPIC_WEIRD is not set | ||
| 191 | # CONFIG_PPC_I8259 is not set | ||
| 192 | # CONFIG_PPC_RTAS is not set | ||
| 193 | # CONFIG_MMIO_NVRAM is not set | ||
| 194 | # CONFIG_PPC_MPC106 is not set | ||
| 195 | # CONFIG_PPC_970_NAP is not set | ||
| 196 | # CONFIG_PPC_INDIRECT_IO is not set | ||
| 197 | # CONFIG_GENERIC_IOMAP is not set | ||
| 198 | # CONFIG_CPU_FREQ is not set | ||
| 199 | # CONFIG_QUICC_ENGINE is not set | ||
| 200 | # CONFIG_CPM2 is not set | ||
| 201 | # CONFIG_FSL_ULI1575 is not set | ||
| 202 | # CONFIG_MPC8xxx_GPIO is not set | ||
| 203 | # CONFIG_SIMPLE_GPIO is not set | ||
| 204 | |||
| 205 | # | ||
| 206 | # Kernel options | ||
| 207 | # | ||
| 208 | CONFIG_HIGHMEM=y | ||
| 209 | CONFIG_TICK_ONESHOT=y | ||
| 210 | CONFIG_NO_HZ=y | ||
| 211 | CONFIG_HIGH_RES_TIMERS=y | ||
| 212 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 213 | # CONFIG_HZ_100 is not set | ||
| 214 | CONFIG_HZ_250=y | ||
| 215 | # CONFIG_HZ_300 is not set | ||
| 216 | # CONFIG_HZ_1000 is not set | ||
| 217 | CONFIG_HZ=250 | ||
| 218 | CONFIG_SCHED_HRTICK=y | ||
| 219 | CONFIG_PREEMPT_NONE=y | ||
| 220 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
| 221 | # CONFIG_PREEMPT is not set | ||
| 222 | CONFIG_BINFMT_ELF=y | ||
| 223 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| 224 | # CONFIG_HAVE_AOUT is not set | ||
| 225 | CONFIG_BINFMT_MISC=m | ||
| 226 | CONFIG_MATH_EMULATION=y | ||
| 227 | # CONFIG_IOMMU_HELPER is not set | ||
| 228 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
| 229 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
| 230 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
| 231 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
| 232 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
| 233 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 234 | CONFIG_FLATMEM_MANUAL=y | ||
| 235 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 236 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 237 | CONFIG_FLATMEM=y | ||
| 238 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 239 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
| 240 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 241 | CONFIG_MIGRATION=y | ||
| 242 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
| 243 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 244 | CONFIG_BOUNCE=y | ||
| 245 | CONFIG_VIRT_TO_BUS=y | ||
| 246 | CONFIG_UNEVICTABLE_LRU=y | ||
| 247 | CONFIG_PPC_4K_PAGES=y | ||
| 248 | # CONFIG_PPC_16K_PAGES is not set | ||
| 249 | # CONFIG_PPC_64K_PAGES is not set | ||
| 250 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
| 251 | CONFIG_PROC_DEVICETREE=y | ||
| 252 | # CONFIG_CMDLINE_BOOL is not set | ||
| 253 | CONFIG_EXTRA_TARGETS="" | ||
| 254 | # CONFIG_PM is not set | ||
| 255 | CONFIG_SECCOMP=y | ||
| 256 | CONFIG_ISA_DMA_API=y | ||
| 257 | |||
| 258 | # | ||
| 259 | # Bus options | ||
| 260 | # | ||
| 261 | CONFIG_ZONE_DMA=y | ||
| 262 | CONFIG_PPC_INDIRECT_PCI=y | ||
| 263 | CONFIG_FSL_SOC=y | ||
| 264 | CONFIG_FSL_PCI=y | ||
| 265 | CONFIG_PPC_PCI_CHOICE=y | ||
| 266 | CONFIG_PCI=y | ||
| 267 | CONFIG_PCI_DOMAINS=y | ||
| 268 | CONFIG_PCI_SYSCALL=y | ||
| 269 | # CONFIG_PCIEPORTBUS is not set | ||
| 270 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
| 271 | # CONFIG_PCI_MSI is not set | ||
| 272 | # CONFIG_PCI_LEGACY is not set | ||
| 273 | # CONFIG_PCI_DEBUG is not set | ||
| 274 | # CONFIG_PCI_STUB is not set | ||
| 275 | # CONFIG_PCCARD is not set | ||
| 276 | # CONFIG_HOTPLUG_PCI is not set | ||
| 277 | # CONFIG_HAS_RAPIDIO is not set | ||
| 278 | |||
| 279 | # | ||
| 280 | # Advanced setup | ||
| 281 | # | ||
| 282 | # CONFIG_ADVANCED_OPTIONS is not set | ||
| 283 | |||
| 284 | # | ||
| 285 | # Default settings for advanced configuration options are used | ||
| 286 | # | ||
| 287 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
| 288 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
| 289 | CONFIG_KERNEL_START=0xc0000000 | ||
| 290 | CONFIG_PHYSICAL_START=0x00000000 | ||
| 291 | CONFIG_PHYSICAL_ALIGN=0x10000000 | ||
| 292 | CONFIG_TASK_SIZE=0xc0000000 | ||
| 293 | CONFIG_NET=y | ||
| 294 | |||
| 295 | # | ||
| 296 | # Networking options | ||
| 297 | # | ||
| 298 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 299 | CONFIG_PACKET=y | ||
| 300 | # CONFIG_PACKET_MMAP is not set | ||
| 301 | CONFIG_UNIX=y | ||
| 302 | CONFIG_XFRM=y | ||
| 303 | CONFIG_XFRM_USER=y | ||
| 304 | # CONFIG_XFRM_SUB_POLICY is not set | ||
| 305 | # CONFIG_XFRM_MIGRATE is not set | ||
| 306 | # CONFIG_XFRM_STATISTICS is not set | ||
| 307 | CONFIG_NET_KEY=m | ||
| 308 | # CONFIG_NET_KEY_MIGRATE is not set | ||
| 309 | CONFIG_INET=y | ||
| 310 | CONFIG_IP_MULTICAST=y | ||
| 311 | CONFIG_IP_ADVANCED_ROUTER=y | ||
| 312 | CONFIG_ASK_IP_FIB_HASH=y | ||
| 313 | # CONFIG_IP_FIB_TRIE is not set | ||
| 314 | CONFIG_IP_FIB_HASH=y | ||
| 315 | CONFIG_IP_MULTIPLE_TABLES=y | ||
| 316 | CONFIG_IP_ROUTE_MULTIPATH=y | ||
| 317 | CONFIG_IP_ROUTE_VERBOSE=y | ||
| 318 | CONFIG_IP_PNP=y | ||
| 319 | CONFIG_IP_PNP_DHCP=y | ||
| 320 | CONFIG_IP_PNP_BOOTP=y | ||
| 321 | CONFIG_IP_PNP_RARP=y | ||
| 322 | CONFIG_NET_IPIP=y | ||
| 323 | CONFIG_NET_IPGRE=y | ||
| 324 | CONFIG_NET_IPGRE_BROADCAST=y | ||
| 325 | CONFIG_IP_MROUTE=y | ||
| 326 | CONFIG_IP_PIMSM_V1=y | ||
| 327 | CONFIG_IP_PIMSM_V2=y | ||
| 328 | CONFIG_ARPD=y | ||
| 329 | # CONFIG_SYN_COOKIES is not set | ||
| 330 | # CONFIG_INET_AH is not set | ||
| 331 | # CONFIG_INET_ESP is not set | ||
| 332 | # CONFIG_INET_IPCOMP is not set | ||
| 333 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 334 | CONFIG_INET_TUNNEL=y | ||
| 335 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 336 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 337 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 338 | # CONFIG_INET_LRO is not set | ||
| 339 | CONFIG_INET_DIAG=y | ||
| 340 | CONFIG_INET_TCP_DIAG=y | ||
| 341 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 342 | CONFIG_TCP_CONG_CUBIC=y | ||
| 343 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 344 | # CONFIG_TCP_MD5SIG is not set | ||
| 345 | CONFIG_IPV6=y | ||
| 346 | # CONFIG_IPV6_PRIVACY is not set | ||
| 347 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
| 348 | # CONFIG_IPV6_OPTIMISTIC_DAD is not set | ||
| 349 | # CONFIG_INET6_AH is not set | ||
| 350 | # CONFIG_INET6_ESP is not set | ||
| 351 | # CONFIG_INET6_IPCOMP is not set | ||
| 352 | # CONFIG_IPV6_MIP6 is not set | ||
| 353 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
| 354 | # CONFIG_INET6_TUNNEL is not set | ||
| 355 | CONFIG_INET6_XFRM_MODE_TRANSPORT=y | ||
| 356 | CONFIG_INET6_XFRM_MODE_TUNNEL=y | ||
| 357 | CONFIG_INET6_XFRM_MODE_BEET=y | ||
| 358 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | ||
| 359 | CONFIG_IPV6_SIT=y | ||
| 360 | CONFIG_IPV6_NDISC_NODETYPE=y | ||
| 361 | # CONFIG_IPV6_TUNNEL is not set | ||
| 362 | # CONFIG_IPV6_MULTIPLE_TABLES is not set | ||
| 363 | # CONFIG_IPV6_MROUTE is not set | ||
| 364 | # CONFIG_NETWORK_SECMARK is not set | ||
| 365 | # CONFIG_NETFILTER is not set | ||
| 366 | # CONFIG_IP_DCCP is not set | ||
| 367 | CONFIG_IP_SCTP=m | ||
| 368 | # CONFIG_SCTP_DBG_MSG is not set | ||
| 369 | # CONFIG_SCTP_DBG_OBJCNT is not set | ||
| 370 | # CONFIG_SCTP_HMAC_NONE is not set | ||
| 371 | # CONFIG_SCTP_HMAC_SHA1 is not set | ||
| 372 | CONFIG_SCTP_HMAC_MD5=y | ||
| 373 | # CONFIG_TIPC is not set | ||
| 374 | # CONFIG_ATM is not set | ||
| 375 | # CONFIG_BRIDGE is not set | ||
| 376 | # CONFIG_NET_DSA is not set | ||
| 377 | # CONFIG_VLAN_8021Q is not set | ||
| 378 | # CONFIG_DECNET is not set | ||
| 379 | # CONFIG_LLC2 is not set | ||
| 380 | # CONFIG_IPX is not set | ||
| 381 | # CONFIG_ATALK is not set | ||
| 382 | # CONFIG_X25 is not set | ||
| 383 | # CONFIG_LAPB is not set | ||
| 384 | # CONFIG_ECONET is not set | ||
| 385 | # CONFIG_WAN_ROUTER is not set | ||
| 386 | # CONFIG_NET_SCHED is not set | ||
| 387 | # CONFIG_DCB is not set | ||
| 388 | |||
| 389 | # | ||
| 390 | # Network testing | ||
| 391 | # | ||
| 392 | # CONFIG_NET_PKTGEN is not set | ||
| 393 | # CONFIG_HAMRADIO is not set | ||
| 394 | # CONFIG_CAN is not set | ||
| 395 | # CONFIG_IRDA is not set | ||
| 396 | # CONFIG_BT is not set | ||
| 397 | # CONFIG_AF_RXRPC is not set | ||
| 398 | # CONFIG_PHONET is not set | ||
| 399 | CONFIG_FIB_RULES=y | ||
| 400 | CONFIG_WIRELESS=y | ||
| 401 | # CONFIG_CFG80211 is not set | ||
| 402 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 403 | # CONFIG_WIRELESS_EXT is not set | ||
| 404 | # CONFIG_LIB80211 is not set | ||
| 405 | # CONFIG_MAC80211 is not set | ||
| 406 | # CONFIG_WIMAX is not set | ||
| 407 | # CONFIG_RFKILL is not set | ||
| 408 | # CONFIG_NET_9P is not set | ||
| 409 | |||
| 410 | # | ||
| 411 | # Device Drivers | ||
| 412 | # | ||
| 413 | |||
| 414 | # | ||
| 415 | # Generic Driver Options | ||
| 416 | # | ||
| 417 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 418 | CONFIG_STANDALONE=y | ||
| 419 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 420 | CONFIG_FW_LOADER=y | ||
| 421 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
| 422 | CONFIG_EXTRA_FIRMWARE="" | ||
| 423 | # CONFIG_DEBUG_DRIVER is not set | ||
| 424 | # CONFIG_DEBUG_DEVRES is not set | ||
| 425 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 426 | # CONFIG_CONNECTOR is not set | ||
| 427 | # CONFIG_MTD is not set | ||
| 428 | CONFIG_OF_DEVICE=y | ||
| 429 | CONFIG_OF_I2C=y | ||
| 430 | # CONFIG_PARPORT is not set | ||
| 431 | CONFIG_BLK_DEV=y | ||
| 432 | # CONFIG_BLK_DEV_FD is not set | ||
| 433 | # CONFIG_BLK_CPQ_DA is not set | ||
| 434 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
| 435 | # CONFIG_BLK_DEV_DAC960 is not set | ||
| 436 | # CONFIG_BLK_DEV_UMEM is not set | ||
| 437 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 438 | CONFIG_BLK_DEV_LOOP=y | ||
| 439 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
| 440 | CONFIG_BLK_DEV_NBD=y | ||
| 441 | # CONFIG_BLK_DEV_SX8 is not set | ||
| 442 | # CONFIG_BLK_DEV_UB is not set | ||
| 443 | CONFIG_BLK_DEV_RAM=y | ||
| 444 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
| 445 | CONFIG_BLK_DEV_RAM_SIZE=524288 | ||
| 446 | # CONFIG_BLK_DEV_XIP is not set | ||
| 447 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 448 | # CONFIG_ATA_OVER_ETH is not set | ||
| 449 | # CONFIG_BLK_DEV_HD is not set | ||
| 450 | CONFIG_MISC_DEVICES=y | ||
| 451 | # CONFIG_PHANTOM is not set | ||
| 452 | # CONFIG_EEPROM_93CX6 is not set | ||
| 453 | # CONFIG_SGI_IOC4 is not set | ||
| 454 | # CONFIG_TIFM_CORE is not set | ||
| 455 | # CONFIG_ICS932S401 is not set | ||
| 456 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
| 457 | # CONFIG_HP_ILO is not set | ||
| 458 | # CONFIG_C2PORT is not set | ||
| 459 | CONFIG_HAVE_IDE=y | ||
| 460 | # CONFIG_IDE is not set | ||
| 461 | |||
| 462 | # | ||
| 463 | # SCSI device support | ||
| 464 | # | ||
| 465 | # CONFIG_RAID_ATTRS is not set | ||
| 466 | CONFIG_SCSI=y | ||
| 467 | CONFIG_SCSI_DMA=y | ||
| 468 | # CONFIG_SCSI_TGT is not set | ||
| 469 | # CONFIG_SCSI_NETLINK is not set | ||
| 470 | CONFIG_SCSI_PROC_FS=y | ||
| 471 | |||
| 472 | # | ||
| 473 | # SCSI support type (disk, tape, CD-ROM) | ||
| 474 | # | ||
| 475 | CONFIG_BLK_DEV_SD=y | ||
| 476 | CONFIG_CHR_DEV_ST=y | ||
| 477 | # CONFIG_CHR_DEV_OSST is not set | ||
| 478 | CONFIG_BLK_DEV_SR=y | ||
| 479 | # CONFIG_BLK_DEV_SR_VENDOR is not set | ||
| 480 | CONFIG_CHR_DEV_SG=y | ||
| 481 | # CONFIG_CHR_DEV_SCH is not set | ||
| 482 | |||
| 483 | # | ||
| 484 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
| 485 | # | ||
| 486 | CONFIG_SCSI_MULTI_LUN=y | ||
| 487 | # CONFIG_SCSI_CONSTANTS is not set | ||
| 488 | CONFIG_SCSI_LOGGING=y | ||
| 489 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
| 490 | CONFIG_SCSI_WAIT_SCAN=m | ||
| 491 | |||
| 492 | # | ||
| 493 | # SCSI Transports | ||
| 494 | # | ||
| 495 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
| 496 | # CONFIG_SCSI_FC_ATTRS is not set | ||
| 497 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
| 498 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
| 499 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
| 500 | CONFIG_SCSI_LOWLEVEL=y | ||
| 501 | # CONFIG_ISCSI_TCP is not set | ||
| 502 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
| 503 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
| 504 | # CONFIG_SCSI_3W_9XXX is not set | ||
| 505 | # CONFIG_SCSI_ACARD is not set | ||
| 506 | # CONFIG_SCSI_AACRAID is not set | ||
| 507 | # CONFIG_SCSI_AIC7XXX is not set | ||
| 508 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
| 509 | # CONFIG_SCSI_AIC79XX is not set | ||
| 510 | # CONFIG_SCSI_AIC94XX is not set | ||
| 511 | # CONFIG_SCSI_DPT_I2O is not set | ||
| 512 | # CONFIG_SCSI_ADVANSYS is not set | ||
| 513 | # CONFIG_SCSI_ARCMSR is not set | ||
| 514 | # CONFIG_MEGARAID_NEWGEN is not set | ||
| 515 | # CONFIG_MEGARAID_LEGACY is not set | ||
| 516 | # CONFIG_MEGARAID_SAS is not set | ||
| 517 | # CONFIG_SCSI_HPTIOP is not set | ||
| 518 | # CONFIG_SCSI_BUSLOGIC is not set | ||
| 519 | # CONFIG_LIBFC is not set | ||
| 520 | # CONFIG_FCOE is not set | ||
| 521 | # CONFIG_SCSI_DMX3191D is not set | ||
| 522 | # CONFIG_SCSI_EATA is not set | ||
| 523 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
| 524 | # CONFIG_SCSI_GDTH is not set | ||
| 525 | # CONFIG_SCSI_IPS is not set | ||
| 526 | # CONFIG_SCSI_INITIO is not set | ||
| 527 | # CONFIG_SCSI_INIA100 is not set | ||
| 528 | # CONFIG_SCSI_MVSAS is not set | ||
| 529 | # CONFIG_SCSI_STEX is not set | ||
| 530 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
| 531 | # CONFIG_SCSI_IPR is not set | ||
| 532 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
| 533 | # CONFIG_SCSI_QLA_FC is not set | ||
| 534 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
| 535 | # CONFIG_SCSI_LPFC is not set | ||
| 536 | # CONFIG_SCSI_DC395x is not set | ||
| 537 | # CONFIG_SCSI_DC390T is not set | ||
| 538 | # CONFIG_SCSI_NSP32 is not set | ||
| 539 | # CONFIG_SCSI_DEBUG is not set | ||
| 540 | # CONFIG_SCSI_SRP is not set | ||
| 541 | # CONFIG_SCSI_DH is not set | ||
| 542 | CONFIG_ATA=y | ||
| 543 | # CONFIG_ATA_NONSTANDARD is not set | ||
| 544 | CONFIG_SATA_PMP=y | ||
| 545 | # CONFIG_SATA_AHCI is not set | ||
| 546 | CONFIG_SATA_SIL24=y | ||
| 547 | CONFIG_SATA_FSL=y | ||
| 548 | CONFIG_ATA_SFF=y | ||
| 549 | # CONFIG_SATA_SVW is not set | ||
| 550 | # CONFIG_ATA_PIIX is not set | ||
| 551 | # CONFIG_SATA_MV is not set | ||
| 552 | # CONFIG_SATA_NV is not set | ||
| 553 | # CONFIG_PDC_ADMA is not set | ||
| 554 | # CONFIG_SATA_QSTOR is not set | ||
| 555 | # CONFIG_SATA_PROMISE is not set | ||
| 556 | # CONFIG_SATA_SX4 is not set | ||
| 557 | CONFIG_SATA_SIL=y | ||
| 558 | # CONFIG_SATA_SIS is not set | ||
| 559 | # CONFIG_SATA_ULI is not set | ||
| 560 | # CONFIG_SATA_VIA is not set | ||
| 561 | # CONFIG_SATA_VITESSE is not set | ||
| 562 | # CONFIG_SATA_INIC162X is not set | ||
| 563 | # CONFIG_PATA_ALI is not set | ||
| 564 | # CONFIG_PATA_AMD is not set | ||
| 565 | # CONFIG_PATA_ARTOP is not set | ||
| 566 | # CONFIG_PATA_ATIIXP is not set | ||
| 567 | # CONFIG_PATA_CMD640_PCI is not set | ||
| 568 | # CONFIG_PATA_CMD64X is not set | ||
| 569 | # CONFIG_PATA_CS5520 is not set | ||
| 570 | # CONFIG_PATA_CS5530 is not set | ||
| 571 | # CONFIG_PATA_CYPRESS is not set | ||
| 572 | # CONFIG_PATA_EFAR is not set | ||
| 573 | # CONFIG_ATA_GENERIC is not set | ||
| 574 | # CONFIG_PATA_HPT366 is not set | ||
| 575 | # CONFIG_PATA_HPT37X is not set | ||
| 576 | # CONFIG_PATA_HPT3X2N is not set | ||
| 577 | # CONFIG_PATA_HPT3X3 is not set | ||
| 578 | # CONFIG_PATA_IT821X is not set | ||
| 579 | # CONFIG_PATA_IT8213 is not set | ||
| 580 | # CONFIG_PATA_JMICRON is not set | ||
| 581 | # CONFIG_PATA_TRIFLEX is not set | ||
| 582 | # CONFIG_PATA_MARVELL is not set | ||
| 583 | # CONFIG_PATA_MPIIX is not set | ||
| 584 | # CONFIG_PATA_OLDPIIX is not set | ||
| 585 | # CONFIG_PATA_NETCELL is not set | ||
| 586 | # CONFIG_PATA_NINJA32 is not set | ||
| 587 | # CONFIG_PATA_NS87410 is not set | ||
| 588 | # CONFIG_PATA_NS87415 is not set | ||
| 589 | # CONFIG_PATA_OPTI is not set | ||
| 590 | # CONFIG_PATA_OPTIDMA is not set | ||
| 591 | # CONFIG_PATA_PDC_OLD is not set | ||
| 592 | # CONFIG_PATA_RADISYS is not set | ||
| 593 | # CONFIG_PATA_RZ1000 is not set | ||
| 594 | # CONFIG_PATA_SC1200 is not set | ||
| 595 | # CONFIG_PATA_SERVERWORKS is not set | ||
| 596 | # CONFIG_PATA_PDC2027X is not set | ||
| 597 | # CONFIG_PATA_SIL680 is not set | ||
| 598 | # CONFIG_PATA_SIS is not set | ||
| 599 | # CONFIG_PATA_VIA is not set | ||
| 600 | # CONFIG_PATA_WINBOND is not set | ||
| 601 | # CONFIG_PATA_PLATFORM is not set | ||
| 602 | # CONFIG_PATA_SCH is not set | ||
| 603 | # CONFIG_MD is not set | ||
| 604 | # CONFIG_FUSION is not set | ||
| 605 | |||
| 606 | # | ||
| 607 | # IEEE 1394 (FireWire) support | ||
| 608 | # | ||
| 609 | |||
| 610 | # | ||
| 611 | # Enable only one of the two stacks, unless you know what you are doing | ||
| 612 | # | ||
| 613 | # CONFIG_FIREWIRE is not set | ||
| 614 | # CONFIG_IEEE1394 is not set | ||
| 615 | # CONFIG_I2O is not set | ||
| 616 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
| 617 | CONFIG_NETDEVICES=y | ||
| 618 | CONFIG_DUMMY=y | ||
| 619 | # CONFIG_BONDING is not set | ||
| 620 | # CONFIG_MACVLAN is not set | ||
| 621 | # CONFIG_EQUALIZER is not set | ||
| 622 | # CONFIG_TUN is not set | ||
| 623 | # CONFIG_VETH is not set | ||
| 624 | # CONFIG_ARCNET is not set | ||
| 625 | CONFIG_PHYLIB=y | ||
| 626 | |||
| 627 | # | ||
| 628 | # MII PHY device drivers | ||
| 629 | # | ||
| 630 | # CONFIG_MARVELL_PHY is not set | ||
| 631 | # CONFIG_DAVICOM_PHY is not set | ||
| 632 | # CONFIG_QSEMI_PHY is not set | ||
| 633 | # CONFIG_LXT_PHY is not set | ||
| 634 | # CONFIG_CICADA_PHY is not set | ||
| 635 | CONFIG_VITESSE_PHY=y | ||
| 636 | # CONFIG_SMSC_PHY is not set | ||
| 637 | # CONFIG_BROADCOM_PHY is not set | ||
| 638 | # CONFIG_ICPLUS_PHY is not set | ||
| 639 | # CONFIG_REALTEK_PHY is not set | ||
| 640 | # CONFIG_NATIONAL_PHY is not set | ||
| 641 | # CONFIG_STE10XP is not set | ||
| 642 | # CONFIG_LSI_ET1011C_PHY is not set | ||
| 643 | # CONFIG_FIXED_PHY is not set | ||
| 644 | # CONFIG_MDIO_BITBANG is not set | ||
| 645 | CONFIG_NET_ETHERNET=y | ||
| 646 | CONFIG_MII=y | ||
| 647 | # CONFIG_HAPPYMEAL is not set | ||
| 648 | # CONFIG_SUNGEM is not set | ||
| 649 | # CONFIG_CASSINI is not set | ||
| 650 | # CONFIG_NET_VENDOR_3COM is not set | ||
| 651 | # CONFIG_NET_TULIP is not set | ||
| 652 | # CONFIG_HP100 is not set | ||
| 653 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 654 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 655 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 656 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 657 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
| 658 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
| 659 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
| 660 | # CONFIG_NET_PCI is not set | ||
| 661 | # CONFIG_B44 is not set | ||
| 662 | # CONFIG_ATL2 is not set | ||
| 663 | CONFIG_NETDEV_1000=y | ||
| 664 | # CONFIG_ACENIC is not set | ||
| 665 | # CONFIG_DL2K is not set | ||
| 666 | # CONFIG_E1000 is not set | ||
| 667 | # CONFIG_E1000E is not set | ||
| 668 | # CONFIG_IP1000 is not set | ||
| 669 | # CONFIG_IGB is not set | ||
| 670 | # CONFIG_NS83820 is not set | ||
| 671 | # CONFIG_HAMACHI is not set | ||
| 672 | # CONFIG_YELLOWFIN is not set | ||
| 673 | # CONFIG_R8169 is not set | ||
| 674 | # CONFIG_SIS190 is not set | ||
| 675 | CONFIG_SKGE=y | ||
| 676 | # CONFIG_SKGE_DEBUG is not set | ||
| 677 | CONFIG_SKY2=y | ||
| 678 | # CONFIG_SKY2_DEBUG is not set | ||
| 679 | # CONFIG_VIA_VELOCITY is not set | ||
| 680 | # CONFIG_TIGON3 is not set | ||
| 681 | # CONFIG_BNX2 is not set | ||
| 682 | CONFIG_GIANFAR=y | ||
| 683 | # CONFIG_QLA3XXX is not set | ||
| 684 | # CONFIG_ATL1 is not set | ||
| 685 | # CONFIG_ATL1E is not set | ||
| 686 | # CONFIG_JME is not set | ||
| 687 | CONFIG_NETDEV_10000=y | ||
| 688 | # CONFIG_CHELSIO_T1 is not set | ||
| 689 | CONFIG_CHELSIO_T3_DEPENDS=y | ||
| 690 | # CONFIG_CHELSIO_T3 is not set | ||
| 691 | # CONFIG_ENIC is not set | ||
| 692 | # CONFIG_IXGBE is not set | ||
| 693 | # CONFIG_IXGB is not set | ||
| 694 | # CONFIG_S2IO is not set | ||
| 695 | # CONFIG_MYRI10GE is not set | ||
| 696 | # CONFIG_NETXEN_NIC is not set | ||
| 697 | # CONFIG_NIU is not set | ||
| 698 | # CONFIG_MLX4_EN is not set | ||
| 699 | # CONFIG_MLX4_CORE is not set | ||
| 700 | # CONFIG_TEHUTI is not set | ||
| 701 | # CONFIG_BNX2X is not set | ||
| 702 | # CONFIG_QLGE is not set | ||
| 703 | # CONFIG_SFC is not set | ||
| 704 | # CONFIG_TR is not set | ||
| 705 | |||
| 706 | # | ||
| 707 | # Wireless LAN | ||
| 708 | # | ||
| 709 | # CONFIG_WLAN_PRE80211 is not set | ||
| 710 | # CONFIG_WLAN_80211 is not set | ||
| 711 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 712 | |||
| 713 | # | ||
| 714 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
| 715 | # | ||
| 716 | |||
| 717 | # | ||
| 718 | # USB Network Adapters | ||
| 719 | # | ||
| 720 | # CONFIG_USB_CATC is not set | ||
| 721 | # CONFIG_USB_KAWETH is not set | ||
| 722 | # CONFIG_USB_PEGASUS is not set | ||
| 723 | # CONFIG_USB_RTL8150 is not set | ||
| 724 | # CONFIG_USB_USBNET is not set | ||
| 725 | # CONFIG_WAN is not set | ||
| 726 | # CONFIG_FDDI is not set | ||
| 727 | # CONFIG_HIPPI is not set | ||
| 728 | # CONFIG_PPP is not set | ||
| 729 | # CONFIG_SLIP is not set | ||
| 730 | # CONFIG_NET_FC is not set | ||
| 731 | # CONFIG_NETCONSOLE is not set | ||
| 732 | # CONFIG_NETPOLL is not set | ||
| 733 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 734 | # CONFIG_ISDN is not set | ||
| 735 | # CONFIG_PHONE is not set | ||
| 736 | |||
| 737 | # | ||
| 738 | # Input device support | ||
| 739 | # | ||
| 740 | CONFIG_INPUT=y | ||
| 741 | CONFIG_INPUT_FF_MEMLESS=m | ||
| 742 | # CONFIG_INPUT_POLLDEV is not set | ||
| 743 | |||
| 744 | # | ||
| 745 | # Userland interfaces | ||
| 746 | # | ||
| 747 | # CONFIG_INPUT_MOUSEDEV is not set | ||
| 748 | # CONFIG_INPUT_JOYDEV is not set | ||
| 749 | # CONFIG_INPUT_EVDEV is not set | ||
| 750 | # CONFIG_INPUT_EVBUG is not set | ||
| 751 | |||
| 752 | # | ||
| 753 | # Input Device Drivers | ||
| 754 | # | ||
| 755 | # CONFIG_INPUT_KEYBOARD is not set | ||
| 756 | # CONFIG_INPUT_MOUSE is not set | ||
| 757 | # CONFIG_INPUT_JOYSTICK is not set | ||
| 758 | # CONFIG_INPUT_TABLET is not set | ||
| 759 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
| 760 | # CONFIG_INPUT_MISC is not set | ||
| 761 | |||
| 762 | # | ||
| 763 | # Hardware I/O ports | ||
| 764 | # | ||
| 765 | CONFIG_SERIO=y | ||
| 766 | CONFIG_SERIO_I8042=y | ||
| 767 | CONFIG_SERIO_SERPORT=y | ||
| 768 | # CONFIG_SERIO_PCIPS2 is not set | ||
| 769 | CONFIG_SERIO_LIBPS2=y | ||
| 770 | # CONFIG_SERIO_RAW is not set | ||
| 771 | # CONFIG_SERIO_XILINX_XPS_PS2 is not set | ||
| 772 | # CONFIG_GAMEPORT is not set | ||
| 773 | |||
| 774 | # | ||
| 775 | # Character devices | ||
| 776 | # | ||
| 777 | CONFIG_VT=y | ||
| 778 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
| 779 | CONFIG_VT_CONSOLE=y | ||
| 780 | CONFIG_HW_CONSOLE=y | ||
| 781 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
| 782 | CONFIG_DEVKMEM=y | ||
| 783 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 784 | # CONFIG_NOZOMI is not set | ||
| 785 | |||
| 786 | # | ||
| 787 | # Serial drivers | ||
| 788 | # | ||
| 789 | CONFIG_SERIAL_8250=y | ||
| 790 | CONFIG_SERIAL_8250_CONSOLE=y | ||
| 791 | CONFIG_SERIAL_8250_PCI=y | ||
| 792 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
| 793 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
| 794 | CONFIG_SERIAL_8250_EXTENDED=y | ||
| 795 | CONFIG_SERIAL_8250_MANY_PORTS=y | ||
| 796 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
| 797 | CONFIG_SERIAL_8250_DETECT_IRQ=y | ||
| 798 | CONFIG_SERIAL_8250_RSA=y | ||
| 799 | |||
| 800 | # | ||
| 801 | # Non-8250 serial port support | ||
| 802 | # | ||
| 803 | # CONFIG_SERIAL_UARTLITE is not set | ||
| 804 | CONFIG_SERIAL_CORE=y | ||
| 805 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 806 | # CONFIG_SERIAL_JSM is not set | ||
| 807 | # CONFIG_SERIAL_OF_PLATFORM is not set | ||
| 808 | CONFIG_UNIX98_PTYS=y | ||
| 809 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
| 810 | CONFIG_LEGACY_PTYS=y | ||
| 811 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 812 | # CONFIG_HVC_UDBG is not set | ||
| 813 | # CONFIG_IPMI_HANDLER is not set | ||
| 814 | CONFIG_HW_RANDOM=y | ||
| 815 | # CONFIG_NVRAM is not set | ||
| 816 | # CONFIG_R3964 is not set | ||
| 817 | # CONFIG_APPLICOM is not set | ||
| 818 | # CONFIG_RAW_DRIVER is not set | ||
| 819 | # CONFIG_TCG_TPM is not set | ||
| 820 | CONFIG_DEVPORT=y | ||
| 821 | CONFIG_I2C=y | ||
| 822 | CONFIG_I2C_BOARDINFO=y | ||
| 823 | # CONFIG_I2C_CHARDEV is not set | ||
| 824 | CONFIG_I2C_HELPER_AUTO=y | ||
| 825 | |||
| 826 | # | ||
| 827 | # I2C Hardware Bus support | ||
| 828 | # | ||
| 829 | |||
| 830 | # | ||
| 831 | # PC SMBus host controller drivers | ||
| 832 | # | ||
| 833 | # CONFIG_I2C_ALI1535 is not set | ||
| 834 | # CONFIG_I2C_ALI1563 is not set | ||
| 835 | # CONFIG_I2C_ALI15X3 is not set | ||
| 836 | # CONFIG_I2C_AMD756 is not set | ||
| 837 | # CONFIG_I2C_AMD8111 is not set | ||
| 838 | # CONFIG_I2C_I801 is not set | ||
| 839 | # CONFIG_I2C_ISCH is not set | ||
| 840 | # CONFIG_I2C_PIIX4 is not set | ||
| 841 | # CONFIG_I2C_NFORCE2 is not set | ||
| 842 | # CONFIG_I2C_SIS5595 is not set | ||
| 843 | # CONFIG_I2C_SIS630 is not set | ||
| 844 | # CONFIG_I2C_SIS96X is not set | ||
| 845 | # CONFIG_I2C_VIA is not set | ||
| 846 | # CONFIG_I2C_VIAPRO is not set | ||
| 847 | |||
| 848 | # | ||
| 849 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
| 850 | # | ||
| 851 | CONFIG_I2C_MPC=y | ||
| 852 | # CONFIG_I2C_OCORES is not set | ||
| 853 | # CONFIG_I2C_SIMTEC is not set | ||
| 854 | |||
| 855 | # | ||
| 856 | # External I2C/SMBus adapter drivers | ||
| 857 | # | ||
| 858 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
| 859 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 860 | # CONFIG_I2C_TINY_USB is not set | ||
| 861 | |||
| 862 | # | ||
| 863 | # Graphics adapter I2C/DDC channel drivers | ||
| 864 | # | ||
| 865 | # CONFIG_I2C_VOODOO3 is not set | ||
| 866 | |||
| 867 | # | ||
| 868 | # Other I2C/SMBus bus drivers | ||
| 869 | # | ||
| 870 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
| 871 | # CONFIG_I2C_STUB is not set | ||
| 872 | |||
| 873 | # | ||
| 874 | # Miscellaneous I2C Chip support | ||
| 875 | # | ||
| 876 | # CONFIG_DS1682 is not set | ||
| 877 | # CONFIG_EEPROM_AT24 is not set | ||
| 878 | CONFIG_EEPROM_LEGACY=y | ||
| 879 | # CONFIG_SENSORS_PCF8574 is not set | ||
| 880 | # CONFIG_PCF8575 is not set | ||
| 881 | # CONFIG_SENSORS_PCA9539 is not set | ||
| 882 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 883 | # CONFIG_SENSORS_MAX6875 is not set | ||
| 884 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 885 | # CONFIG_I2C_DEBUG_CORE is not set | ||
| 886 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
| 887 | # CONFIG_I2C_DEBUG_BUS is not set | ||
| 888 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
| 889 | # CONFIG_SPI is not set | ||
| 890 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
| 891 | # CONFIG_GPIOLIB is not set | ||
| 892 | # CONFIG_W1 is not set | ||
| 893 | # CONFIG_POWER_SUPPLY is not set | ||
| 894 | # CONFIG_HWMON is not set | ||
| 895 | CONFIG_THERMAL=y | ||
| 896 | # CONFIG_WATCHDOG is not set | ||
| 897 | CONFIG_SSB_POSSIBLE=y | ||
| 898 | |||
| 899 | # | ||
| 900 | # Sonics Silicon Backplane | ||
| 901 | # | ||
| 902 | # CONFIG_SSB is not set | ||
| 903 | |||
| 904 | # | ||
| 905 | # Multifunction device drivers | ||
| 906 | # | ||
| 907 | # CONFIG_MFD_CORE is not set | ||
| 908 | # CONFIG_MFD_SM501 is not set | ||
| 909 | # CONFIG_HTC_PASIC3 is not set | ||
| 910 | # CONFIG_TWL4030_CORE is not set | ||
| 911 | # CONFIG_MFD_TMIO is not set | ||
| 912 | # CONFIG_PMIC_DA903X is not set | ||
| 913 | # CONFIG_MFD_WM8400 is not set | ||
| 914 | # CONFIG_MFD_WM8350_I2C is not set | ||
| 915 | # CONFIG_MFD_PCF50633 is not set | ||
| 916 | # CONFIG_REGULATOR is not set | ||
| 917 | |||
| 918 | # | ||
| 919 | # Multimedia devices | ||
| 920 | # | ||
| 921 | |||
| 922 | # | ||
| 923 | # Multimedia core support | ||
| 924 | # | ||
| 925 | # CONFIG_VIDEO_DEV is not set | ||
| 926 | CONFIG_DVB_CORE=m | ||
| 927 | CONFIG_VIDEO_MEDIA=m | ||
| 928 | |||
| 929 | # | ||
| 930 | # Multimedia drivers | ||
| 931 | # | ||
| 932 | # CONFIG_MEDIA_ATTACH is not set | ||
| 933 | CONFIG_MEDIA_TUNER=m | ||
| 934 | # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set | ||
| 935 | CONFIG_MEDIA_TUNER_SIMPLE=m | ||
| 936 | CONFIG_MEDIA_TUNER_TDA8290=m | ||
| 937 | CONFIG_MEDIA_TUNER_TDA9887=m | ||
| 938 | CONFIG_MEDIA_TUNER_TEA5761=m | ||
| 939 | CONFIG_MEDIA_TUNER_TEA5767=m | ||
| 940 | CONFIG_MEDIA_TUNER_MT20XX=m | ||
| 941 | CONFIG_MEDIA_TUNER_XC2028=m | ||
| 942 | CONFIG_MEDIA_TUNER_XC5000=m | ||
| 943 | # CONFIG_DVB_DYNAMIC_MINORS is not set | ||
| 944 | CONFIG_DVB_CAPTURE_DRIVERS=y | ||
| 945 | |||
| 946 | # | ||
| 947 | # Supported SAA7146 based PCI Adapters | ||
| 948 | # | ||
| 949 | # CONFIG_TTPCI_EEPROM is not set | ||
| 950 | # CONFIG_DVB_BUDGET_CORE is not set | ||
| 951 | |||
| 952 | # | ||
| 953 | # Supported USB Adapters | ||
| 954 | # | ||
| 955 | # CONFIG_DVB_USB is not set | ||
| 956 | # CONFIG_DVB_TTUSB_BUDGET is not set | ||
| 957 | # CONFIG_DVB_TTUSB_DEC is not set | ||
| 958 | # CONFIG_DVB_SIANO_SMS1XXX is not set | ||
| 959 | |||
| 960 | # | ||
| 961 | # Supported FlexCopII (B2C2) Adapters | ||
| 962 | # | ||
| 963 | # CONFIG_DVB_B2C2_FLEXCOP is not set | ||
| 964 | |||
| 965 | # | ||
| 966 | # Supported BT878 Adapters | ||
| 967 | # | ||
| 968 | |||
| 969 | # | ||
| 970 | # Supported Pluto2 Adapters | ||
| 971 | # | ||
| 972 | # CONFIG_DVB_PLUTO2 is not set | ||
| 973 | |||
| 974 | # | ||
| 975 | # Supported SDMC DM1105 Adapters | ||
| 976 | # | ||
| 977 | # CONFIG_DVB_DM1105 is not set | ||
| 978 | |||
| 979 | # | ||
| 980 | # Supported DVB Frontends | ||
| 981 | # | ||
| 982 | |||
| 983 | # | ||
| 984 | # Customise DVB Frontends | ||
| 985 | # | ||
| 986 | # CONFIG_DVB_FE_CUSTOMISE is not set | ||
| 987 | |||
| 988 | # | ||
| 989 | # Multistandard (satellite) frontends | ||
| 990 | # | ||
| 991 | # CONFIG_DVB_STB0899 is not set | ||
| 992 | # CONFIG_DVB_STB6100 is not set | ||
| 993 | |||
| 994 | # | ||
| 995 | # DVB-S (satellite) frontends | ||
| 996 | # | ||
| 997 | # CONFIG_DVB_CX24110 is not set | ||
| 998 | # CONFIG_DVB_CX24123 is not set | ||
| 999 | # CONFIG_DVB_MT312 is not set | ||
| 1000 | # CONFIG_DVB_S5H1420 is not set | ||
| 1001 | # CONFIG_DVB_STV0288 is not set | ||
| 1002 | # CONFIG_DVB_STB6000 is not set | ||
| 1003 | # CONFIG_DVB_STV0299 is not set | ||
| 1004 | # CONFIG_DVB_TDA8083 is not set | ||
| 1005 | # CONFIG_DVB_TDA10086 is not set | ||
| 1006 | # CONFIG_DVB_TDA8261 is not set | ||
| 1007 | # CONFIG_DVB_VES1X93 is not set | ||
| 1008 | # CONFIG_DVB_TUNER_ITD1000 is not set | ||
| 1009 | # CONFIG_DVB_TUNER_CX24113 is not set | ||
| 1010 | # CONFIG_DVB_TDA826X is not set | ||
| 1011 | # CONFIG_DVB_TUA6100 is not set | ||
| 1012 | # CONFIG_DVB_CX24116 is not set | ||
| 1013 | # CONFIG_DVB_SI21XX is not set | ||
| 1014 | |||
| 1015 | # | ||
| 1016 | # DVB-T (terrestrial) frontends | ||
| 1017 | # | ||
| 1018 | # CONFIG_DVB_SP8870 is not set | ||
| 1019 | # CONFIG_DVB_SP887X is not set | ||
| 1020 | # CONFIG_DVB_CX22700 is not set | ||
| 1021 | # CONFIG_DVB_CX22702 is not set | ||
| 1022 | # CONFIG_DVB_DRX397XD is not set | ||
| 1023 | # CONFIG_DVB_L64781 is not set | ||
| 1024 | # CONFIG_DVB_TDA1004X is not set | ||
| 1025 | # CONFIG_DVB_NXT6000 is not set | ||
| 1026 | # CONFIG_DVB_MT352 is not set | ||
| 1027 | # CONFIG_DVB_ZL10353 is not set | ||
| 1028 | # CONFIG_DVB_DIB3000MB is not set | ||
| 1029 | # CONFIG_DVB_DIB3000MC is not set | ||
| 1030 | # CONFIG_DVB_DIB7000M is not set | ||
| 1031 | # CONFIG_DVB_DIB7000P is not set | ||
| 1032 | # CONFIG_DVB_TDA10048 is not set | ||
| 1033 | |||
| 1034 | # | ||
| 1035 | # DVB-C (cable) frontends | ||
| 1036 | # | ||
| 1037 | # CONFIG_DVB_VES1820 is not set | ||
| 1038 | # CONFIG_DVB_TDA10021 is not set | ||
| 1039 | # CONFIG_DVB_TDA10023 is not set | ||
| 1040 | # CONFIG_DVB_STV0297 is not set | ||
| 1041 | |||
| 1042 | # | ||
| 1043 | # ATSC (North American/Korean Terrestrial/Cable DTV) frontends | ||
| 1044 | # | ||
| 1045 | # CONFIG_DVB_NXT200X is not set | ||
| 1046 | # CONFIG_DVB_OR51211 is not set | ||
| 1047 | # CONFIG_DVB_OR51132 is not set | ||
| 1048 | # CONFIG_DVB_BCM3510 is not set | ||
| 1049 | # CONFIG_DVB_LGDT330X is not set | ||
| 1050 | # CONFIG_DVB_LGDT3304 is not set | ||
| 1051 | # CONFIG_DVB_S5H1409 is not set | ||
| 1052 | # CONFIG_DVB_AU8522 is not set | ||
| 1053 | # CONFIG_DVB_S5H1411 is not set | ||
| 1054 | |||
| 1055 | # | ||
| 1056 | # ISDB-T (terrestrial) frontends | ||
| 1057 | # | ||
| 1058 | # CONFIG_DVB_S921 is not set | ||
| 1059 | |||
| 1060 | # | ||
| 1061 | # Digital terrestrial only tuners/PLL | ||
| 1062 | # | ||
| 1063 | # CONFIG_DVB_PLL is not set | ||
| 1064 | # CONFIG_DVB_TUNER_DIB0070 is not set | ||
| 1065 | |||
| 1066 | # | ||
| 1067 | # SEC control devices for DVB-S | ||
| 1068 | # | ||
| 1069 | # CONFIG_DVB_LNBP21 is not set | ||
| 1070 | # CONFIG_DVB_ISL6405 is not set | ||
| 1071 | # CONFIG_DVB_ISL6421 is not set | ||
| 1072 | # CONFIG_DVB_LGS8GL5 is not set | ||
| 1073 | |||
| 1074 | # | ||
| 1075 | # Tools to develop new frontends | ||
| 1076 | # | ||
| 1077 | # CONFIG_DVB_DUMMY_FE is not set | ||
| 1078 | # CONFIG_DVB_AF9013 is not set | ||
| 1079 | CONFIG_DAB=y | ||
| 1080 | # CONFIG_USB_DABUSB is not set | ||
| 1081 | |||
| 1082 | # | ||
| 1083 | # Graphics support | ||
| 1084 | # | ||
| 1085 | # CONFIG_AGP is not set | ||
| 1086 | # CONFIG_DRM is not set | ||
| 1087 | # CONFIG_VGASTATE is not set | ||
| 1088 | CONFIG_VIDEO_OUTPUT_CONTROL=y | ||
| 1089 | # CONFIG_FB is not set | ||
| 1090 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 1091 | |||
| 1092 | # | ||
| 1093 | # Display device support | ||
| 1094 | # | ||
| 1095 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 1096 | |||
| 1097 | # | ||
| 1098 | # Console display driver support | ||
| 1099 | # | ||
| 1100 | CONFIG_VGA_CONSOLE=y | ||
| 1101 | # CONFIG_VGACON_SOFT_SCROLLBACK is not set | ||
| 1102 | CONFIG_DUMMY_CONSOLE=y | ||
| 1103 | CONFIG_SOUND=y | ||
| 1104 | # CONFIG_SOUND_OSS_CORE is not set | ||
| 1105 | CONFIG_SND=y | ||
| 1106 | CONFIG_SND_TIMER=y | ||
| 1107 | CONFIG_SND_PCM=y | ||
| 1108 | # CONFIG_SND_SEQUENCER is not set | ||
| 1109 | # CONFIG_SND_MIXER_OSS is not set | ||
| 1110 | # CONFIG_SND_PCM_OSS is not set | ||
| 1111 | # CONFIG_SND_HRTIMER is not set | ||
| 1112 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
| 1113 | CONFIG_SND_SUPPORT_OLD_API=y | ||
| 1114 | CONFIG_SND_VERBOSE_PROCFS=y | ||
| 1115 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
| 1116 | # CONFIG_SND_DEBUG is not set | ||
| 1117 | CONFIG_SND_VMASTER=y | ||
| 1118 | CONFIG_SND_AC97_CODEC=y | ||
| 1119 | CONFIG_SND_DRIVERS=y | ||
| 1120 | # CONFIG_SND_DUMMY is not set | ||
| 1121 | # CONFIG_SND_MTPAV is not set | ||
| 1122 | # CONFIG_SND_SERIAL_U16550 is not set | ||
| 1123 | # CONFIG_SND_MPU401 is not set | ||
| 1124 | # CONFIG_SND_AC97_POWER_SAVE is not set | ||
| 1125 | CONFIG_SND_PCI=y | ||
| 1126 | # CONFIG_SND_AD1889 is not set | ||
| 1127 | # CONFIG_SND_ALS300 is not set | ||
| 1128 | # CONFIG_SND_ALS4000 is not set | ||
| 1129 | # CONFIG_SND_ALI5451 is not set | ||
| 1130 | # CONFIG_SND_ATIIXP is not set | ||
| 1131 | # CONFIG_SND_ATIIXP_MODEM is not set | ||
| 1132 | # CONFIG_SND_AU8810 is not set | ||
| 1133 | # CONFIG_SND_AU8820 is not set | ||
| 1134 | # CONFIG_SND_AU8830 is not set | ||
| 1135 | # CONFIG_SND_AW2 is not set | ||
| 1136 | # CONFIG_SND_AZT3328 is not set | ||
| 1137 | # CONFIG_SND_BT87X is not set | ||
| 1138 | # CONFIG_SND_CA0106 is not set | ||
| 1139 | # CONFIG_SND_CMIPCI is not set | ||
| 1140 | # CONFIG_SND_OXYGEN is not set | ||
| 1141 | # CONFIG_SND_CS4281 is not set | ||
| 1142 | # CONFIG_SND_CS46XX is not set | ||
| 1143 | # CONFIG_SND_CS5530 is not set | ||
| 1144 | # CONFIG_SND_DARLA20 is not set | ||
| 1145 | # CONFIG_SND_GINA20 is not set | ||
| 1146 | # CONFIG_SND_LAYLA20 is not set | ||
| 1147 | # CONFIG_SND_DARLA24 is not set | ||
| 1148 | # CONFIG_SND_GINA24 is not set | ||
| 1149 | # CONFIG_SND_LAYLA24 is not set | ||
| 1150 | # CONFIG_SND_MONA is not set | ||
| 1151 | # CONFIG_SND_MIA is not set | ||
| 1152 | # CONFIG_SND_ECHO3G is not set | ||
| 1153 | # CONFIG_SND_INDIGO is not set | ||
| 1154 | # CONFIG_SND_INDIGOIO is not set | ||
| 1155 | # CONFIG_SND_INDIGODJ is not set | ||
| 1156 | # CONFIG_SND_EMU10K1 is not set | ||
| 1157 | # CONFIG_SND_EMU10K1X is not set | ||
| 1158 | # CONFIG_SND_ENS1370 is not set | ||
| 1159 | # CONFIG_SND_ENS1371 is not set | ||
| 1160 | # CONFIG_SND_ES1938 is not set | ||
| 1161 | # CONFIG_SND_ES1968 is not set | ||
| 1162 | # CONFIG_SND_FM801 is not set | ||
| 1163 | # CONFIG_SND_HDA_INTEL is not set | ||
| 1164 | # CONFIG_SND_HDSP is not set | ||
| 1165 | # CONFIG_SND_HDSPM is not set | ||
| 1166 | # CONFIG_SND_HIFIER is not set | ||
| 1167 | # CONFIG_SND_ICE1712 is not set | ||
| 1168 | # CONFIG_SND_ICE1724 is not set | ||
| 1169 | CONFIG_SND_INTEL8X0=y | ||
| 1170 | # CONFIG_SND_INTEL8X0M is not set | ||
| 1171 | # CONFIG_SND_KORG1212 is not set | ||
| 1172 | # CONFIG_SND_MAESTRO3 is not set | ||
| 1173 | # CONFIG_SND_MIXART is not set | ||
| 1174 | # CONFIG_SND_NM256 is not set | ||
| 1175 | # CONFIG_SND_PCXHR is not set | ||
| 1176 | # CONFIG_SND_RIPTIDE is not set | ||
| 1177 | # CONFIG_SND_RME32 is not set | ||
| 1178 | # CONFIG_SND_RME96 is not set | ||
| 1179 | # CONFIG_SND_RME9652 is not set | ||
| 1180 | # CONFIG_SND_SONICVIBES is not set | ||
| 1181 | # CONFIG_SND_TRIDENT is not set | ||
| 1182 | # CONFIG_SND_VIA82XX is not set | ||
| 1183 | # CONFIG_SND_VIA82XX_MODEM is not set | ||
| 1184 | # CONFIG_SND_VIRTUOSO is not set | ||
| 1185 | # CONFIG_SND_VX222 is not set | ||
| 1186 | # CONFIG_SND_YMFPCI is not set | ||
| 1187 | CONFIG_SND_PPC=y | ||
| 1188 | CONFIG_SND_USB=y | ||
| 1189 | # CONFIG_SND_USB_AUDIO is not set | ||
| 1190 | # CONFIG_SND_USB_USX2Y is not set | ||
| 1191 | # CONFIG_SND_USB_CAIAQ is not set | ||
| 1192 | # CONFIG_SND_SOC is not set | ||
| 1193 | # CONFIG_SOUND_PRIME is not set | ||
| 1194 | CONFIG_AC97_BUS=y | ||
| 1195 | CONFIG_HID_SUPPORT=y | ||
| 1196 | CONFIG_HID=y | ||
| 1197 | # CONFIG_HID_DEBUG is not set | ||
| 1198 | # CONFIG_HIDRAW is not set | ||
| 1199 | |||
| 1200 | # | ||
| 1201 | # USB Input Devices | ||
| 1202 | # | ||
| 1203 | CONFIG_USB_HID=y | ||
| 1204 | # CONFIG_HID_PID is not set | ||
| 1205 | # CONFIG_USB_HIDDEV is not set | ||
| 1206 | |||
| 1207 | # | ||
| 1208 | # Special HID drivers | ||
| 1209 | # | ||
| 1210 | CONFIG_HID_COMPAT=y | ||
| 1211 | CONFIG_HID_A4TECH=y | ||
| 1212 | CONFIG_HID_APPLE=y | ||
| 1213 | CONFIG_HID_BELKIN=y | ||
| 1214 | CONFIG_HID_CHERRY=y | ||
| 1215 | CONFIG_HID_CHICONY=y | ||
| 1216 | CONFIG_HID_CYPRESS=y | ||
| 1217 | CONFIG_HID_EZKEY=y | ||
| 1218 | CONFIG_HID_GYRATION=y | ||
| 1219 | CONFIG_HID_LOGITECH=y | ||
| 1220 | # CONFIG_LOGITECH_FF is not set | ||
| 1221 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
| 1222 | CONFIG_HID_MICROSOFT=y | ||
| 1223 | CONFIG_HID_MONTEREY=y | ||
| 1224 | # CONFIG_HID_NTRIG is not set | ||
| 1225 | CONFIG_HID_PANTHERLORD=y | ||
| 1226 | # CONFIG_PANTHERLORD_FF is not set | ||
| 1227 | CONFIG_HID_PETALYNX=y | ||
| 1228 | CONFIG_HID_SAMSUNG=y | ||
| 1229 | CONFIG_HID_SONY=y | ||
| 1230 | CONFIG_HID_SUNPLUS=y | ||
| 1231 | # CONFIG_GREENASIA_FF is not set | ||
| 1232 | # CONFIG_HID_TOPSEED is not set | ||
| 1233 | CONFIG_THRUSTMASTER_FF=m | ||
| 1234 | CONFIG_ZEROPLUS_FF=m | ||
| 1235 | CONFIG_USB_SUPPORT=y | ||
| 1236 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 1237 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 1238 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 1239 | CONFIG_USB=y | ||
| 1240 | # CONFIG_USB_DEBUG is not set | ||
| 1241 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
| 1242 | |||
| 1243 | # | ||
| 1244 | # Miscellaneous USB options | ||
| 1245 | # | ||
| 1246 | CONFIG_USB_DEVICEFS=y | ||
| 1247 | CONFIG_USB_DEVICE_CLASS=y | ||
| 1248 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
| 1249 | # CONFIG_USB_OTG is not set | ||
| 1250 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 1251 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 1252 | CONFIG_USB_MON=y | ||
| 1253 | # CONFIG_USB_WUSB is not set | ||
| 1254 | # CONFIG_USB_WUSB_CBAF is not set | ||
| 1255 | |||
| 1256 | # | ||
| 1257 | # USB Host Controller Drivers | ||
| 1258 | # | ||
| 1259 | # CONFIG_USB_C67X00_HCD is not set | ||
| 1260 | CONFIG_USB_EHCI_HCD=y | ||
| 1261 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
| 1262 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
| 1263 | CONFIG_USB_EHCI_FSL=y | ||
| 1264 | CONFIG_USB_EHCI_HCD_PPC_OF=y | ||
| 1265 | # CONFIG_USB_OXU210HP_HCD is not set | ||
| 1266 | # CONFIG_USB_ISP116X_HCD is not set | ||
| 1267 | # CONFIG_USB_ISP1760_HCD is not set | ||
| 1268 | CONFIG_USB_OHCI_HCD=y | ||
| 1269 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
| 1270 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | ||
| 1271 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | ||
| 1272 | CONFIG_USB_OHCI_HCD_PCI=y | ||
| 1273 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | ||
| 1274 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | ||
| 1275 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
| 1276 | # CONFIG_USB_UHCI_HCD is not set | ||
| 1277 | # CONFIG_USB_SL811_HCD is not set | ||
| 1278 | # CONFIG_USB_R8A66597_HCD is not set | ||
| 1279 | # CONFIG_USB_WHCI_HCD is not set | ||
| 1280 | # CONFIG_USB_HWA_HCD is not set | ||
| 1281 | |||
| 1282 | # | ||
| 1283 | # USB Device Class drivers | ||
| 1284 | # | ||
| 1285 | # CONFIG_USB_ACM is not set | ||
| 1286 | # CONFIG_USB_PRINTER is not set | ||
| 1287 | # CONFIG_USB_WDM is not set | ||
| 1288 | # CONFIG_USB_TMC is not set | ||
| 1289 | |||
| 1290 | # | ||
| 1291 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | ||
| 1292 | # | ||
| 1293 | |||
| 1294 | # | ||
| 1295 | # see USB_STORAGE Help for more information | ||
| 1296 | # | ||
| 1297 | CONFIG_USB_STORAGE=y | ||
| 1298 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
| 1299 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
| 1300 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
| 1301 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
| 1302 | # CONFIG_USB_STORAGE_USBAT is not set | ||
| 1303 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
| 1304 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
| 1305 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
| 1306 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
| 1307 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
| 1308 | # CONFIG_USB_STORAGE_KARMA is not set | ||
| 1309 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
| 1310 | # CONFIG_USB_LIBUSUAL is not set | ||
| 1311 | |||
| 1312 | # | ||
| 1313 | # USB Imaging devices | ||
| 1314 | # | ||
| 1315 | # CONFIG_USB_MDC800 is not set | ||
| 1316 | # CONFIG_USB_MICROTEK is not set | ||
| 1317 | |||
| 1318 | # | ||
| 1319 | # USB port drivers | ||
| 1320 | # | ||
| 1321 | # CONFIG_USB_SERIAL is not set | ||
| 1322 | |||
| 1323 | # | ||
| 1324 | # USB Miscellaneous drivers | ||
| 1325 | # | ||
| 1326 | # CONFIG_USB_EMI62 is not set | ||
| 1327 | # CONFIG_USB_EMI26 is not set | ||
| 1328 | # CONFIG_USB_ADUTUX is not set | ||
| 1329 | # CONFIG_USB_SEVSEG is not set | ||
| 1330 | # CONFIG_USB_RIO500 is not set | ||
| 1331 | # CONFIG_USB_LEGOTOWER is not set | ||
| 1332 | # CONFIG_USB_LCD is not set | ||
| 1333 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 1334 | # CONFIG_USB_LED is not set | ||
| 1335 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
| 1336 | # CONFIG_USB_CYTHERM is not set | ||
| 1337 | # CONFIG_USB_PHIDGET is not set | ||
| 1338 | # CONFIG_USB_IDMOUSE is not set | ||
| 1339 | # CONFIG_USB_FTDI_ELAN is not set | ||
| 1340 | # CONFIG_USB_APPLEDISPLAY is not set | ||
| 1341 | # CONFIG_USB_SISUSBVGA is not set | ||
| 1342 | # CONFIG_USB_LD is not set | ||
| 1343 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
| 1344 | # CONFIG_USB_IOWARRIOR is not set | ||
| 1345 | # CONFIG_USB_TEST is not set | ||
| 1346 | # CONFIG_USB_ISIGHTFW is not set | ||
| 1347 | # CONFIG_USB_VST is not set | ||
| 1348 | # CONFIG_USB_GADGET is not set | ||
| 1349 | |||
| 1350 | # | ||
| 1351 | # OTG and related infrastructure | ||
| 1352 | # | ||
| 1353 | # CONFIG_UWB is not set | ||
| 1354 | # CONFIG_MMC is not set | ||
| 1355 | # CONFIG_MEMSTICK is not set | ||
| 1356 | # CONFIG_NEW_LEDS is not set | ||
| 1357 | # CONFIG_ACCESSIBILITY is not set | ||
| 1358 | # CONFIG_INFINIBAND is not set | ||
| 1359 | # CONFIG_EDAC is not set | ||
| 1360 | CONFIG_RTC_LIB=y | ||
| 1361 | CONFIG_RTC_CLASS=y | ||
| 1362 | CONFIG_RTC_HCTOSYS=y | ||
| 1363 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
| 1364 | # CONFIG_RTC_DEBUG is not set | ||
| 1365 | |||
| 1366 | # | ||
| 1367 | # RTC interfaces | ||
| 1368 | # | ||
| 1369 | CONFIG_RTC_INTF_SYSFS=y | ||
| 1370 | CONFIG_RTC_INTF_PROC=y | ||
| 1371 | CONFIG_RTC_INTF_DEV=y | ||
| 1372 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 1373 | # CONFIG_RTC_DRV_TEST is not set | ||
| 1374 | |||
| 1375 | # | ||
| 1376 | # I2C RTC drivers | ||
| 1377 | # | ||
| 1378 | # CONFIG_RTC_DRV_DS1307 is not set | ||
| 1379 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 1380 | # CONFIG_RTC_DRV_DS1672 is not set | ||
| 1381 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
| 1382 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
| 1383 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
| 1384 | # CONFIG_RTC_DRV_X1205 is not set | ||
| 1385 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
| 1386 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
| 1387 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 1388 | # CONFIG_RTC_DRV_S35390A is not set | ||
| 1389 | # CONFIG_RTC_DRV_FM3130 is not set | ||
| 1390 | # CONFIG_RTC_DRV_RX8581 is not set | ||
| 1391 | |||
| 1392 | # | ||
| 1393 | # SPI RTC drivers | ||
| 1394 | # | ||
| 1395 | |||
| 1396 | # | ||
| 1397 | # Platform RTC drivers | ||
| 1398 | # | ||
| 1399 | CONFIG_RTC_DRV_CMOS=y | ||
| 1400 | # CONFIG_RTC_DRV_DS1286 is not set | ||
| 1401 | # CONFIG_RTC_DRV_DS1511 is not set | ||
| 1402 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 1403 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 1404 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 1405 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 1406 | # CONFIG_RTC_DRV_M48T35 is not set | ||
| 1407 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1408 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
| 1409 | # CONFIG_RTC_DRV_V3020 is not set | ||
| 1410 | |||
| 1411 | # | ||
| 1412 | # on-CPU RTC drivers | ||
| 1413 | # | ||
| 1414 | # CONFIG_RTC_DRV_PPC is not set | ||
| 1415 | CONFIG_DMADEVICES=y | ||
| 1416 | |||
| 1417 | # | ||
| 1418 | # DMA Devices | ||
| 1419 | # | ||
| 1420 | CONFIG_FSL_DMA=y | ||
| 1421 | CONFIG_DMA_ENGINE=y | ||
| 1422 | |||
| 1423 | # | ||
| 1424 | # DMA Clients | ||
| 1425 | # | ||
| 1426 | # CONFIG_NET_DMA is not set | ||
| 1427 | # CONFIG_DMATEST is not set | ||
| 1428 | # CONFIG_UIO is not set | ||
| 1429 | # CONFIG_STAGING is not set | ||
| 1430 | |||
| 1431 | # | ||
| 1432 | # File systems | ||
| 1433 | # | ||
| 1434 | CONFIG_EXT2_FS=y | ||
| 1435 | # CONFIG_EXT2_FS_XATTR is not set | ||
| 1436 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1437 | CONFIG_EXT3_FS=y | ||
| 1438 | CONFIG_EXT3_FS_XATTR=y | ||
| 1439 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1440 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1441 | # CONFIG_EXT4_FS is not set | ||
| 1442 | CONFIG_JBD=y | ||
| 1443 | # CONFIG_JBD_DEBUG is not set | ||
| 1444 | CONFIG_FS_MBCACHE=y | ||
| 1445 | # CONFIG_REISERFS_FS is not set | ||
| 1446 | # CONFIG_JFS_FS is not set | ||
| 1447 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1448 | CONFIG_FILE_LOCKING=y | ||
| 1449 | # CONFIG_XFS_FS is not set | ||
| 1450 | # CONFIG_GFS2_FS is not set | ||
| 1451 | # CONFIG_OCFS2_FS is not set | ||
| 1452 | # CONFIG_BTRFS_FS is not set | ||
| 1453 | CONFIG_DNOTIFY=y | ||
| 1454 | CONFIG_INOTIFY=y | ||
| 1455 | CONFIG_INOTIFY_USER=y | ||
| 1456 | # CONFIG_QUOTA is not set | ||
| 1457 | # CONFIG_AUTOFS_FS is not set | ||
| 1458 | # CONFIG_AUTOFS4_FS is not set | ||
| 1459 | # CONFIG_FUSE_FS is not set | ||
| 1460 | |||
| 1461 | # | ||
| 1462 | # CD-ROM/DVD Filesystems | ||
| 1463 | # | ||
| 1464 | CONFIG_ISO9660_FS=m | ||
| 1465 | CONFIG_JOLIET=y | ||
| 1466 | CONFIG_ZISOFS=y | ||
| 1467 | CONFIG_UDF_FS=m | ||
| 1468 | CONFIG_UDF_NLS=y | ||
| 1469 | |||
| 1470 | # | ||
| 1471 | # DOS/FAT/NT Filesystems | ||
| 1472 | # | ||
| 1473 | CONFIG_FAT_FS=y | ||
| 1474 | CONFIG_MSDOS_FS=m | ||
| 1475 | CONFIG_VFAT_FS=y | ||
| 1476 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
| 1477 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
| 1478 | CONFIG_NTFS_FS=y | ||
| 1479 | # CONFIG_NTFS_DEBUG is not set | ||
| 1480 | # CONFIG_NTFS_RW is not set | ||
| 1481 | |||
| 1482 | # | ||
| 1483 | # Pseudo filesystems | ||
| 1484 | # | ||
| 1485 | CONFIG_PROC_FS=y | ||
| 1486 | CONFIG_PROC_KCORE=y | ||
| 1487 | CONFIG_PROC_SYSCTL=y | ||
| 1488 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 1489 | CONFIG_SYSFS=y | ||
| 1490 | CONFIG_TMPFS=y | ||
| 1491 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 1492 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1493 | # CONFIG_CONFIGFS_FS is not set | ||
| 1494 | CONFIG_MISC_FILESYSTEMS=y | ||
| 1495 | CONFIG_ADFS_FS=m | ||
| 1496 | # CONFIG_ADFS_FS_RW is not set | ||
| 1497 | CONFIG_AFFS_FS=m | ||
| 1498 | CONFIG_HFS_FS=m | ||
| 1499 | CONFIG_HFSPLUS_FS=m | ||
| 1500 | CONFIG_BEFS_FS=m | ||
| 1501 | # CONFIG_BEFS_DEBUG is not set | ||
| 1502 | CONFIG_BFS_FS=m | ||
| 1503 | CONFIG_EFS_FS=m | ||
| 1504 | CONFIG_CRAMFS=y | ||
| 1505 | # CONFIG_SQUASHFS is not set | ||
| 1506 | CONFIG_VXFS_FS=m | ||
| 1507 | # CONFIG_MINIX_FS is not set | ||
| 1508 | # CONFIG_OMFS_FS is not set | ||
| 1509 | CONFIG_HPFS_FS=m | ||
| 1510 | CONFIG_QNX4FS_FS=m | ||
| 1511 | # CONFIG_ROMFS_FS is not set | ||
| 1512 | CONFIG_SYSV_FS=m | ||
| 1513 | CONFIG_UFS_FS=m | ||
| 1514 | # CONFIG_UFS_FS_WRITE is not set | ||
| 1515 | # CONFIG_UFS_DEBUG is not set | ||
| 1516 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 1517 | CONFIG_NFS_FS=y | ||
| 1518 | CONFIG_NFS_V3=y | ||
| 1519 | # CONFIG_NFS_V3_ACL is not set | ||
| 1520 | CONFIG_NFS_V4=y | ||
| 1521 | CONFIG_ROOT_NFS=y | ||
| 1522 | CONFIG_NFSD=y | ||
| 1523 | # CONFIG_NFSD_V3 is not set | ||
| 1524 | # CONFIG_NFSD_V4 is not set | ||
| 1525 | CONFIG_LOCKD=y | ||
| 1526 | CONFIG_LOCKD_V4=y | ||
| 1527 | CONFIG_EXPORTFS=y | ||
| 1528 | CONFIG_NFS_COMMON=y | ||
| 1529 | CONFIG_SUNRPC=y | ||
| 1530 | CONFIG_SUNRPC_GSS=y | ||
| 1531 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1532 | CONFIG_RPCSEC_GSS_KRB5=y | ||
| 1533 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1534 | # CONFIG_SMB_FS is not set | ||
| 1535 | # CONFIG_CIFS is not set | ||
| 1536 | # CONFIG_NCP_FS is not set | ||
| 1537 | # CONFIG_CODA_FS is not set | ||
| 1538 | # CONFIG_AFS_FS is not set | ||
| 1539 | |||
| 1540 | # | ||
| 1541 | # Partition Types | ||
| 1542 | # | ||
| 1543 | CONFIG_PARTITION_ADVANCED=y | ||
| 1544 | # CONFIG_ACORN_PARTITION is not set | ||
| 1545 | # CONFIG_OSF_PARTITION is not set | ||
| 1546 | # CONFIG_AMIGA_PARTITION is not set | ||
| 1547 | # CONFIG_ATARI_PARTITION is not set | ||
| 1548 | CONFIG_MAC_PARTITION=y | ||
| 1549 | CONFIG_MSDOS_PARTITION=y | ||
| 1550 | # CONFIG_BSD_DISKLABEL is not set | ||
| 1551 | # CONFIG_MINIX_SUBPARTITION is not set | ||
| 1552 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
| 1553 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
| 1554 | # CONFIG_LDM_PARTITION is not set | ||
| 1555 | # CONFIG_SGI_PARTITION is not set | ||
| 1556 | # CONFIG_ULTRIX_PARTITION is not set | ||
| 1557 | # CONFIG_SUN_PARTITION is not set | ||
| 1558 | # CONFIG_KARMA_PARTITION is not set | ||
| 1559 | # CONFIG_EFI_PARTITION is not set | ||
| 1560 | # CONFIG_SYSV68_PARTITION is not set | ||
| 1561 | CONFIG_NLS=y | ||
| 1562 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
| 1563 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
| 1564 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
| 1565 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
| 1566 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
| 1567 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
| 1568 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
| 1569 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
| 1570 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
| 1571 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
| 1572 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
| 1573 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
| 1574 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
| 1575 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
| 1576 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
| 1577 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
| 1578 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
| 1579 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
| 1580 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
| 1581 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
| 1582 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
| 1583 | # CONFIG_NLS_ISO8859_8 is not set | ||
| 1584 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
| 1585 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
| 1586 | # CONFIG_NLS_ASCII is not set | ||
| 1587 | # CONFIG_NLS_ISO8859_1 is not set | ||
| 1588 | # CONFIG_NLS_ISO8859_2 is not set | ||
| 1589 | # CONFIG_NLS_ISO8859_3 is not set | ||
| 1590 | # CONFIG_NLS_ISO8859_4 is not set | ||
| 1591 | # CONFIG_NLS_ISO8859_5 is not set | ||
| 1592 | # CONFIG_NLS_ISO8859_6 is not set | ||
| 1593 | # CONFIG_NLS_ISO8859_7 is not set | ||
| 1594 | # CONFIG_NLS_ISO8859_9 is not set | ||
| 1595 | # CONFIG_NLS_ISO8859_13 is not set | ||
| 1596 | # CONFIG_NLS_ISO8859_14 is not set | ||
| 1597 | # CONFIG_NLS_ISO8859_15 is not set | ||
| 1598 | # CONFIG_NLS_KOI8_R is not set | ||
| 1599 | # CONFIG_NLS_KOI8_U is not set | ||
| 1600 | CONFIG_NLS_UTF8=m | ||
| 1601 | # CONFIG_DLM is not set | ||
| 1602 | |||
| 1603 | # | ||
| 1604 | # Library routines | ||
| 1605 | # | ||
| 1606 | CONFIG_BITREVERSE=y | ||
| 1607 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
| 1608 | # CONFIG_CRC_CCITT is not set | ||
| 1609 | # CONFIG_CRC16 is not set | ||
| 1610 | CONFIG_CRC_T10DIF=y | ||
| 1611 | CONFIG_CRC_ITU_T=m | ||
| 1612 | CONFIG_CRC32=y | ||
| 1613 | # CONFIG_CRC7 is not set | ||
| 1614 | CONFIG_LIBCRC32C=m | ||
| 1615 | CONFIG_ZLIB_INFLATE=y | ||
| 1616 | CONFIG_PLIST=y | ||
| 1617 | CONFIG_HAS_IOMEM=y | ||
| 1618 | CONFIG_HAS_IOPORT=y | ||
| 1619 | CONFIG_HAS_DMA=y | ||
| 1620 | CONFIG_HAVE_LMB=y | ||
| 1621 | |||
| 1622 | # | ||
| 1623 | # Kernel hacking | ||
| 1624 | # | ||
| 1625 | # CONFIG_PRINTK_TIME is not set | ||
| 1626 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1627 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1628 | CONFIG_FRAME_WARN=1024 | ||
| 1629 | # CONFIG_MAGIC_SYSRQ is not set | ||
| 1630 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1631 | CONFIG_DEBUG_FS=y | ||
| 1632 | # CONFIG_HEADERS_CHECK is not set | ||
| 1633 | CONFIG_DEBUG_KERNEL=y | ||
| 1634 | # CONFIG_DEBUG_SHIRQ is not set | ||
| 1635 | CONFIG_DETECT_SOFTLOCKUP=y | ||
| 1636 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
| 1637 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
| 1638 | CONFIG_SCHED_DEBUG=y | ||
| 1639 | # CONFIG_SCHEDSTATS is not set | ||
| 1640 | # CONFIG_TIMER_STATS is not set | ||
| 1641 | # CONFIG_DEBUG_OBJECTS is not set | ||
| 1642 | # CONFIG_SLUB_DEBUG_ON is not set | ||
| 1643 | # CONFIG_SLUB_STATS is not set | ||
| 1644 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 1645 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 1646 | # CONFIG_DEBUG_SPINLOCK is not set | ||
| 1647 | # CONFIG_DEBUG_MUTEXES is not set | ||
| 1648 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
| 1649 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
| 1650 | # CONFIG_DEBUG_KOBJECT is not set | ||
| 1651 | # CONFIG_DEBUG_HIGHMEM is not set | ||
| 1652 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 1653 | CONFIG_DEBUG_INFO=y | ||
| 1654 | # CONFIG_DEBUG_VM is not set | ||
| 1655 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
| 1656 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
| 1657 | # CONFIG_DEBUG_LIST is not set | ||
| 1658 | # CONFIG_DEBUG_SG is not set | ||
| 1659 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
| 1660 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
| 1661 | # CONFIG_RCU_TORTURE_TEST is not set | ||
| 1662 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
| 1663 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
| 1664 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
| 1665 | # CONFIG_FAULT_INJECTION is not set | ||
| 1666 | # CONFIG_LATENCYTOP is not set | ||
| 1667 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 1668 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
| 1669 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
| 1670 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
| 1671 | |||
| 1672 | # | ||
| 1673 | # Tracers | ||
| 1674 | # | ||
| 1675 | # CONFIG_FUNCTION_TRACER is not set | ||
| 1676 | # CONFIG_SCHED_TRACER is not set | ||
| 1677 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1678 | # CONFIG_BOOT_TRACER is not set | ||
| 1679 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
| 1680 | # CONFIG_STACK_TRACER is not set | ||
| 1681 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
| 1682 | # CONFIG_SAMPLES is not set | ||
| 1683 | CONFIG_HAVE_ARCH_KGDB=y | ||
| 1684 | # CONFIG_KGDB is not set | ||
| 1685 | CONFIG_PRINT_STACK_DEPTH=64 | ||
| 1686 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
| 1687 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
| 1688 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1689 | # CONFIG_CODE_PATCHING_SELFTEST is not set | ||
| 1690 | # CONFIG_FTR_FIXUP_SELFTEST is not set | ||
| 1691 | # CONFIG_MSI_BITMAP_SELFTEST is not set | ||
| 1692 | # CONFIG_XMON is not set | ||
| 1693 | # CONFIG_IRQSTACKS is not set | ||
| 1694 | # CONFIG_VIRQ_DEBUG is not set | ||
| 1695 | # CONFIG_BDI_SWITCH is not set | ||
| 1696 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
| 1697 | |||
| 1698 | # | ||
| 1699 | # Security options | ||
| 1700 | # | ||
| 1701 | # CONFIG_KEYS is not set | ||
| 1702 | # CONFIG_SECURITY is not set | ||
| 1703 | # CONFIG_SECURITYFS is not set | ||
| 1704 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
| 1705 | CONFIG_CRYPTO=y | ||
| 1706 | |||
| 1707 | # | ||
| 1708 | # Crypto core or helper | ||
| 1709 | # | ||
| 1710 | # CONFIG_CRYPTO_FIPS is not set | ||
| 1711 | CONFIG_CRYPTO_ALGAPI=y | ||
| 1712 | CONFIG_CRYPTO_ALGAPI2=y | ||
| 1713 | CONFIG_CRYPTO_AEAD=y | ||
| 1714 | CONFIG_CRYPTO_AEAD2=y | ||
| 1715 | CONFIG_CRYPTO_BLKCIPHER=y | ||
| 1716 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
| 1717 | CONFIG_CRYPTO_HASH=y | ||
| 1718 | CONFIG_CRYPTO_HASH2=y | ||
| 1719 | CONFIG_CRYPTO_RNG2=y | ||
| 1720 | CONFIG_CRYPTO_MANAGER=y | ||
| 1721 | CONFIG_CRYPTO_MANAGER2=y | ||
| 1722 | # CONFIG_CRYPTO_GF128MUL is not set | ||
| 1723 | # CONFIG_CRYPTO_NULL is not set | ||
| 1724 | # CONFIG_CRYPTO_CRYPTD is not set | ||
| 1725 | CONFIG_CRYPTO_AUTHENC=y | ||
| 1726 | # CONFIG_CRYPTO_TEST is not set | ||
| 1727 | |||
| 1728 | # | ||
| 1729 | # Authenticated Encryption with Associated Data | ||
| 1730 | # | ||
| 1731 | # CONFIG_CRYPTO_CCM is not set | ||
| 1732 | # CONFIG_CRYPTO_GCM is not set | ||
| 1733 | # CONFIG_CRYPTO_SEQIV is not set | ||
| 1734 | |||
| 1735 | # | ||
| 1736 | # Block modes | ||
| 1737 | # | ||
| 1738 | CONFIG_CRYPTO_CBC=y | ||
| 1739 | # CONFIG_CRYPTO_CTR is not set | ||
| 1740 | # CONFIG_CRYPTO_CTS is not set | ||
| 1741 | # CONFIG_CRYPTO_ECB is not set | ||
| 1742 | # CONFIG_CRYPTO_LRW is not set | ||
| 1743 | CONFIG_CRYPTO_PCBC=m | ||
| 1744 | # CONFIG_CRYPTO_XTS is not set | ||
| 1745 | |||
| 1746 | # | ||
| 1747 | # Hash modes | ||
| 1748 | # | ||
| 1749 | CONFIG_CRYPTO_HMAC=y | ||
| 1750 | # CONFIG_CRYPTO_XCBC is not set | ||
| 1751 | |||
| 1752 | # | ||
| 1753 | # Digest | ||
| 1754 | # | ||
| 1755 | CONFIG_CRYPTO_CRC32C=m | ||
| 1756 | # CONFIG_CRYPTO_MD4 is not set | ||
| 1757 | CONFIG_CRYPTO_MD5=y | ||
| 1758 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
| 1759 | # CONFIG_CRYPTO_RMD128 is not set | ||
| 1760 | # CONFIG_CRYPTO_RMD160 is not set | ||
| 1761 | # CONFIG_CRYPTO_RMD256 is not set | ||
| 1762 | # CONFIG_CRYPTO_RMD320 is not set | ||
| 1763 | CONFIG_CRYPTO_SHA1=m | ||
| 1764 | # CONFIG_CRYPTO_SHA256 is not set | ||
| 1765 | # CONFIG_CRYPTO_SHA512 is not set | ||
| 1766 | # CONFIG_CRYPTO_TGR192 is not set | ||
| 1767 | # CONFIG_CRYPTO_WP512 is not set | ||
| 1768 | |||
| 1769 | # | ||
| 1770 | # Ciphers | ||
| 1771 | # | ||
| 1772 | # CONFIG_CRYPTO_AES is not set | ||
| 1773 | # CONFIG_CRYPTO_ANUBIS is not set | ||
| 1774 | # CONFIG_CRYPTO_ARC4 is not set | ||
| 1775 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
| 1776 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
| 1777 | # CONFIG_CRYPTO_CAST5 is not set | ||
| 1778 | # CONFIG_CRYPTO_CAST6 is not set | ||
| 1779 | CONFIG_CRYPTO_DES=y | ||
| 1780 | # CONFIG_CRYPTO_FCRYPT is not set | ||
| 1781 | # CONFIG_CRYPTO_KHAZAD is not set | ||
| 1782 | # CONFIG_CRYPTO_SALSA20 is not set | ||
| 1783 | # CONFIG_CRYPTO_SEED is not set | ||
| 1784 | # CONFIG_CRYPTO_SERPENT is not set | ||
| 1785 | # CONFIG_CRYPTO_TEA is not set | ||
| 1786 | # CONFIG_CRYPTO_TWOFISH is not set | ||
| 1787 | |||
| 1788 | # | ||
| 1789 | # Compression | ||
| 1790 | # | ||
| 1791 | # CONFIG_CRYPTO_DEFLATE is not set | ||
| 1792 | # CONFIG_CRYPTO_LZO is not set | ||
| 1793 | |||
| 1794 | # | ||
| 1795 | # Random Number Generation | ||
| 1796 | # | ||
| 1797 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
| 1798 | CONFIG_CRYPTO_HW=y | ||
| 1799 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
| 1800 | CONFIG_CRYPTO_DEV_TALITOS=y | ||
| 1801 | # CONFIG_PPC_CLOCK is not set | ||
| 1802 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/configs/85xx/mpc8544_ds_defconfig b/arch/powerpc/configs/85xx/mpc8544_ds_defconfig deleted file mode 100644 index f6fa0b761cb3..000000000000 --- a/arch/powerpc/configs/85xx/mpc8544_ds_defconfig +++ /dev/null | |||
| @@ -1,1802 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.29-rc2 | ||
| 4 | # Mon Jan 26 15:36:07 2009 | ||
| 5 | # | ||
| 6 | # CONFIG_PPC64 is not set | ||
| 7 | |||
| 8 | # | ||
| 9 | # Processor support | ||
| 10 | # | ||
| 11 | # CONFIG_6xx is not set | ||
| 12 | CONFIG_PPC_85xx=y | ||
| 13 | # CONFIG_PPC_8xx is not set | ||
| 14 | # CONFIG_40x is not set | ||
| 15 | # CONFIG_44x is not set | ||
| 16 | # CONFIG_E200 is not set | ||
| 17 | CONFIG_E500=y | ||
| 18 | # CONFIG_PPC_E500MC is not set | ||
| 19 | CONFIG_BOOKE=y | ||
| 20 | CONFIG_FSL_BOOKE=y | ||
| 21 | CONFIG_FSL_EMB_PERFMON=y | ||
| 22 | # CONFIG_PHYS_64BIT is not set | ||
| 23 | CONFIG_SPE=y | ||
| 24 | CONFIG_PPC_MMU_NOHASH=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | ||
| 26 | # CONFIG_SMP is not set | ||
| 27 | CONFIG_PPC32=y | ||
| 28 | CONFIG_WORD_SIZE=32 | ||
| 29 | # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set | ||
| 30 | CONFIG_MMU=y | ||
| 31 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
| 32 | CONFIG_GENERIC_TIME=y | ||
| 33 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
| 34 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 35 | CONFIG_GENERIC_HARDIRQS=y | ||
| 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
| 37 | CONFIG_IRQ_PER_CPU=y | ||
| 38 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
| 40 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 41 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
| 42 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
| 43 | CONFIG_GENERIC_HWEIGHT=y | ||
| 44 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 45 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
| 46 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
| 47 | CONFIG_PPC=y | ||
| 48 | CONFIG_EARLY_PRINTK=y | ||
| 49 | CONFIG_GENERIC_NVRAM=y | ||
| 50 | CONFIG_SCHED_OMIT_FRAME_POINTER=y | ||
| 51 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
| 52 | CONFIG_PPC_OF=y | ||
| 53 | CONFIG_OF=y | ||
| 54 | CONFIG_PPC_UDBG_16550=y | ||
| 55 | # CONFIG_GENERIC_TBSYNC is not set | ||
| 56 | CONFIG_AUDIT_ARCH=y | ||
| 57 | CONFIG_GENERIC_BUG=y | ||
| 58 | CONFIG_DEFAULT_UIMAGE=y | ||
| 59 | # CONFIG_PPC_DCR_NATIVE is not set | ||
| 60 | # CONFIG_PPC_DCR_MMIO is not set | ||
| 61 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 62 | |||
| 63 | # | ||
| 64 | # General setup | ||
| 65 | # | ||
| 66 | CONFIG_EXPERIMENTAL=y | ||
| 67 | CONFIG_BROKEN_ON_SMP=y | ||
| 68 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 69 | CONFIG_LOCALVERSION="" | ||
| 70 | CONFIG_LOCALVERSION_AUTO=y | ||
| 71 | CONFIG_SWAP=y | ||
| 72 | CONFIG_SYSVIPC=y | ||
| 73 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 74 | CONFIG_POSIX_MQUEUE=y | ||
| 75 | CONFIG_BSD_PROCESS_ACCT=y | ||
| 76 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | ||
| 77 | # CONFIG_TASKSTATS is not set | ||
| 78 | CONFIG_AUDIT=y | ||
| 79 | # CONFIG_AUDITSYSCALL is not set | ||
| 80 | CONFIG_IKCONFIG=y | ||
| 81 | CONFIG_IKCONFIG_PROC=y | ||
| 82 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 83 | CONFIG_GROUP_SCHED=y | ||
| 84 | # CONFIG_FAIR_GROUP_SCHED is not set | ||
| 85 | # CONFIG_RT_GROUP_SCHED is not set | ||
| 86 | CONFIG_USER_SCHED=y | ||
| 87 | # CONFIG_CGROUP_SCHED is not set | ||
| 88 | # CONFIG_CGROUPS is not set | ||
| 89 | CONFIG_SYSFS_DEPRECATED=y | ||
| 90 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
| 91 | # CONFIG_RELAY is not set | ||
| 92 | # CONFIG_NAMESPACES is not set | ||
| 93 | CONFIG_BLK_DEV_INITRD=y | ||
| 94 | CONFIG_INITRAMFS_SOURCE="" | ||
| 95 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
| 96 | CONFIG_SYSCTL=y | ||
| 97 | CONFIG_EMBEDDED=y | ||
| 98 | CONFIG_SYSCTL_SYSCALL=y | ||
| 99 | CONFIG_KALLSYMS=y | ||
| 100 | CONFIG_KALLSYMS_ALL=y | ||
| 101 | CONFIG_KALLSYMS_STRIP_GENERATED=y | ||
| 102 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
| 103 | CONFIG_HOTPLUG=y | ||
| 104 | CONFIG_PRINTK=y | ||
| 105 | CONFIG_BUG=y | ||
| 106 | CONFIG_ELF_CORE=y | ||
| 107 | CONFIG_COMPAT_BRK=y | ||
| 108 | CONFIG_BASE_FULL=y | ||
| 109 | CONFIG_FUTEX=y | ||
| 110 | CONFIG_ANON_INODES=y | ||
| 111 | CONFIG_EPOLL=y | ||
| 112 | CONFIG_SIGNALFD=y | ||
| 113 | CONFIG_TIMERFD=y | ||
| 114 | CONFIG_EVENTFD=y | ||
| 115 | CONFIG_SHMEM=y | ||
| 116 | CONFIG_AIO=y | ||
| 117 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 118 | CONFIG_PCI_QUIRKS=y | ||
| 119 | CONFIG_SLUB_DEBUG=y | ||
| 120 | # CONFIG_SLAB is not set | ||
| 121 | CONFIG_SLUB=y | ||
| 122 | # CONFIG_SLOB is not set | ||
| 123 | # CONFIG_PROFILING is not set | ||
| 124 | CONFIG_HAVE_OPROFILE=y | ||
| 125 | # CONFIG_KPROBES is not set | ||
| 126 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
| 127 | CONFIG_HAVE_IOREMAP_PROT=y | ||
| 128 | CONFIG_HAVE_KPROBES=y | ||
| 129 | CONFIG_HAVE_KRETPROBES=y | ||
| 130 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
| 131 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
| 132 | CONFIG_SLABINFO=y | ||
| 133 | CONFIG_RT_MUTEXES=y | ||
| 134 | CONFIG_BASE_SMALL=0 | ||
| 135 | CONFIG_MODULES=y | ||
| 136 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
| 137 | CONFIG_MODULE_UNLOAD=y | ||
| 138 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
| 139 | CONFIG_MODVERSIONS=y | ||
| 140 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 141 | CONFIG_BLOCK=y | ||
| 142 | CONFIG_LBD=y | ||
| 143 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 144 | # CONFIG_BLK_DEV_BSG is not set | ||
| 145 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
| 146 | |||
| 147 | # | ||
| 148 | # IO Schedulers | ||
| 149 | # | ||
| 150 | CONFIG_IOSCHED_NOOP=y | ||
| 151 | CONFIG_IOSCHED_AS=y | ||
| 152 | CONFIG_IOSCHED_DEADLINE=y | ||
| 153 | CONFIG_IOSCHED_CFQ=y | ||
| 154 | # CONFIG_DEFAULT_AS is not set | ||
| 155 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 156 | CONFIG_DEFAULT_CFQ=y | ||
| 157 | # CONFIG_DEFAULT_NOOP is not set | ||
| 158 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
| 159 | CONFIG_CLASSIC_RCU=y | ||
| 160 | # CONFIG_TREE_RCU is not set | ||
| 161 | # CONFIG_PREEMPT_RCU is not set | ||
| 162 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 163 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 164 | # CONFIG_FREEZER is not set | ||
| 165 | |||
| 166 | # | ||
| 167 | # Platform support | ||
| 168 | # | ||
| 169 | # CONFIG_PPC_CELL is not set | ||
| 170 | # CONFIG_PPC_CELL_NATIVE is not set | ||
| 171 | # CONFIG_PQ2ADS is not set | ||
| 172 | CONFIG_MPC85xx=y | ||
| 173 | # CONFIG_MPC8540_ADS is not set | ||
| 174 | # CONFIG_MPC8560_ADS is not set | ||
| 175 | # CONFIG_MPC85xx_CDS is not set | ||
| 176 | # CONFIG_MPC85xx_MDS is not set | ||
| 177 | # CONFIG_MPC8536_DS is not set | ||
| 178 | CONFIG_MPC85xx_DS=y | ||
| 179 | # CONFIG_KSI8560 is not set | ||
| 180 | # CONFIG_STX_GP3 is not set | ||
| 181 | # CONFIG_TQM8540 is not set | ||
| 182 | # CONFIG_TQM8541 is not set | ||
| 183 | # CONFIG_TQM8548 is not set | ||
| 184 | # CONFIG_TQM8555 is not set | ||
| 185 | # CONFIG_TQM8560 is not set | ||
| 186 | # CONFIG_SBC8548 is not set | ||
| 187 | # CONFIG_SBC8560 is not set | ||
| 188 | # CONFIG_IPIC is not set | ||
| 189 | CONFIG_MPIC=y | ||
| 190 | # CONFIG_MPIC_WEIRD is not set | ||
| 191 | CONFIG_PPC_I8259=y | ||
| 192 | # CONFIG_PPC_RTAS is not set | ||
| 193 | # CONFIG_MMIO_NVRAM is not set | ||
| 194 | # CONFIG_PPC_MPC106 is not set | ||
| 195 | # CONFIG_PPC_970_NAP is not set | ||
| 196 | # CONFIG_PPC_INDIRECT_IO is not set | ||
| 197 | # CONFIG_GENERIC_IOMAP is not set | ||
| 198 | # CONFIG_CPU_FREQ is not set | ||
| 199 | # CONFIG_QUICC_ENGINE is not set | ||
| 200 | # CONFIG_CPM2 is not set | ||
| 201 | CONFIG_FSL_ULI1575=y | ||
| 202 | # CONFIG_MPC8xxx_GPIO is not set | ||
| 203 | # CONFIG_SIMPLE_GPIO is not set | ||
| 204 | |||
| 205 | # | ||
| 206 | # Kernel options | ||
| 207 | # | ||
| 208 | CONFIG_HIGHMEM=y | ||
| 209 | CONFIG_TICK_ONESHOT=y | ||
| 210 | CONFIG_NO_HZ=y | ||
| 211 | CONFIG_HIGH_RES_TIMERS=y | ||
| 212 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 213 | # CONFIG_HZ_100 is not set | ||
| 214 | CONFIG_HZ_250=y | ||
| 215 | # CONFIG_HZ_300 is not set | ||
| 216 | # CONFIG_HZ_1000 is not set | ||
| 217 | CONFIG_HZ=250 | ||
| 218 | CONFIG_SCHED_HRTICK=y | ||
| 219 | CONFIG_PREEMPT_NONE=y | ||
| 220 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
| 221 | # CONFIG_PREEMPT is not set | ||
| 222 | CONFIG_BINFMT_ELF=y | ||
| 223 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| 224 | # CONFIG_HAVE_AOUT is not set | ||
| 225 | CONFIG_BINFMT_MISC=m | ||
| 226 | CONFIG_MATH_EMULATION=y | ||
| 227 | # CONFIG_IOMMU_HELPER is not set | ||
| 228 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
| 229 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
| 230 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
| 231 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
| 232 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
| 233 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 234 | CONFIG_FLATMEM_MANUAL=y | ||
| 235 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 236 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 237 | CONFIG_FLATMEM=y | ||
| 238 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 239 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
| 240 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 241 | CONFIG_MIGRATION=y | ||
| 242 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
| 243 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 244 | CONFIG_BOUNCE=y | ||
| 245 | CONFIG_VIRT_TO_BUS=y | ||
| 246 | CONFIG_UNEVICTABLE_LRU=y | ||
| 247 | CONFIG_PPC_4K_PAGES=y | ||
| 248 | # CONFIG_PPC_16K_PAGES is not set | ||
| 249 | # CONFIG_PPC_64K_PAGES is not set | ||
| 250 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
| 251 | CONFIG_PROC_DEVICETREE=y | ||
| 252 | # CONFIG_CMDLINE_BOOL is not set | ||
| 253 | CONFIG_EXTRA_TARGETS="" | ||
| 254 | # CONFIG_PM is not set | ||
| 255 | CONFIG_SECCOMP=y | ||
| 256 | CONFIG_ISA_DMA_API=y | ||
| 257 | |||
| 258 | # | ||
| 259 | # Bus options | ||
| 260 | # | ||
| 261 | CONFIG_ZONE_DMA=y | ||
| 262 | CONFIG_GENERIC_ISA_DMA=y | ||
| 263 | CONFIG_PPC_INDIRECT_PCI=y | ||
| 264 | CONFIG_FSL_SOC=y | ||
| 265 | CONFIG_FSL_PCI=y | ||
| 266 | CONFIG_PPC_PCI_CHOICE=y | ||
| 267 | CONFIG_PCI=y | ||
| 268 | CONFIG_PCI_DOMAINS=y | ||
| 269 | CONFIG_PCI_SYSCALL=y | ||
| 270 | # CONFIG_PCIEPORTBUS is not set | ||
| 271 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
| 272 | # CONFIG_PCI_MSI is not set | ||
| 273 | # CONFIG_PCI_LEGACY is not set | ||
| 274 | # CONFIG_PCI_DEBUG is not set | ||
| 275 | # CONFIG_PCI_STUB is not set | ||
| 276 | # CONFIG_PCCARD is not set | ||
| 277 | # CONFIG_HOTPLUG_PCI is not set | ||
| 278 | # CONFIG_HAS_RAPIDIO is not set | ||
| 279 | |||
| 280 | # | ||
| 281 | # Advanced setup | ||
| 282 | # | ||
| 283 | # CONFIG_ADVANCED_OPTIONS is not set | ||
| 284 | |||
| 285 | # | ||
| 286 | # Default settings for advanced configuration options are used | ||
| 287 | # | ||
| 288 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
| 289 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
| 290 | CONFIG_KERNEL_START=0xc0000000 | ||
| 291 | CONFIG_PHYSICAL_START=0x00000000 | ||
| 292 | CONFIG_PHYSICAL_ALIGN=0x10000000 | ||
| 293 | CONFIG_TASK_SIZE=0xc0000000 | ||
| 294 | CONFIG_NET=y | ||
| 295 | |||
| 296 | # | ||
| 297 | # Networking options | ||
| 298 | # | ||
| 299 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 300 | CONFIG_PACKET=y | ||
| 301 | # CONFIG_PACKET_MMAP is not set | ||
| 302 | CONFIG_UNIX=y | ||
| 303 | CONFIG_XFRM=y | ||
| 304 | CONFIG_XFRM_USER=y | ||
| 305 | # CONFIG_XFRM_SUB_POLICY is not set | ||
| 306 | # CONFIG_XFRM_MIGRATE is not set | ||
| 307 | # CONFIG_XFRM_STATISTICS is not set | ||
| 308 | CONFIG_NET_KEY=m | ||
| 309 | # CONFIG_NET_KEY_MIGRATE is not set | ||
| 310 | CONFIG_INET=y | ||
| 311 | CONFIG_IP_MULTICAST=y | ||
| 312 | CONFIG_IP_ADVANCED_ROUTER=y | ||
| 313 | CONFIG_ASK_IP_FIB_HASH=y | ||
| 314 | # CONFIG_IP_FIB_TRIE is not set | ||
| 315 | CONFIG_IP_FIB_HASH=y | ||
| 316 | CONFIG_IP_MULTIPLE_TABLES=y | ||
| 317 | CONFIG_IP_ROUTE_MULTIPATH=y | ||
| 318 | CONFIG_IP_ROUTE_VERBOSE=y | ||
| 319 | CONFIG_IP_PNP=y | ||
| 320 | CONFIG_IP_PNP_DHCP=y | ||
| 321 | CONFIG_IP_PNP_BOOTP=y | ||
| 322 | CONFIG_IP_PNP_RARP=y | ||
| 323 | CONFIG_NET_IPIP=y | ||
| 324 | CONFIG_NET_IPGRE=y | ||
| 325 | CONFIG_NET_IPGRE_BROADCAST=y | ||
| 326 | CONFIG_IP_MROUTE=y | ||
| 327 | CONFIG_IP_PIMSM_V1=y | ||
| 328 | CONFIG_IP_PIMSM_V2=y | ||
| 329 | CONFIG_ARPD=y | ||
| 330 | # CONFIG_SYN_COOKIES is not set | ||
| 331 | # CONFIG_INET_AH is not set | ||
| 332 | # CONFIG_INET_ESP is not set | ||
| 333 | # CONFIG_INET_IPCOMP is not set | ||
| 334 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 335 | CONFIG_INET_TUNNEL=y | ||
| 336 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 337 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 338 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 339 | # CONFIG_INET_LRO is not set | ||
| 340 | CONFIG_INET_DIAG=y | ||
| 341 | CONFIG_INET_TCP_DIAG=y | ||
| 342 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 343 | CONFIG_TCP_CONG_CUBIC=y | ||
| 344 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 345 | # CONFIG_TCP_MD5SIG is not set | ||
| 346 | CONFIG_IPV6=y | ||
| 347 | # CONFIG_IPV6_PRIVACY is not set | ||
| 348 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
| 349 | # CONFIG_IPV6_OPTIMISTIC_DAD is not set | ||
| 350 | # CONFIG_INET6_AH is not set | ||
| 351 | # CONFIG_INET6_ESP is not set | ||
| 352 | # CONFIG_INET6_IPCOMP is not set | ||
| 353 | # CONFIG_IPV6_MIP6 is not set | ||
| 354 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
| 355 | # CONFIG_INET6_TUNNEL is not set | ||
| 356 | CONFIG_INET6_XFRM_MODE_TRANSPORT=y | ||
| 357 | CONFIG_INET6_XFRM_MODE_TUNNEL=y | ||
| 358 | CONFIG_INET6_XFRM_MODE_BEET=y | ||
| 359 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | ||
| 360 | CONFIG_IPV6_SIT=y | ||
| 361 | CONFIG_IPV6_NDISC_NODETYPE=y | ||
| 362 | # CONFIG_IPV6_TUNNEL is not set | ||
| 363 | # CONFIG_IPV6_MULTIPLE_TABLES is not set | ||
| 364 | # CONFIG_IPV6_MROUTE is not set | ||
| 365 | # CONFIG_NETWORK_SECMARK is not set | ||
| 366 | # CONFIG_NETFILTER is not set | ||
| 367 | # CONFIG_IP_DCCP is not set | ||
| 368 | CONFIG_IP_SCTP=m | ||
| 369 | # CONFIG_SCTP_DBG_MSG is not set | ||
| 370 | # CONFIG_SCTP_DBG_OBJCNT is not set | ||
| 371 | # CONFIG_SCTP_HMAC_NONE is not set | ||
| 372 | # CONFIG_SCTP_HMAC_SHA1 is not set | ||
| 373 | CONFIG_SCTP_HMAC_MD5=y | ||
| 374 | # CONFIG_TIPC is not set | ||
| 375 | # CONFIG_ATM is not set | ||
| 376 | # CONFIG_BRIDGE is not set | ||
| 377 | # CONFIG_NET_DSA is not set | ||
| 378 | # CONFIG_VLAN_8021Q is not set | ||
| 379 | # CONFIG_DECNET is not set | ||
| 380 | # CONFIG_LLC2 is not set | ||
| 381 | # CONFIG_IPX is not set | ||
| 382 | # CONFIG_ATALK is not set | ||
| 383 | # CONFIG_X25 is not set | ||
| 384 | # CONFIG_LAPB is not set | ||
| 385 | # CONFIG_ECONET is not set | ||
| 386 | # CONFIG_WAN_ROUTER is not set | ||
| 387 | # CONFIG_NET_SCHED is not set | ||
| 388 | # CONFIG_DCB is not set | ||
| 389 | |||
| 390 | # | ||
| 391 | # Network testing | ||
| 392 | # | ||
| 393 | # CONFIG_NET_PKTGEN is not set | ||
| 394 | # CONFIG_HAMRADIO is not set | ||
| 395 | # CONFIG_CAN is not set | ||
| 396 | # CONFIG_IRDA is not set | ||
| 397 | # CONFIG_BT is not set | ||
| 398 | # CONFIG_AF_RXRPC is not set | ||
| 399 | # CONFIG_PHONET is not set | ||
| 400 | CONFIG_FIB_RULES=y | ||
| 401 | CONFIG_WIRELESS=y | ||
| 402 | # CONFIG_CFG80211 is not set | ||
| 403 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 404 | # CONFIG_WIRELESS_EXT is not set | ||
| 405 | # CONFIG_LIB80211 is not set | ||
| 406 | # CONFIG_MAC80211 is not set | ||
| 407 | # CONFIG_WIMAX is not set | ||
| 408 | # CONFIG_RFKILL is not set | ||
| 409 | # CONFIG_NET_9P is not set | ||
| 410 | |||
| 411 | # | ||
| 412 | # Device Drivers | ||
| 413 | # | ||
| 414 | |||
| 415 | # | ||
| 416 | # Generic Driver Options | ||
| 417 | # | ||
| 418 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 419 | CONFIG_STANDALONE=y | ||
| 420 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 421 | CONFIG_FW_LOADER=y | ||
| 422 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
| 423 | CONFIG_EXTRA_FIRMWARE="" | ||
| 424 | # CONFIG_DEBUG_DRIVER is not set | ||
| 425 | # CONFIG_DEBUG_DEVRES is not set | ||
| 426 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 427 | # CONFIG_CONNECTOR is not set | ||
| 428 | # CONFIG_MTD is not set | ||
| 429 | CONFIG_OF_DEVICE=y | ||
| 430 | CONFIG_OF_I2C=y | ||
| 431 | # CONFIG_PARPORT is not set | ||
| 432 | CONFIG_BLK_DEV=y | ||
| 433 | # CONFIG_BLK_DEV_FD is not set | ||
| 434 | # CONFIG_BLK_CPQ_DA is not set | ||
| 435 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
| 436 | # CONFIG_BLK_DEV_DAC960 is not set | ||
| 437 | # CONFIG_BLK_DEV_UMEM is not set | ||
| 438 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 439 | CONFIG_BLK_DEV_LOOP=y | ||
| 440 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
| 441 | CONFIG_BLK_DEV_NBD=y | ||
| 442 | # CONFIG_BLK_DEV_SX8 is not set | ||
| 443 | # CONFIG_BLK_DEV_UB is not set | ||
| 444 | CONFIG_BLK_DEV_RAM=y | ||
| 445 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
| 446 | CONFIG_BLK_DEV_RAM_SIZE=131072 | ||
| 447 | # CONFIG_BLK_DEV_XIP is not set | ||
| 448 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 449 | # CONFIG_ATA_OVER_ETH is not set | ||
| 450 | # CONFIG_BLK_DEV_HD is not set | ||
| 451 | CONFIG_MISC_DEVICES=y | ||
| 452 | # CONFIG_PHANTOM is not set | ||
| 453 | # CONFIG_EEPROM_93CX6 is not set | ||
| 454 | # CONFIG_SGI_IOC4 is not set | ||
| 455 | # CONFIG_TIFM_CORE is not set | ||
| 456 | # CONFIG_ICS932S401 is not set | ||
| 457 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
| 458 | # CONFIG_HP_ILO is not set | ||
| 459 | # CONFIG_C2PORT is not set | ||
| 460 | CONFIG_HAVE_IDE=y | ||
| 461 | # CONFIG_IDE is not set | ||
| 462 | |||
| 463 | # | ||
| 464 | # SCSI device support | ||
| 465 | # | ||
| 466 | # CONFIG_RAID_ATTRS is not set | ||
| 467 | CONFIG_SCSI=y | ||
| 468 | CONFIG_SCSI_DMA=y | ||
| 469 | # CONFIG_SCSI_TGT is not set | ||
| 470 | # CONFIG_SCSI_NETLINK is not set | ||
| 471 | CONFIG_SCSI_PROC_FS=y | ||
| 472 | |||
| 473 | # | ||
| 474 | # SCSI support type (disk, tape, CD-ROM) | ||
| 475 | # | ||
| 476 | CONFIG_BLK_DEV_SD=y | ||
| 477 | CONFIG_CHR_DEV_ST=y | ||
| 478 | # CONFIG_CHR_DEV_OSST is not set | ||
| 479 | CONFIG_BLK_DEV_SR=y | ||
| 480 | # CONFIG_BLK_DEV_SR_VENDOR is not set | ||
| 481 | CONFIG_CHR_DEV_SG=y | ||
| 482 | # CONFIG_CHR_DEV_SCH is not set | ||
| 483 | |||
| 484 | # | ||
| 485 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
| 486 | # | ||
| 487 | CONFIG_SCSI_MULTI_LUN=y | ||
| 488 | # CONFIG_SCSI_CONSTANTS is not set | ||
| 489 | CONFIG_SCSI_LOGGING=y | ||
| 490 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
| 491 | CONFIG_SCSI_WAIT_SCAN=m | ||
| 492 | |||
| 493 | # | ||
| 494 | # SCSI Transports | ||
| 495 | # | ||
| 496 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
| 497 | # CONFIG_SCSI_FC_ATTRS is not set | ||
| 498 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
| 499 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
| 500 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
| 501 | CONFIG_SCSI_LOWLEVEL=y | ||
| 502 | # CONFIG_ISCSI_TCP is not set | ||
| 503 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
| 504 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
| 505 | # CONFIG_SCSI_3W_9XXX is not set | ||
| 506 | # CONFIG_SCSI_ACARD is not set | ||
| 507 | # CONFIG_SCSI_AACRAID is not set | ||
| 508 | # CONFIG_SCSI_AIC7XXX is not set | ||
| 509 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
| 510 | # CONFIG_SCSI_AIC79XX is not set | ||
| 511 | # CONFIG_SCSI_AIC94XX is not set | ||
| 512 | # CONFIG_SCSI_DPT_I2O is not set | ||
| 513 | # CONFIG_SCSI_ADVANSYS is not set | ||
| 514 | # CONFIG_SCSI_ARCMSR is not set | ||
| 515 | # CONFIG_MEGARAID_NEWGEN is not set | ||
| 516 | # CONFIG_MEGARAID_LEGACY is not set | ||
| 517 | # CONFIG_MEGARAID_SAS is not set | ||
| 518 | # CONFIG_SCSI_HPTIOP is not set | ||
| 519 | # CONFIG_SCSI_BUSLOGIC is not set | ||
| 520 | # CONFIG_LIBFC is not set | ||
| 521 | # CONFIG_FCOE is not set | ||
| 522 | # CONFIG_SCSI_DMX3191D is not set | ||
| 523 | # CONFIG_SCSI_EATA is not set | ||
| 524 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
| 525 | # CONFIG_SCSI_GDTH is not set | ||
| 526 | # CONFIG_SCSI_IPS is not set | ||
| 527 | # CONFIG_SCSI_INITIO is not set | ||
| 528 | # CONFIG_SCSI_INIA100 is not set | ||
| 529 | # CONFIG_SCSI_MVSAS is not set | ||
| 530 | # CONFIG_SCSI_STEX is not set | ||
| 531 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
| 532 | # CONFIG_SCSI_IPR is not set | ||
| 533 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
| 534 | # CONFIG_SCSI_QLA_FC is not set | ||
| 535 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
| 536 | # CONFIG_SCSI_LPFC is not set | ||
| 537 | # CONFIG_SCSI_DC395x is not set | ||
| 538 | # CONFIG_SCSI_DC390T is not set | ||
| 539 | # CONFIG_SCSI_NSP32 is not set | ||
| 540 | # CONFIG_SCSI_DEBUG is not set | ||
| 541 | # CONFIG_SCSI_SRP is not set | ||
| 542 | # CONFIG_SCSI_DH is not set | ||
| 543 | CONFIG_ATA=y | ||
| 544 | # CONFIG_ATA_NONSTANDARD is not set | ||
| 545 | CONFIG_SATA_PMP=y | ||
| 546 | CONFIG_SATA_AHCI=y | ||
| 547 | # CONFIG_SATA_SIL24 is not set | ||
| 548 | # CONFIG_SATA_FSL is not set | ||
| 549 | CONFIG_ATA_SFF=y | ||
| 550 | # CONFIG_SATA_SVW is not set | ||
| 551 | # CONFIG_ATA_PIIX is not set | ||
| 552 | # CONFIG_SATA_MV is not set | ||
| 553 | # CONFIG_SATA_NV is not set | ||
| 554 | # CONFIG_PDC_ADMA is not set | ||
| 555 | # CONFIG_SATA_QSTOR is not set | ||
| 556 | # CONFIG_SATA_PROMISE is not set | ||
| 557 | # CONFIG_SATA_SX4 is not set | ||
| 558 | # CONFIG_SATA_SIL is not set | ||
| 559 | # CONFIG_SATA_SIS is not set | ||
| 560 | # CONFIG_SATA_ULI is not set | ||
| 561 | # CONFIG_SATA_VIA is not set | ||
| 562 | # CONFIG_SATA_VITESSE is not set | ||
| 563 | # CONFIG_SATA_INIC162X is not set | ||
| 564 | CONFIG_PATA_ALI=y | ||
| 565 | # CONFIG_PATA_AMD is not set | ||
| 566 | # CONFIG_PATA_ARTOP is not set | ||
| 567 | # CONFIG_PATA_ATIIXP is not set | ||
| 568 | # CONFIG_PATA_CMD640_PCI is not set | ||
| 569 | # CONFIG_PATA_CMD64X is not set | ||
| 570 | # CONFIG_PATA_CS5520 is not set | ||
| 571 | # CONFIG_PATA_CS5530 is not set | ||
| 572 | # CONFIG_PATA_CYPRESS is not set | ||
| 573 | # CONFIG_PATA_EFAR is not set | ||
| 574 | # CONFIG_ATA_GENERIC is not set | ||
| 575 | # CONFIG_PATA_HPT366 is not set | ||
| 576 | # CONFIG_PATA_HPT37X is not set | ||
| 577 | # CONFIG_PATA_HPT3X2N is not set | ||
| 578 | # CONFIG_PATA_HPT3X3 is not set | ||
| 579 | # CONFIG_PATA_IT821X is not set | ||
| 580 | # CONFIG_PATA_IT8213 is not set | ||
| 581 | # CONFIG_PATA_JMICRON is not set | ||
| 582 | # CONFIG_PATA_TRIFLEX is not set | ||
| 583 | # CONFIG_PATA_MARVELL is not set | ||
| 584 | # CONFIG_PATA_MPIIX is not set | ||
| 585 | # CONFIG_PATA_OLDPIIX is not set | ||
| 586 | # CONFIG_PATA_NETCELL is not set | ||
| 587 | # CONFIG_PATA_NINJA32 is not set | ||
| 588 | # CONFIG_PATA_NS87410 is not set | ||
| 589 | # CONFIG_PATA_NS87415 is not set | ||
| 590 | # CONFIG_PATA_OPTI is not set | ||
| 591 | # CONFIG_PATA_OPTIDMA is not set | ||
| 592 | # CONFIG_PATA_PDC_OLD is not set | ||
| 593 | # CONFIG_PATA_RADISYS is not set | ||
| 594 | # CONFIG_PATA_RZ1000 is not set | ||
| 595 | # CONFIG_PATA_SC1200 is not set | ||
| 596 | # CONFIG_PATA_SERVERWORKS is not set | ||
| 597 | # CONFIG_PATA_PDC2027X is not set | ||
| 598 | # CONFIG_PATA_SIL680 is not set | ||
| 599 | # CONFIG_PATA_SIS is not set | ||
| 600 | # CONFIG_PATA_VIA is not set | ||
| 601 | # CONFIG_PATA_WINBOND is not set | ||
| 602 | # CONFIG_PATA_PLATFORM is not set | ||
| 603 | # CONFIG_PATA_SCH is not set | ||
| 604 | # CONFIG_MD is not set | ||
| 605 | # CONFIG_FUSION is not set | ||
| 606 | |||
| 607 | # | ||
| 608 | # IEEE 1394 (FireWire) support | ||
| 609 | # | ||
| 610 | |||
| 611 | # | ||
| 612 | # Enable only one of the two stacks, unless you know what you are doing | ||
| 613 | # | ||
| 614 | # CONFIG_FIREWIRE is not set | ||
| 615 | # CONFIG_IEEE1394 is not set | ||
| 616 | # CONFIG_I2O is not set | ||
| 617 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
| 618 | CONFIG_NETDEVICES=y | ||
| 619 | CONFIG_DUMMY=y | ||
| 620 | # CONFIG_BONDING is not set | ||
| 621 | # CONFIG_MACVLAN is not set | ||
| 622 | # CONFIG_EQUALIZER is not set | ||
| 623 | # CONFIG_TUN is not set | ||
| 624 | # CONFIG_VETH is not set | ||
| 625 | # CONFIG_ARCNET is not set | ||
| 626 | CONFIG_PHYLIB=y | ||
| 627 | |||
| 628 | # | ||
| 629 | # MII PHY device drivers | ||
| 630 | # | ||
| 631 | # CONFIG_MARVELL_PHY is not set | ||
| 632 | # CONFIG_DAVICOM_PHY is not set | ||
| 633 | # CONFIG_QSEMI_PHY is not set | ||
| 634 | # CONFIG_LXT_PHY is not set | ||
| 635 | # CONFIG_CICADA_PHY is not set | ||
| 636 | CONFIG_VITESSE_PHY=y | ||
| 637 | # CONFIG_SMSC_PHY is not set | ||
| 638 | # CONFIG_BROADCOM_PHY is not set | ||
| 639 | # CONFIG_ICPLUS_PHY is not set | ||
| 640 | # CONFIG_REALTEK_PHY is not set | ||
| 641 | # CONFIG_NATIONAL_PHY is not set | ||
| 642 | # CONFIG_STE10XP is not set | ||
| 643 | # CONFIG_LSI_ET1011C_PHY is not set | ||
| 644 | # CONFIG_FIXED_PHY is not set | ||
| 645 | # CONFIG_MDIO_BITBANG is not set | ||
| 646 | CONFIG_NET_ETHERNET=y | ||
| 647 | CONFIG_MII=y | ||
| 648 | # CONFIG_HAPPYMEAL is not set | ||
| 649 | # CONFIG_SUNGEM is not set | ||
| 650 | # CONFIG_CASSINI is not set | ||
| 651 | # CONFIG_NET_VENDOR_3COM is not set | ||
| 652 | # CONFIG_NET_TULIP is not set | ||
| 653 | # CONFIG_HP100 is not set | ||
| 654 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 655 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 656 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 657 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 658 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
| 659 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
| 660 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
| 661 | # CONFIG_NET_PCI is not set | ||
| 662 | # CONFIG_B44 is not set | ||
| 663 | # CONFIG_ATL2 is not set | ||
| 664 | CONFIG_NETDEV_1000=y | ||
| 665 | # CONFIG_ACENIC is not set | ||
| 666 | # CONFIG_DL2K is not set | ||
| 667 | # CONFIG_E1000 is not set | ||
| 668 | # CONFIG_E1000E is not set | ||
| 669 | # CONFIG_IP1000 is not set | ||
| 670 | # CONFIG_IGB is not set | ||
| 671 | # CONFIG_NS83820 is not set | ||
| 672 | # CONFIG_HAMACHI is not set | ||
| 673 | # CONFIG_YELLOWFIN is not set | ||
| 674 | # CONFIG_R8169 is not set | ||
| 675 | # CONFIG_SIS190 is not set | ||
| 676 | # CONFIG_SKGE is not set | ||
| 677 | # CONFIG_SKY2 is not set | ||
| 678 | # CONFIG_VIA_VELOCITY is not set | ||
| 679 | # CONFIG_TIGON3 is not set | ||
| 680 | # CONFIG_BNX2 is not set | ||
| 681 | CONFIG_GIANFAR=y | ||
| 682 | # CONFIG_QLA3XXX is not set | ||
| 683 | # CONFIG_ATL1 is not set | ||
| 684 | # CONFIG_ATL1E is not set | ||
| 685 | # CONFIG_JME is not set | ||
| 686 | CONFIG_NETDEV_10000=y | ||
| 687 | # CONFIG_CHELSIO_T1 is not set | ||
| 688 | CONFIG_CHELSIO_T3_DEPENDS=y | ||
| 689 | # CONFIG_CHELSIO_T3 is not set | ||
| 690 | # CONFIG_ENIC is not set | ||
| 691 | # CONFIG_IXGBE is not set | ||
| 692 | # CONFIG_IXGB is not set | ||
| 693 | # CONFIG_S2IO is not set | ||
| 694 | # CONFIG_MYRI10GE is not set | ||
| 695 | # CONFIG_NETXEN_NIC is not set | ||
| 696 | # CONFIG_NIU is not set | ||
| 697 | # CONFIG_MLX4_EN is not set | ||
| 698 | # CONFIG_MLX4_CORE is not set | ||
| 699 | # CONFIG_TEHUTI is not set | ||
| 700 | # CONFIG_BNX2X is not set | ||
| 701 | # CONFIG_QLGE is not set | ||
| 702 | # CONFIG_SFC is not set | ||
| 703 | # CONFIG_TR is not set | ||
| 704 | |||
| 705 | # | ||
| 706 | # Wireless LAN | ||
| 707 | # | ||
| 708 | # CONFIG_WLAN_PRE80211 is not set | ||
| 709 | # CONFIG_WLAN_80211 is not set | ||
| 710 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 711 | |||
| 712 | # | ||
| 713 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
| 714 | # | ||
| 715 | |||
| 716 | # | ||
| 717 | # USB Network Adapters | ||
| 718 | # | ||
| 719 | # CONFIG_USB_CATC is not set | ||
| 720 | # CONFIG_USB_KAWETH is not set | ||
| 721 | # CONFIG_USB_PEGASUS is not set | ||
| 722 | # CONFIG_USB_RTL8150 is not set | ||
| 723 | # CONFIG_USB_USBNET is not set | ||
| 724 | # CONFIG_WAN is not set | ||
| 725 | # CONFIG_FDDI is not set | ||
| 726 | # CONFIG_HIPPI is not set | ||
| 727 | # CONFIG_PPP is not set | ||
| 728 | # CONFIG_SLIP is not set | ||
| 729 | # CONFIG_NET_FC is not set | ||
| 730 | # CONFIG_NETCONSOLE is not set | ||
| 731 | # CONFIG_NETPOLL is not set | ||
| 732 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 733 | # CONFIG_ISDN is not set | ||
| 734 | # CONFIG_PHONE is not set | ||
| 735 | |||
| 736 | # | ||
| 737 | # Input device support | ||
| 738 | # | ||
| 739 | CONFIG_INPUT=y | ||
| 740 | CONFIG_INPUT_FF_MEMLESS=m | ||
| 741 | # CONFIG_INPUT_POLLDEV is not set | ||
| 742 | |||
| 743 | # | ||
| 744 | # Userland interfaces | ||
| 745 | # | ||
| 746 | # CONFIG_INPUT_MOUSEDEV is not set | ||
| 747 | # CONFIG_INPUT_JOYDEV is not set | ||
| 748 | # CONFIG_INPUT_EVDEV is not set | ||
| 749 | # CONFIG_INPUT_EVBUG is not set | ||
| 750 | |||
| 751 | # | ||
| 752 | # Input Device Drivers | ||
| 753 | # | ||
| 754 | # CONFIG_INPUT_KEYBOARD is not set | ||
| 755 | # CONFIG_INPUT_MOUSE is not set | ||
| 756 | # CONFIG_INPUT_JOYSTICK is not set | ||
| 757 | # CONFIG_INPUT_TABLET is not set | ||
| 758 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
| 759 | # CONFIG_INPUT_MISC is not set | ||
| 760 | |||
| 761 | # | ||
| 762 | # Hardware I/O ports | ||
| 763 | # | ||
| 764 | CONFIG_SERIO=y | ||
| 765 | CONFIG_SERIO_I8042=y | ||
| 766 | CONFIG_SERIO_SERPORT=y | ||
| 767 | # CONFIG_SERIO_PCIPS2 is not set | ||
| 768 | CONFIG_SERIO_LIBPS2=y | ||
| 769 | # CONFIG_SERIO_RAW is not set | ||
| 770 | # CONFIG_SERIO_XILINX_XPS_PS2 is not set | ||
| 771 | # CONFIG_GAMEPORT is not set | ||
| 772 | |||
| 773 | # | ||
| 774 | # Character devices | ||
| 775 | # | ||
| 776 | CONFIG_VT=y | ||
| 777 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
| 778 | CONFIG_VT_CONSOLE=y | ||
| 779 | CONFIG_HW_CONSOLE=y | ||
| 780 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
| 781 | CONFIG_DEVKMEM=y | ||
| 782 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 783 | # CONFIG_NOZOMI is not set | ||
| 784 | |||
| 785 | # | ||
| 786 | # Serial drivers | ||
| 787 | # | ||
| 788 | CONFIG_SERIAL_8250=y | ||
| 789 | CONFIG_SERIAL_8250_CONSOLE=y | ||
| 790 | CONFIG_SERIAL_8250_PCI=y | ||
| 791 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
| 792 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | ||
| 793 | CONFIG_SERIAL_8250_EXTENDED=y | ||
| 794 | CONFIG_SERIAL_8250_MANY_PORTS=y | ||
| 795 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
| 796 | CONFIG_SERIAL_8250_DETECT_IRQ=y | ||
| 797 | CONFIG_SERIAL_8250_RSA=y | ||
| 798 | |||
| 799 | # | ||
| 800 | # Non-8250 serial port support | ||
| 801 | # | ||
| 802 | # CONFIG_SERIAL_UARTLITE is not set | ||
| 803 | CONFIG_SERIAL_CORE=y | ||
| 804 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 805 | # CONFIG_SERIAL_JSM is not set | ||
| 806 | # CONFIG_SERIAL_OF_PLATFORM is not set | ||
| 807 | CONFIG_UNIX98_PTYS=y | ||
| 808 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
| 809 | CONFIG_LEGACY_PTYS=y | ||
| 810 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 811 | # CONFIG_HVC_UDBG is not set | ||
| 812 | # CONFIG_IPMI_HANDLER is not set | ||
| 813 | CONFIG_HW_RANDOM=y | ||
| 814 | CONFIG_NVRAM=y | ||
| 815 | # CONFIG_R3964 is not set | ||
| 816 | # CONFIG_APPLICOM is not set | ||
| 817 | # CONFIG_RAW_DRIVER is not set | ||
| 818 | # CONFIG_TCG_TPM is not set | ||
| 819 | CONFIG_DEVPORT=y | ||
| 820 | CONFIG_I2C=y | ||
| 821 | CONFIG_I2C_BOARDINFO=y | ||
| 822 | # CONFIG_I2C_CHARDEV is not set | ||
| 823 | CONFIG_I2C_HELPER_AUTO=y | ||
| 824 | |||
| 825 | # | ||
| 826 | # I2C Hardware Bus support | ||
| 827 | # | ||
| 828 | |||
| 829 | # | ||
| 830 | # PC SMBus host controller drivers | ||
| 831 | # | ||
| 832 | # CONFIG_I2C_ALI1535 is not set | ||
| 833 | # CONFIG_I2C_ALI1563 is not set | ||
| 834 | # CONFIG_I2C_ALI15X3 is not set | ||
| 835 | # CONFIG_I2C_AMD756 is not set | ||
| 836 | # CONFIG_I2C_AMD8111 is not set | ||
| 837 | # CONFIG_I2C_I801 is not set | ||
| 838 | # CONFIG_I2C_ISCH is not set | ||
| 839 | # CONFIG_I2C_PIIX4 is not set | ||
| 840 | # CONFIG_I2C_NFORCE2 is not set | ||
| 841 | # CONFIG_I2C_SIS5595 is not set | ||
| 842 | # CONFIG_I2C_SIS630 is not set | ||
| 843 | # CONFIG_I2C_SIS96X is not set | ||
| 844 | # CONFIG_I2C_VIA is not set | ||
| 845 | # CONFIG_I2C_VIAPRO is not set | ||
| 846 | |||
| 847 | # | ||
| 848 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
| 849 | # | ||
| 850 | CONFIG_I2C_MPC=y | ||
| 851 | # CONFIG_I2C_OCORES is not set | ||
| 852 | # CONFIG_I2C_SIMTEC is not set | ||
| 853 | |||
| 854 | # | ||
| 855 | # External I2C/SMBus adapter drivers | ||
| 856 | # | ||
| 857 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
| 858 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 859 | # CONFIG_I2C_TINY_USB is not set | ||
| 860 | |||
| 861 | # | ||
| 862 | # Graphics adapter I2C/DDC channel drivers | ||
| 863 | # | ||
| 864 | # CONFIG_I2C_VOODOO3 is not set | ||
| 865 | |||
| 866 | # | ||
| 867 | # Other I2C/SMBus bus drivers | ||
| 868 | # | ||
| 869 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
| 870 | # CONFIG_I2C_STUB is not set | ||
| 871 | |||
| 872 | # | ||
| 873 | # Miscellaneous I2C Chip support | ||
| 874 | # | ||
| 875 | # CONFIG_DS1682 is not set | ||
| 876 | # CONFIG_EEPROM_AT24 is not set | ||
| 877 | CONFIG_EEPROM_LEGACY=y | ||
| 878 | # CONFIG_SENSORS_PCF8574 is not set | ||
| 879 | # CONFIG_PCF8575 is not set | ||
| 880 | # CONFIG_SENSORS_PCA9539 is not set | ||
| 881 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 882 | # CONFIG_SENSORS_MAX6875 is not set | ||
| 883 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 884 | # CONFIG_I2C_DEBUG_CORE is not set | ||
| 885 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
| 886 | # CONFIG_I2C_DEBUG_BUS is not set | ||
| 887 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
| 888 | # CONFIG_SPI is not set | ||
| 889 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
| 890 | # CONFIG_GPIOLIB is not set | ||
| 891 | # CONFIG_W1 is not set | ||
| 892 | # CONFIG_POWER_SUPPLY is not set | ||
| 893 | # CONFIG_HWMON is not set | ||
| 894 | # CONFIG_THERMAL is not set | ||
| 895 | # CONFIG_THERMAL_HWMON is not set | ||
| 896 | # CONFIG_WATCHDOG is not set | ||
| 897 | CONFIG_SSB_POSSIBLE=y | ||
| 898 | |||
| 899 | # | ||
| 900 | # Sonics Silicon Backplane | ||
| 901 | # | ||
| 902 | # CONFIG_SSB is not set | ||
| 903 | |||
| 904 | # | ||
| 905 | # Multifunction device drivers | ||
| 906 | # | ||
| 907 | # CONFIG_MFD_CORE is not set | ||
| 908 | # CONFIG_MFD_SM501 is not set | ||
| 909 | # CONFIG_HTC_PASIC3 is not set | ||
| 910 | # CONFIG_TWL4030_CORE is not set | ||
| 911 | # CONFIG_MFD_TMIO is not set | ||
| 912 | # CONFIG_PMIC_DA903X is not set | ||
| 913 | # CONFIG_MFD_WM8400 is not set | ||
| 914 | # CONFIG_MFD_WM8350_I2C is not set | ||
| 915 | # CONFIG_MFD_PCF50633 is not set | ||
| 916 | # CONFIG_REGULATOR is not set | ||
| 917 | |||
| 918 | # | ||
| 919 | # Multimedia devices | ||
| 920 | # | ||
| 921 | |||
| 922 | # | ||
| 923 | # Multimedia core support | ||
| 924 | # | ||
| 925 | # CONFIG_VIDEO_DEV is not set | ||
| 926 | CONFIG_DVB_CORE=m | ||
| 927 | CONFIG_VIDEO_MEDIA=m | ||
| 928 | |||
| 929 | # | ||
| 930 | # Multimedia drivers | ||
| 931 | # | ||
| 932 | # CONFIG_MEDIA_ATTACH is not set | ||
| 933 | CONFIG_MEDIA_TUNER=m | ||
| 934 | # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set | ||
| 935 | CONFIG_MEDIA_TUNER_SIMPLE=m | ||
| 936 | CONFIG_MEDIA_TUNER_TDA8290=m | ||
| 937 | CONFIG_MEDIA_TUNER_TDA9887=m | ||
| 938 | CONFIG_MEDIA_TUNER_TEA5761=m | ||
| 939 | CONFIG_MEDIA_TUNER_TEA5767=m | ||
| 940 | CONFIG_MEDIA_TUNER_MT20XX=m | ||
| 941 | CONFIG_MEDIA_TUNER_XC2028=m | ||
| 942 | CONFIG_MEDIA_TUNER_XC5000=m | ||
| 943 | # CONFIG_DVB_DYNAMIC_MINORS is not set | ||
| 944 | CONFIG_DVB_CAPTURE_DRIVERS=y | ||
| 945 | |||
| 946 | # | ||
| 947 | # Supported SAA7146 based PCI Adapters | ||
| 948 | # | ||
| 949 | # CONFIG_TTPCI_EEPROM is not set | ||
| 950 | # CONFIG_DVB_BUDGET_CORE is not set | ||
| 951 | |||
| 952 | # | ||
| 953 | # Supported USB Adapters | ||
| 954 | # | ||
| 955 | # CONFIG_DVB_USB is not set | ||
| 956 | # CONFIG_DVB_TTUSB_BUDGET is not set | ||
| 957 | # CONFIG_DVB_TTUSB_DEC is not set | ||
| 958 | # CONFIG_DVB_SIANO_SMS1XXX is not set | ||
| 959 | |||
| 960 | # | ||
| 961 | # Supported FlexCopII (B2C2) Adapters | ||
| 962 | # | ||
| 963 | # CONFIG_DVB_B2C2_FLEXCOP is not set | ||
| 964 | |||
| 965 | # | ||
| 966 | # Supported BT878 Adapters | ||
| 967 | # | ||
| 968 | |||
| 969 | # | ||
| 970 | # Supported Pluto2 Adapters | ||
| 971 | # | ||
| 972 | # CONFIG_DVB_PLUTO2 is not set | ||
| 973 | |||
| 974 | # | ||
| 975 | # Supported SDMC DM1105 Adapters | ||
| 976 | # | ||
| 977 | # CONFIG_DVB_DM1105 is not set | ||
| 978 | |||
| 979 | # | ||
| 980 | # Supported DVB Frontends | ||
| 981 | # | ||
| 982 | |||
| 983 | # | ||
| 984 | # Customise DVB Frontends | ||
| 985 | # | ||
| 986 | # CONFIG_DVB_FE_CUSTOMISE is not set | ||
| 987 | |||
| 988 | # | ||
| 989 | # Multistandard (satellite) frontends | ||
| 990 | # | ||
| 991 | # CONFIG_DVB_STB0899 is not set | ||
| 992 | # CONFIG_DVB_STB6100 is not set | ||
| 993 | |||
| 994 | # | ||
| 995 | # DVB-S (satellite) frontends | ||
| 996 | # | ||
| 997 | # CONFIG_DVB_CX24110 is not set | ||
| 998 | # CONFIG_DVB_CX24123 is not set | ||
| 999 | # CONFIG_DVB_MT312 is not set | ||
| 1000 | # CONFIG_DVB_S5H1420 is not set | ||
| 1001 | # CONFIG_DVB_STV0288 is not set | ||
| 1002 | # CONFIG_DVB_STB6000 is not set | ||
| 1003 | # CONFIG_DVB_STV0299 is not set | ||
| 1004 | # CONFIG_DVB_TDA8083 is not set | ||
| 1005 | # CONFIG_DVB_TDA10086 is not set | ||
| 1006 | # CONFIG_DVB_TDA8261 is not set | ||
| 1007 | # CONFIG_DVB_VES1X93 is not set | ||
| 1008 | # CONFIG_DVB_TUNER_ITD1000 is not set | ||
| 1009 | # CONFIG_DVB_TUNER_CX24113 is not set | ||
| 1010 | # CONFIG_DVB_TDA826X is not set | ||
| 1011 | # CONFIG_DVB_TUA6100 is not set | ||
| 1012 | # CONFIG_DVB_CX24116 is not set | ||
| 1013 | # CONFIG_DVB_SI21XX is not set | ||
| 1014 | |||
| 1015 | # | ||
| 1016 | # DVB-T (terrestrial) frontends | ||
| 1017 | # | ||
| 1018 | # CONFIG_DVB_SP8870 is not set | ||
| 1019 | # CONFIG_DVB_SP887X is not set | ||
| 1020 | # CONFIG_DVB_CX22700 is not set | ||
| 1021 | # CONFIG_DVB_CX22702 is not set | ||
| 1022 | # CONFIG_DVB_DRX397XD is not set | ||
| 1023 | # CONFIG_DVB_L64781 is not set | ||
| 1024 | # CONFIG_DVB_TDA1004X is not set | ||
| 1025 | # CONFIG_DVB_NXT6000 is not set | ||
| 1026 | # CONFIG_DVB_MT352 is not set | ||
| 1027 | # CONFIG_DVB_ZL10353 is not set | ||
| 1028 | # CONFIG_DVB_DIB3000MB is not set | ||
| 1029 | # CONFIG_DVB_DIB3000MC is not set | ||
| 1030 | # CONFIG_DVB_DIB7000M is not set | ||
| 1031 | # CONFIG_DVB_DIB7000P is not set | ||
| 1032 | # CONFIG_DVB_TDA10048 is not set | ||
| 1033 | |||
| 1034 | # | ||
| 1035 | # DVB-C (cable) frontends | ||
| 1036 | # | ||
| 1037 | # CONFIG_DVB_VES1820 is not set | ||
| 1038 | # CONFIG_DVB_TDA10021 is not set | ||
| 1039 | # CONFIG_DVB_TDA10023 is not set | ||
| 1040 | # CONFIG_DVB_STV0297 is not set | ||
| 1041 | |||
| 1042 | # | ||
| 1043 | # ATSC (North American/Korean Terrestrial/Cable DTV) frontends | ||
| 1044 | # | ||
| 1045 | # CONFIG_DVB_NXT200X is not set | ||
| 1046 | # CONFIG_DVB_OR51211 is not set | ||
| 1047 | # CONFIG_DVB_OR51132 is not set | ||
| 1048 | # CONFIG_DVB_BCM3510 is not set | ||
| 1049 | # CONFIG_DVB_LGDT330X is not set | ||
| 1050 | # CONFIG_DVB_LGDT3304 is not set | ||
| 1051 | # CONFIG_DVB_S5H1409 is not set | ||
| 1052 | # CONFIG_DVB_AU8522 is not set | ||
| 1053 | # CONFIG_DVB_S5H1411 is not set | ||
| 1054 | |||
| 1055 | # | ||
| 1056 | # ISDB-T (terrestrial) frontends | ||
| 1057 | # | ||
| 1058 | # CONFIG_DVB_S921 is not set | ||
| 1059 | |||
| 1060 | # | ||
| 1061 | # Digital terrestrial only tuners/PLL | ||
| 1062 | # | ||
| 1063 | # CONFIG_DVB_PLL is not set | ||
| 1064 | # CONFIG_DVB_TUNER_DIB0070 is not set | ||
| 1065 | |||
| 1066 | # | ||
| 1067 | # SEC control devices for DVB-S | ||
| 1068 | # | ||
| 1069 | # CONFIG_DVB_LNBP21 is not set | ||
| 1070 | # CONFIG_DVB_ISL6405 is not set | ||
| 1071 | # CONFIG_DVB_ISL6421 is not set | ||
| 1072 | # CONFIG_DVB_LGS8GL5 is not set | ||
| 1073 | |||
| 1074 | # | ||
| 1075 | # Tools to develop new frontends | ||
| 1076 | # | ||
| 1077 | # CONFIG_DVB_DUMMY_FE is not set | ||
| 1078 | # CONFIG_DVB_AF9013 is not set | ||
| 1079 | CONFIG_DAB=y | ||
| 1080 | # CONFIG_USB_DABUSB is not set | ||
| 1081 | |||
| 1082 | # | ||
| 1083 | # Graphics support | ||
| 1084 | # | ||
| 1085 | # CONFIG_AGP is not set | ||
| 1086 | # CONFIG_DRM is not set | ||
| 1087 | # CONFIG_VGASTATE is not set | ||
| 1088 | CONFIG_VIDEO_OUTPUT_CONTROL=y | ||
| 1089 | # CONFIG_FB is not set | ||
| 1090 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 1091 | |||
| 1092 | # | ||
| 1093 | # Display device support | ||
| 1094 | # | ||
| 1095 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 1096 | |||
| 1097 | # | ||
| 1098 | # Console display driver support | ||
| 1099 | # | ||
| 1100 | CONFIG_VGA_CONSOLE=y | ||
| 1101 | # CONFIG_VGACON_SOFT_SCROLLBACK is not set | ||
| 1102 | CONFIG_DUMMY_CONSOLE=y | ||
| 1103 | CONFIG_SOUND=y | ||
| 1104 | CONFIG_SOUND_OSS_CORE=y | ||
| 1105 | CONFIG_SND=y | ||
| 1106 | CONFIG_SND_TIMER=y | ||
| 1107 | CONFIG_SND_PCM=y | ||
| 1108 | # CONFIG_SND_SEQUENCER is not set | ||
| 1109 | CONFIG_SND_OSSEMUL=y | ||
| 1110 | CONFIG_SND_MIXER_OSS=y | ||
| 1111 | CONFIG_SND_PCM_OSS=y | ||
| 1112 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
| 1113 | # CONFIG_SND_HRTIMER is not set | ||
| 1114 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
| 1115 | # CONFIG_SND_SUPPORT_OLD_API is not set | ||
| 1116 | CONFIG_SND_VERBOSE_PROCFS=y | ||
| 1117 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
| 1118 | # CONFIG_SND_DEBUG is not set | ||
| 1119 | CONFIG_SND_VMASTER=y | ||
| 1120 | CONFIG_SND_AC97_CODEC=y | ||
| 1121 | CONFIG_SND_DRIVERS=y | ||
| 1122 | # CONFIG_SND_DUMMY is not set | ||
| 1123 | # CONFIG_SND_MTPAV is not set | ||
| 1124 | # CONFIG_SND_SERIAL_U16550 is not set | ||
| 1125 | # CONFIG_SND_MPU401 is not set | ||
| 1126 | # CONFIG_SND_AC97_POWER_SAVE is not set | ||
| 1127 | CONFIG_SND_PCI=y | ||
| 1128 | # CONFIG_SND_AD1889 is not set | ||
| 1129 | # CONFIG_SND_ALS300 is not set | ||
| 1130 | # CONFIG_SND_ALS4000 is not set | ||
| 1131 | # CONFIG_SND_ALI5451 is not set | ||
| 1132 | # CONFIG_SND_ATIIXP is not set | ||
| 1133 | # CONFIG_SND_ATIIXP_MODEM is not set | ||
| 1134 | # CONFIG_SND_AU8810 is not set | ||
| 1135 | # CONFIG_SND_AU8820 is not set | ||
| 1136 | # CONFIG_SND_AU8830 is not set | ||
| 1137 | # CONFIG_SND_AW2 is not set | ||
| 1138 | # CONFIG_SND_AZT3328 is not set | ||
| 1139 | # CONFIG_SND_BT87X is not set | ||
| 1140 | # CONFIG_SND_CA0106 is not set | ||
| 1141 | # CONFIG_SND_CMIPCI is not set | ||
| 1142 | # CONFIG_SND_OXYGEN is not set | ||
| 1143 | # CONFIG_SND_CS4281 is not set | ||
| 1144 | # CONFIG_SND_CS46XX is not set | ||
| 1145 | # CONFIG_SND_CS5530 is not set | ||
| 1146 | # CONFIG_SND_DARLA20 is not set | ||
| 1147 | # CONFIG_SND_GINA20 is not set | ||
| 1148 | # CONFIG_SND_LAYLA20 is not set | ||
| 1149 | # CONFIG_SND_DARLA24 is not set | ||
| 1150 | # CONFIG_SND_GINA24 is not set | ||
| 1151 | # CONFIG_SND_LAYLA24 is not set | ||
| 1152 | # CONFIG_SND_MONA is not set | ||
| 1153 | # CONFIG_SND_MIA is not set | ||
| 1154 | # CONFIG_SND_ECHO3G is not set | ||
| 1155 | # CONFIG_SND_INDIGO is not set | ||
| 1156 | # CONFIG_SND_INDIGOIO is not set | ||
| 1157 | # CONFIG_SND_INDIGODJ is not set | ||
| 1158 | # CONFIG_SND_EMU10K1 is not set | ||
| 1159 | # CONFIG_SND_EMU10K1X is not set | ||
| 1160 | # CONFIG_SND_ENS1370 is not set | ||
| 1161 | # CONFIG_SND_ENS1371 is not set | ||
| 1162 | # CONFIG_SND_ES1938 is not set | ||
| 1163 | # CONFIG_SND_ES1968 is not set | ||
| 1164 | # CONFIG_SND_FM801 is not set | ||
| 1165 | # CONFIG_SND_HDA_INTEL is not set | ||
| 1166 | # CONFIG_SND_HDSP is not set | ||
| 1167 | # CONFIG_SND_HDSPM is not set | ||
| 1168 | # CONFIG_SND_HIFIER is not set | ||
| 1169 | # CONFIG_SND_ICE1712 is not set | ||
| 1170 | # CONFIG_SND_ICE1724 is not set | ||
| 1171 | CONFIG_SND_INTEL8X0=y | ||
| 1172 | # CONFIG_SND_INTEL8X0M is not set | ||
| 1173 | # CONFIG_SND_KORG1212 is not set | ||
| 1174 | # CONFIG_SND_MAESTRO3 is not set | ||
| 1175 | # CONFIG_SND_MIXART is not set | ||
| 1176 | # CONFIG_SND_NM256 is not set | ||
| 1177 | # CONFIG_SND_PCXHR is not set | ||
| 1178 | # CONFIG_SND_RIPTIDE is not set | ||
| 1179 | # CONFIG_SND_RME32 is not set | ||
| 1180 | # CONFIG_SND_RME96 is not set | ||
| 1181 | # CONFIG_SND_RME9652 is not set | ||
| 1182 | # CONFIG_SND_SONICVIBES is not set | ||
| 1183 | # CONFIG_SND_TRIDENT is not set | ||
| 1184 | # CONFIG_SND_VIA82XX is not set | ||
| 1185 | # CONFIG_SND_VIA82XX_MODEM is not set | ||
| 1186 | # CONFIG_SND_VIRTUOSO is not set | ||
| 1187 | # CONFIG_SND_VX222 is not set | ||
| 1188 | # CONFIG_SND_YMFPCI is not set | ||
| 1189 | CONFIG_SND_PPC=y | ||
| 1190 | CONFIG_SND_USB=y | ||
| 1191 | # CONFIG_SND_USB_AUDIO is not set | ||
| 1192 | # CONFIG_SND_USB_USX2Y is not set | ||
| 1193 | # CONFIG_SND_USB_CAIAQ is not set | ||
| 1194 | # CONFIG_SND_SOC is not set | ||
| 1195 | # CONFIG_SOUND_PRIME is not set | ||
| 1196 | CONFIG_AC97_BUS=y | ||
| 1197 | CONFIG_HID_SUPPORT=y | ||
| 1198 | CONFIG_HID=y | ||
| 1199 | # CONFIG_HID_DEBUG is not set | ||
| 1200 | # CONFIG_HIDRAW is not set | ||
| 1201 | |||
| 1202 | # | ||
| 1203 | # USB Input Devices | ||
| 1204 | # | ||
| 1205 | CONFIG_USB_HID=y | ||
| 1206 | # CONFIG_HID_PID is not set | ||
| 1207 | # CONFIG_USB_HIDDEV is not set | ||
| 1208 | |||
| 1209 | # | ||
| 1210 | # Special HID drivers | ||
| 1211 | # | ||
| 1212 | CONFIG_HID_COMPAT=y | ||
| 1213 | CONFIG_HID_A4TECH=y | ||
| 1214 | CONFIG_HID_APPLE=y | ||
| 1215 | CONFIG_HID_BELKIN=y | ||
| 1216 | CONFIG_HID_CHERRY=y | ||
| 1217 | CONFIG_HID_CHICONY=y | ||
| 1218 | CONFIG_HID_CYPRESS=y | ||
| 1219 | CONFIG_HID_EZKEY=y | ||
| 1220 | CONFIG_HID_GYRATION=y | ||
| 1221 | CONFIG_HID_LOGITECH=y | ||
| 1222 | # CONFIG_LOGITECH_FF is not set | ||
| 1223 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
| 1224 | CONFIG_HID_MICROSOFT=y | ||
| 1225 | CONFIG_HID_MONTEREY=y | ||
| 1226 | # CONFIG_HID_NTRIG is not set | ||
| 1227 | CONFIG_HID_PANTHERLORD=y | ||
| 1228 | # CONFIG_PANTHERLORD_FF is not set | ||
| 1229 | CONFIG_HID_PETALYNX=y | ||
| 1230 | CONFIG_HID_SAMSUNG=y | ||
| 1231 | CONFIG_HID_SONY=y | ||
| 1232 | CONFIG_HID_SUNPLUS=y | ||
| 1233 | # CONFIG_GREENASIA_FF is not set | ||
| 1234 | # CONFIG_HID_TOPSEED is not set | ||
| 1235 | CONFIG_THRUSTMASTER_FF=m | ||
| 1236 | CONFIG_ZEROPLUS_FF=m | ||
| 1237 | CONFIG_USB_SUPPORT=y | ||
| 1238 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 1239 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 1240 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 1241 | CONFIG_USB=y | ||
| 1242 | # CONFIG_USB_DEBUG is not set | ||
| 1243 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
| 1244 | |||
| 1245 | # | ||
| 1246 | # Miscellaneous USB options | ||
| 1247 | # | ||
| 1248 | CONFIG_USB_DEVICEFS=y | ||
| 1249 | CONFIG_USB_DEVICE_CLASS=y | ||
| 1250 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
| 1251 | # CONFIG_USB_OTG is not set | ||
| 1252 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 1253 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 1254 | CONFIG_USB_MON=y | ||
| 1255 | # CONFIG_USB_WUSB is not set | ||
| 1256 | # CONFIG_USB_WUSB_CBAF is not set | ||
| 1257 | |||
| 1258 | # | ||
| 1259 | # USB Host Controller Drivers | ||
| 1260 | # | ||
| 1261 | # CONFIG_USB_C67X00_HCD is not set | ||
| 1262 | CONFIG_USB_EHCI_HCD=y | ||
| 1263 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | ||
| 1264 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
| 1265 | # CONFIG_USB_EHCI_FSL is not set | ||
| 1266 | CONFIG_USB_EHCI_HCD_PPC_OF=y | ||
| 1267 | # CONFIG_USB_OXU210HP_HCD is not set | ||
| 1268 | # CONFIG_USB_ISP116X_HCD is not set | ||
| 1269 | # CONFIG_USB_ISP1760_HCD is not set | ||
| 1270 | CONFIG_USB_OHCI_HCD=y | ||
| 1271 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
| 1272 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | ||
| 1273 | CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | ||
| 1274 | CONFIG_USB_OHCI_HCD_PCI=y | ||
| 1275 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | ||
| 1276 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | ||
| 1277 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
| 1278 | # CONFIG_USB_UHCI_HCD is not set | ||
| 1279 | # CONFIG_USB_SL811_HCD is not set | ||
| 1280 | # CONFIG_USB_R8A66597_HCD is not set | ||
| 1281 | # CONFIG_USB_WHCI_HCD is not set | ||
| 1282 | # CONFIG_USB_HWA_HCD is not set | ||
| 1283 | |||
| 1284 | # | ||
| 1285 | # USB Device Class drivers | ||
| 1286 | # | ||
| 1287 | # CONFIG_USB_ACM is not set | ||
| 1288 | # CONFIG_USB_PRINTER is not set | ||
| 1289 | # CONFIG_USB_WDM is not set | ||
| 1290 | # CONFIG_USB_TMC is not set | ||
| 1291 | |||
| 1292 | # | ||
| 1293 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | ||
| 1294 | # | ||
| 1295 | |||
| 1296 | # | ||
| 1297 | # see USB_STORAGE Help for more information | ||
| 1298 | # | ||
| 1299 | CONFIG_USB_STORAGE=y | ||
| 1300 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
| 1301 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
| 1302 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
| 1303 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
| 1304 | # CONFIG_USB_STORAGE_USBAT is not set | ||
| 1305 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
| 1306 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
| 1307 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
| 1308 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
| 1309 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
| 1310 | # CONFIG_USB_STORAGE_KARMA is not set | ||
| 1311 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
| 1312 | # CONFIG_USB_LIBUSUAL is not set | ||
| 1313 | |||
| 1314 | # | ||
| 1315 | # USB Imaging devices | ||
| 1316 | # | ||
| 1317 | # CONFIG_USB_MDC800 is not set | ||
| 1318 | # CONFIG_USB_MICROTEK is not set | ||
| 1319 | |||
| 1320 | # | ||
| 1321 | # USB port drivers | ||
| 1322 | # | ||
| 1323 | # CONFIG_USB_SERIAL is not set | ||
| 1324 | |||
| 1325 | # | ||
| 1326 | # USB Miscellaneous drivers | ||
| 1327 | # | ||
| 1328 | # CONFIG_USB_EMI62 is not set | ||
| 1329 | # CONFIG_USB_EMI26 is not set | ||
| 1330 | # CONFIG_USB_ADUTUX is not set | ||
| 1331 | # CONFIG_USB_SEVSEG is not set | ||
| 1332 | # CONFIG_USB_RIO500 is not set | ||
| 1333 | # CONFIG_USB_LEGOTOWER is not set | ||
| 1334 | # CONFIG_USB_LCD is not set | ||
| 1335 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 1336 | # CONFIG_USB_LED is not set | ||
| 1337 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
| 1338 | # CONFIG_USB_CYTHERM is not set | ||
| 1339 | # CONFIG_USB_PHIDGET is not set | ||
| 1340 | # CONFIG_USB_IDMOUSE is not set | ||
| 1341 | # CONFIG_USB_FTDI_ELAN is not set | ||
| 1342 | # CONFIG_USB_APPLEDISPLAY is not set | ||
| 1343 | # CONFIG_USB_SISUSBVGA is not set | ||
| 1344 | # CONFIG_USB_LD is not set | ||
| 1345 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
| 1346 | # CONFIG_USB_IOWARRIOR is not set | ||
| 1347 | # CONFIG_USB_TEST is not set | ||
| 1348 | # CONFIG_USB_ISIGHTFW is not set | ||
| 1349 | # CONFIG_USB_VST is not set | ||
| 1350 | # CONFIG_USB_GADGET is not set | ||
| 1351 | |||
| 1352 | # | ||
| 1353 | # OTG and related infrastructure | ||
| 1354 | # | ||
| 1355 | # CONFIG_UWB is not set | ||
| 1356 | # CONFIG_MMC is not set | ||
| 1357 | # CONFIG_MEMSTICK is not set | ||
| 1358 | # CONFIG_NEW_LEDS is not set | ||
| 1359 | # CONFIG_ACCESSIBILITY is not set | ||
| 1360 | # CONFIG_INFINIBAND is not set | ||
| 1361 | # CONFIG_EDAC is not set | ||
| 1362 | CONFIG_RTC_LIB=y | ||
| 1363 | CONFIG_RTC_CLASS=y | ||
| 1364 | CONFIG_RTC_HCTOSYS=y | ||
| 1365 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
| 1366 | # CONFIG_RTC_DEBUG is not set | ||
| 1367 | |||
| 1368 | # | ||
| 1369 | # RTC interfaces | ||
| 1370 | # | ||
| 1371 | CONFIG_RTC_INTF_SYSFS=y | ||
| 1372 | CONFIG_RTC_INTF_PROC=y | ||
| 1373 | CONFIG_RTC_INTF_DEV=y | ||
| 1374 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 1375 | # CONFIG_RTC_DRV_TEST is not set | ||
| 1376 | |||
| 1377 | # | ||
| 1378 | # I2C RTC drivers | ||
| 1379 | # | ||
| 1380 | # CONFIG_RTC_DRV_DS1307 is not set | ||
| 1381 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 1382 | # CONFIG_RTC_DRV_DS1672 is not set | ||
| 1383 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
| 1384 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
| 1385 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
| 1386 | # CONFIG_RTC_DRV_X1205 is not set | ||
| 1387 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
| 1388 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
| 1389 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 1390 | # CONFIG_RTC_DRV_S35390A is not set | ||
| 1391 | # CONFIG_RTC_DRV_FM3130 is not set | ||
| 1392 | # CONFIG_RTC_DRV_RX8581 is not set | ||
| 1393 | |||
| 1394 | # | ||
| 1395 | # SPI RTC drivers | ||
| 1396 | # | ||
| 1397 | |||
| 1398 | # | ||
| 1399 | # Platform RTC drivers | ||
| 1400 | # | ||
| 1401 | CONFIG_RTC_DRV_CMOS=y | ||
| 1402 | # CONFIG_RTC_DRV_DS1286 is not set | ||
| 1403 | # CONFIG_RTC_DRV_DS1511 is not set | ||
| 1404 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 1405 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 1406 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 1407 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 1408 | # CONFIG_RTC_DRV_M48T35 is not set | ||
| 1409 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1410 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
| 1411 | # CONFIG_RTC_DRV_V3020 is not set | ||
| 1412 | |||
| 1413 | # | ||
| 1414 | # on-CPU RTC drivers | ||
| 1415 | # | ||
| 1416 | # CONFIG_RTC_DRV_PPC is not set | ||
| 1417 | CONFIG_DMADEVICES=y | ||
| 1418 | |||
| 1419 | # | ||
| 1420 | # DMA Devices | ||
| 1421 | # | ||
| 1422 | CONFIG_FSL_DMA=y | ||
| 1423 | CONFIG_DMA_ENGINE=y | ||
| 1424 | |||
| 1425 | # | ||
| 1426 | # DMA Clients | ||
| 1427 | # | ||
| 1428 | # CONFIG_NET_DMA is not set | ||
| 1429 | # CONFIG_DMATEST is not set | ||
| 1430 | # CONFIG_UIO is not set | ||
| 1431 | # CONFIG_STAGING is not set | ||
| 1432 | |||
| 1433 | # | ||
| 1434 | # File systems | ||
| 1435 | # | ||
| 1436 | CONFIG_EXT2_FS=y | ||
| 1437 | # CONFIG_EXT2_FS_XATTR is not set | ||
| 1438 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1439 | CONFIG_EXT3_FS=y | ||
| 1440 | CONFIG_EXT3_FS_XATTR=y | ||
| 1441 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1442 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1443 | # CONFIG_EXT4_FS is not set | ||
| 1444 | CONFIG_JBD=y | ||
| 1445 | CONFIG_FS_MBCACHE=y | ||
| 1446 | # CONFIG_REISERFS_FS is not set | ||
| 1447 | # CONFIG_JFS_FS is not set | ||
| 1448 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1449 | CONFIG_FILE_LOCKING=y | ||
| 1450 | # CONFIG_XFS_FS is not set | ||
| 1451 | # CONFIG_GFS2_FS is not set | ||
| 1452 | # CONFIG_OCFS2_FS is not set | ||
| 1453 | # CONFIG_BTRFS_FS is not set | ||
| 1454 | CONFIG_DNOTIFY=y | ||
| 1455 | CONFIG_INOTIFY=y | ||
| 1456 | CONFIG_INOTIFY_USER=y | ||
| 1457 | # CONFIG_QUOTA is not set | ||
| 1458 | # CONFIG_AUTOFS_FS is not set | ||
| 1459 | # CONFIG_AUTOFS4_FS is not set | ||
| 1460 | # CONFIG_FUSE_FS is not set | ||
| 1461 | |||
| 1462 | # | ||
| 1463 | # CD-ROM/DVD Filesystems | ||
| 1464 | # | ||
| 1465 | CONFIG_ISO9660_FS=m | ||
| 1466 | CONFIG_JOLIET=y | ||
| 1467 | CONFIG_ZISOFS=y | ||
| 1468 | CONFIG_UDF_FS=m | ||
| 1469 | CONFIG_UDF_NLS=y | ||
| 1470 | |||
| 1471 | # | ||
| 1472 | # DOS/FAT/NT Filesystems | ||
| 1473 | # | ||
| 1474 | CONFIG_FAT_FS=y | ||
| 1475 | CONFIG_MSDOS_FS=m | ||
| 1476 | CONFIG_VFAT_FS=y | ||
| 1477 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
| 1478 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
| 1479 | CONFIG_NTFS_FS=y | ||
| 1480 | # CONFIG_NTFS_DEBUG is not set | ||
| 1481 | # CONFIG_NTFS_RW is not set | ||
| 1482 | |||
| 1483 | # | ||
| 1484 | # Pseudo filesystems | ||
| 1485 | # | ||
| 1486 | CONFIG_PROC_FS=y | ||
| 1487 | CONFIG_PROC_KCORE=y | ||
| 1488 | CONFIG_PROC_SYSCTL=y | ||
| 1489 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 1490 | CONFIG_SYSFS=y | ||
| 1491 | CONFIG_TMPFS=y | ||
| 1492 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 1493 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1494 | # CONFIG_CONFIGFS_FS is not set | ||
| 1495 | CONFIG_MISC_FILESYSTEMS=y | ||
| 1496 | CONFIG_ADFS_FS=m | ||
| 1497 | # CONFIG_ADFS_FS_RW is not set | ||
| 1498 | CONFIG_AFFS_FS=m | ||
| 1499 | CONFIG_HFS_FS=m | ||
| 1500 | CONFIG_HFSPLUS_FS=m | ||
| 1501 | CONFIG_BEFS_FS=m | ||
| 1502 | # CONFIG_BEFS_DEBUG is not set | ||
| 1503 | CONFIG_BFS_FS=m | ||
| 1504 | CONFIG_EFS_FS=m | ||
| 1505 | CONFIG_CRAMFS=y | ||
| 1506 | # CONFIG_SQUASHFS is not set | ||
| 1507 | CONFIG_VXFS_FS=m | ||
| 1508 | # CONFIG_MINIX_FS is not set | ||
| 1509 | # CONFIG_OMFS_FS is not set | ||
| 1510 | CONFIG_HPFS_FS=m | ||
| 1511 | CONFIG_QNX4FS_FS=m | ||
| 1512 | # CONFIG_ROMFS_FS is not set | ||
| 1513 | CONFIG_SYSV_FS=m | ||
| 1514 | CONFIG_UFS_FS=m | ||
| 1515 | # CONFIG_UFS_FS_WRITE is not set | ||
| 1516 | # CONFIG_UFS_DEBUG is not set | ||
| 1517 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 1518 | CONFIG_NFS_FS=y | ||
| 1519 | CONFIG_NFS_V3=y | ||
| 1520 | # CONFIG_NFS_V3_ACL is not set | ||
| 1521 | CONFIG_NFS_V4=y | ||
| 1522 | CONFIG_ROOT_NFS=y | ||
| 1523 | CONFIG_NFSD=y | ||
| 1524 | # CONFIG_NFSD_V3 is not set | ||
| 1525 | # CONFIG_NFSD_V4 is not set | ||
| 1526 | CONFIG_LOCKD=y | ||
| 1527 | CONFIG_LOCKD_V4=y | ||
| 1528 | CONFIG_EXPORTFS=y | ||
| 1529 | CONFIG_NFS_COMMON=y | ||
| 1530 | CONFIG_SUNRPC=y | ||
| 1531 | CONFIG_SUNRPC_GSS=y | ||
| 1532 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1533 | CONFIG_RPCSEC_GSS_KRB5=y | ||
| 1534 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1535 | # CONFIG_SMB_FS is not set | ||
| 1536 | # CONFIG_CIFS is not set | ||
| 1537 | # CONFIG_NCP_FS is not set | ||
| 1538 | # CONFIG_CODA_FS is not set | ||
| 1539 | # CONFIG_AFS_FS is not set | ||
| 1540 | |||
| 1541 | # | ||
| 1542 | # Partition Types | ||
| 1543 | # | ||
| 1544 | CONFIG_PARTITION_ADVANCED=y | ||
| 1545 | # CONFIG_ACORN_PARTITION is not set | ||
| 1546 | # CONFIG_OSF_PARTITION is not set | ||
| 1547 | # CONFIG_AMIGA_PARTITION is not set | ||
| 1548 | # CONFIG_ATARI_PARTITION is not set | ||
| 1549 | CONFIG_MAC_PARTITION=y | ||
| 1550 | CONFIG_MSDOS_PARTITION=y | ||
| 1551 | # CONFIG_BSD_DISKLABEL is not set | ||
| 1552 | # CONFIG_MINIX_SUBPARTITION is not set | ||
| 1553 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
| 1554 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
| 1555 | # CONFIG_LDM_PARTITION is not set | ||
| 1556 | # CONFIG_SGI_PARTITION is not set | ||
| 1557 | # CONFIG_ULTRIX_PARTITION is not set | ||
| 1558 | # CONFIG_SUN_PARTITION is not set | ||
| 1559 | # CONFIG_KARMA_PARTITION is not set | ||
| 1560 | # CONFIG_EFI_PARTITION is not set | ||
| 1561 | # CONFIG_SYSV68_PARTITION is not set | ||
| 1562 | CONFIG_NLS=y | ||
| 1563 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
| 1564 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
| 1565 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
| 1566 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
| 1567 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
| 1568 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
| 1569 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
| 1570 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
| 1571 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
| 1572 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
| 1573 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
| 1574 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
| 1575 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
| 1576 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
| 1577 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
| 1578 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
| 1579 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
| 1580 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
| 1581 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
| 1582 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
| 1583 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
| 1584 | # CONFIG_NLS_ISO8859_8 is not set | ||
| 1585 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
| 1586 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
| 1587 | # CONFIG_NLS_ASCII is not set | ||
| 1588 | # CONFIG_NLS_ISO8859_1 is not set | ||
| 1589 | # CONFIG_NLS_ISO8859_2 is not set | ||
| 1590 | # CONFIG_NLS_ISO8859_3 is not set | ||
| 1591 | # CONFIG_NLS_ISO8859_4 is not set | ||
| 1592 | # CONFIG_NLS_ISO8859_5 is not set | ||
| 1593 | # CONFIG_NLS_ISO8859_6 is not set | ||
| 1594 | # CONFIG_NLS_ISO8859_7 is not set | ||
| 1595 | # CONFIG_NLS_ISO8859_9 is not set | ||
| 1596 | # CONFIG_NLS_ISO8859_13 is not set | ||
| 1597 | # CONFIG_NLS_ISO8859_14 is not set | ||
| 1598 | # CONFIG_NLS_ISO8859_15 is not set | ||
| 1599 | # CONFIG_NLS_KOI8_R is not set | ||
| 1600 | # CONFIG_NLS_KOI8_U is not set | ||
| 1601 | CONFIG_NLS_UTF8=m | ||
| 1602 | # CONFIG_DLM is not set | ||
| 1603 | |||
| 1604 | # | ||
| 1605 | # Library routines | ||
| 1606 | # | ||
| 1607 | CONFIG_BITREVERSE=y | ||
| 1608 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
| 1609 | # CONFIG_CRC_CCITT is not set | ||
| 1610 | # CONFIG_CRC16 is not set | ||
| 1611 | CONFIG_CRC_T10DIF=y | ||
| 1612 | CONFIG_CRC_ITU_T=m | ||
| 1613 | CONFIG_CRC32=y | ||
| 1614 | # CONFIG_CRC7 is not set | ||
| 1615 | CONFIG_LIBCRC32C=m | ||
| 1616 | CONFIG_ZLIB_INFLATE=y | ||
| 1617 | CONFIG_PLIST=y | ||
| 1618 | CONFIG_HAS_IOMEM=y | ||
| 1619 | CONFIG_HAS_IOPORT=y | ||
| 1620 | CONFIG_HAS_DMA=y | ||
| 1621 | CONFIG_HAVE_LMB=y | ||
| 1622 | |||
| 1623 | # | ||
| 1624 | # Kernel hacking | ||
| 1625 | # | ||
| 1626 | # CONFIG_PRINTK_TIME is not set | ||
| 1627 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1628 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1629 | CONFIG_FRAME_WARN=1024 | ||
| 1630 | # CONFIG_MAGIC_SYSRQ is not set | ||
| 1631 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1632 | # CONFIG_DEBUG_FS is not set | ||
| 1633 | # CONFIG_HEADERS_CHECK is not set | ||
| 1634 | CONFIG_DEBUG_KERNEL=y | ||
| 1635 | # CONFIG_DEBUG_SHIRQ is not set | ||
| 1636 | CONFIG_DETECT_SOFTLOCKUP=y | ||
| 1637 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
| 1638 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
| 1639 | CONFIG_SCHED_DEBUG=y | ||
| 1640 | # CONFIG_SCHEDSTATS is not set | ||
| 1641 | # CONFIG_TIMER_STATS is not set | ||
| 1642 | # CONFIG_DEBUG_OBJECTS is not set | ||
| 1643 | # CONFIG_SLUB_DEBUG_ON is not set | ||
| 1644 | # CONFIG_SLUB_STATS is not set | ||
| 1645 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 1646 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 1647 | # CONFIG_DEBUG_SPINLOCK is not set | ||
| 1648 | # CONFIG_DEBUG_MUTEXES is not set | ||
| 1649 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
| 1650 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
| 1651 | # CONFIG_DEBUG_KOBJECT is not set | ||
| 1652 | # CONFIG_DEBUG_HIGHMEM is not set | ||
| 1653 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 1654 | CONFIG_DEBUG_INFO=y | ||
| 1655 | # CONFIG_DEBUG_VM is not set | ||
| 1656 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
| 1657 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
| 1658 | # CONFIG_DEBUG_LIST is not set | ||
| 1659 | # CONFIG_DEBUG_SG is not set | ||
| 1660 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
| 1661 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
| 1662 | # CONFIG_RCU_TORTURE_TEST is not set | ||
| 1663 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
| 1664 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
| 1665 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
| 1666 | # CONFIG_FAULT_INJECTION is not set | ||
| 1667 | # CONFIG_LATENCYTOP is not set | ||
| 1668 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 1669 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
| 1670 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
| 1671 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
| 1672 | |||
| 1673 | # | ||
| 1674 | # Tracers | ||
| 1675 | # | ||
| 1676 | # CONFIG_FUNCTION_TRACER is not set | ||
| 1677 | # CONFIG_SCHED_TRACER is not set | ||
| 1678 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1679 | # CONFIG_BOOT_TRACER is not set | ||
| 1680 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
| 1681 | # CONFIG_STACK_TRACER is not set | ||
| 1682 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
| 1683 | # CONFIG_SAMPLES is not set | ||
| 1684 | CONFIG_HAVE_ARCH_KGDB=y | ||
| 1685 | # CONFIG_KGDB is not set | ||
| 1686 | CONFIG_PRINT_STACK_DEPTH=64 | ||
| 1687 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
| 1688 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
| 1689 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1690 | # CONFIG_CODE_PATCHING_SELFTEST is not set | ||
| 1691 | # CONFIG_FTR_FIXUP_SELFTEST is not set | ||
| 1692 | # CONFIG_MSI_BITMAP_SELFTEST is not set | ||
| 1693 | # CONFIG_XMON is not set | ||
| 1694 | # CONFIG_IRQSTACKS is not set | ||
| 1695 | # CONFIG_BDI_SWITCH is not set | ||
| 1696 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
| 1697 | |||
| 1698 | # | ||
| 1699 | # Security options | ||
| 1700 | # | ||
| 1701 | # CONFIG_KEYS is not set | ||
| 1702 | # CONFIG_SECURITY is not set | ||
| 1703 | # CONFIG_SECURITYFS is not set | ||
| 1704 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
| 1705 | CONFIG_CRYPTO=y | ||
| 1706 | |||
| 1707 | # | ||
| 1708 | # Crypto core or helper | ||
| 1709 | # | ||
| 1710 | # CONFIG_CRYPTO_FIPS is not set | ||
| 1711 | CONFIG_CRYPTO_ALGAPI=y | ||
| 1712 | CONFIG_CRYPTO_ALGAPI2=y | ||
| 1713 | CONFIG_CRYPTO_AEAD=y | ||
| 1714 | CONFIG_CRYPTO_AEAD2=y | ||
| 1715 | CONFIG_CRYPTO_BLKCIPHER=y | ||
| 1716 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
| 1717 | CONFIG_CRYPTO_HASH=y | ||
| 1718 | CONFIG_CRYPTO_HASH2=y | ||
| 1719 | CONFIG_CRYPTO_RNG2=y | ||
| 1720 | CONFIG_CRYPTO_MANAGER=y | ||
| 1721 | CONFIG_CRYPTO_MANAGER2=y | ||
| 1722 | # CONFIG_CRYPTO_GF128MUL is not set | ||
| 1723 | # CONFIG_CRYPTO_NULL is not set | ||
| 1724 | # CONFIG_CRYPTO_CRYPTD is not set | ||
| 1725 | CONFIG_CRYPTO_AUTHENC=y | ||
| 1726 | # CONFIG_CRYPTO_TEST is not set | ||
| 1727 | |||
| 1728 | # | ||
| 1729 | # Authenticated Encryption with Associated Data | ||
| 1730 | # | ||
| 1731 | # CONFIG_CRYPTO_CCM is not set | ||
| 1732 | # CONFIG_CRYPTO_GCM is not set | ||
| 1733 | # CONFIG_CRYPTO_SEQIV is not set | ||
| 1734 | |||
| 1735 | # | ||
| 1736 | # Block modes | ||
| 1737 | # | ||
| 1738 | CONFIG_CRYPTO_CBC=y | ||
| 1739 | # CONFIG_CRYPTO_CTR is not set | ||
| 1740 | # CONFIG_CRYPTO_CTS is not set | ||
| 1741 | # CONFIG_CRYPTO_ECB is not set | ||
| 1742 | # CONFIG_CRYPTO_LRW is not set | ||
| 1743 | CONFIG_CRYPTO_PCBC=m | ||
| 1744 | # CONFIG_CRYPTO_XTS is not set | ||
| 1745 | |||
| 1746 | # | ||
| 1747 | # Hash modes | ||
| 1748 | # | ||
| 1749 | CONFIG_CRYPTO_HMAC=y | ||
| 1750 | # CONFIG_CRYPTO_XCBC is not set | ||
| 1751 | |||
| 1752 | # | ||
| 1753 | # Digest | ||
| 1754 | # | ||
| 1755 | CONFIG_CRYPTO_CRC32C=m | ||
| 1756 | # CONFIG_CRYPTO_MD4 is not set | ||
| 1757 | CONFIG_CRYPTO_MD5=y | ||
| 1758 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
| 1759 | # CONFIG_CRYPTO_RMD128 is not set | ||
| 1760 | # CONFIG_CRYPTO_RMD160 is not set | ||
| 1761 | # CONFIG_CRYPTO_RMD256 is not set | ||
| 1762 | # CONFIG_CRYPTO_RMD320 is not set | ||
| 1763 | CONFIG_CRYPTO_SHA1=m | ||
| 1764 | # CONFIG_CRYPTO_SHA256 is not set | ||
| 1765 | # CONFIG_CRYPTO_SHA512 is not set | ||
| 1766 | # CONFIG_CRYPTO_TGR192 is not set | ||
| 1767 | # CONFIG_CRYPTO_WP512 is not set | ||
| 1768 | |||
| 1769 | # | ||
| 1770 | # Ciphers | ||
| 1771 | # | ||
| 1772 | # CONFIG_CRYPTO_AES is not set | ||
| 1773 | # CONFIG_CRYPTO_ANUBIS is not set | ||
| 1774 | # CONFIG_CRYPTO_ARC4 is not set | ||
| 1775 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
| 1776 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
| 1777 | # CONFIG_CRYPTO_CAST5 is not set | ||
| 1778 | # CONFIG_CRYPTO_CAST6 is not set | ||
| 1779 | CONFIG_CRYPTO_DES=y | ||
| 1780 | # CONFIG_CRYPTO_FCRYPT is not set | ||
| 1781 | # CONFIG_CRYPTO_KHAZAD is not set | ||
| 1782 | # CONFIG_CRYPTO_SALSA20 is not set | ||
| 1783 | # CONFIG_CRYPTO_SEED is not set | ||
| 1784 | # CONFIG_CRYPTO_SERPENT is not set | ||
| 1785 | # CONFIG_CRYPTO_TEA is not set | ||
| 1786 | # CONFIG_CRYPTO_TWOFISH is not set | ||
| 1787 | |||
| 1788 | # | ||
| 1789 | # Compression | ||
| 1790 | # | ||
| 1791 | # CONFIG_CRYPTO_DEFLATE is not set | ||
| 1792 | # CONFIG_CRYPTO_LZO is not set | ||
| 1793 | |||
| 1794 | # | ||
| 1795 | # Random Number Generation | ||
| 1796 | # | ||
| 1797 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
| 1798 | CONFIG_CRYPTO_HW=y | ||
| 1799 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
| 1800 | CONFIG_CRYPTO_DEV_TALITOS=y | ||
| 1801 | # CONFIG_PPC_CLOCK is not set | ||
| 1802 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/configs/85xx/mpc8568mds_defconfig b/arch/powerpc/configs/85xx/mpc8568mds_defconfig deleted file mode 100644 index 186c1010a135..000000000000 --- a/arch/powerpc/configs/85xx/mpc8568mds_defconfig +++ /dev/null | |||
| @@ -1,1309 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.29-rc2 | ||
| 4 | # Mon Jan 26 15:36:10 2009 | ||
| 5 | # | ||
| 6 | # CONFIG_PPC64 is not set | ||
| 7 | |||
| 8 | # | ||
| 9 | # Processor support | ||
| 10 | # | ||
| 11 | # CONFIG_6xx is not set | ||
| 12 | CONFIG_PPC_85xx=y | ||
| 13 | # CONFIG_PPC_8xx is not set | ||
| 14 | # CONFIG_40x is not set | ||
| 15 | # CONFIG_44x is not set | ||
| 16 | # CONFIG_E200 is not set | ||
| 17 | CONFIG_E500=y | ||
| 18 | # CONFIG_PPC_E500MC is not set | ||
| 19 | CONFIG_BOOKE=y | ||
| 20 | CONFIG_FSL_BOOKE=y | ||
| 21 | CONFIG_FSL_EMB_PERFMON=y | ||
| 22 | # CONFIG_PHYS_64BIT is not set | ||
| 23 | CONFIG_SPE=y | ||
| 24 | CONFIG_PPC_MMU_NOHASH=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | ||
| 26 | # CONFIG_SMP is not set | ||
| 27 | CONFIG_PPC32=y | ||
| 28 | CONFIG_WORD_SIZE=32 | ||
| 29 | # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set | ||
| 30 | CONFIG_MMU=y | ||
| 31 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
| 32 | CONFIG_GENERIC_TIME=y | ||
| 33 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
| 34 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 35 | CONFIG_GENERIC_HARDIRQS=y | ||
| 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
| 37 | CONFIG_IRQ_PER_CPU=y | ||
| 38 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
| 40 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 41 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
| 42 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
| 43 | CONFIG_GENERIC_HWEIGHT=y | ||
| 44 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 45 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
| 46 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
| 47 | CONFIG_PPC=y | ||
| 48 | CONFIG_EARLY_PRINTK=y | ||
| 49 | CONFIG_GENERIC_NVRAM=y | ||
| 50 | CONFIG_SCHED_OMIT_FRAME_POINTER=y | ||
| 51 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
| 52 | CONFIG_PPC_OF=y | ||
| 53 | CONFIG_OF=y | ||
| 54 | CONFIG_PPC_UDBG_16550=y | ||
| 55 | # CONFIG_GENERIC_TBSYNC is not set | ||
| 56 | CONFIG_AUDIT_ARCH=y | ||
| 57 | CONFIG_GENERIC_BUG=y | ||
| 58 | CONFIG_DEFAULT_UIMAGE=y | ||
| 59 | # CONFIG_PPC_DCR_NATIVE is not set | ||
| 60 | # CONFIG_PPC_DCR_MMIO is not set | ||
| 61 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 62 | |||
| 63 | # | ||
| 64 | # General setup | ||
| 65 | # | ||
| 66 | CONFIG_EXPERIMENTAL=y | ||
| 67 | CONFIG_BROKEN_ON_SMP=y | ||
| 68 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 69 | CONFIG_LOCALVERSION="" | ||
| 70 | CONFIG_LOCALVERSION_AUTO=y | ||
| 71 | CONFIG_SWAP=y | ||
| 72 | CONFIG_SYSVIPC=y | ||
| 73 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 74 | # CONFIG_POSIX_MQUEUE is not set | ||
| 75 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
| 76 | # CONFIG_TASKSTATS is not set | ||
| 77 | # CONFIG_AUDIT is not set | ||
| 78 | # CONFIG_IKCONFIG is not set | ||
| 79 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 80 | CONFIG_GROUP_SCHED=y | ||
| 81 | # CONFIG_FAIR_GROUP_SCHED is not set | ||
| 82 | # CONFIG_RT_GROUP_SCHED is not set | ||
| 83 | CONFIG_USER_SCHED=y | ||
| 84 | # CONFIG_CGROUP_SCHED is not set | ||
| 85 | # CONFIG_CGROUPS is not set | ||
| 86 | CONFIG_SYSFS_DEPRECATED=y | ||
| 87 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
| 88 | # CONFIG_RELAY is not set | ||
| 89 | # CONFIG_NAMESPACES is not set | ||
| 90 | CONFIG_BLK_DEV_INITRD=y | ||
| 91 | CONFIG_INITRAMFS_SOURCE="" | ||
| 92 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
| 93 | CONFIG_SYSCTL=y | ||
| 94 | CONFIG_EMBEDDED=y | ||
| 95 | CONFIG_SYSCTL_SYSCALL=y | ||
| 96 | # CONFIG_KALLSYMS is not set | ||
| 97 | CONFIG_HOTPLUG=y | ||
| 98 | CONFIG_PRINTK=y | ||
| 99 | CONFIG_BUG=y | ||
| 100 | CONFIG_ELF_CORE=y | ||
| 101 | CONFIG_COMPAT_BRK=y | ||
| 102 | CONFIG_BASE_FULL=y | ||
| 103 | CONFIG_FUTEX=y | ||
| 104 | CONFIG_ANON_INODES=y | ||
| 105 | # CONFIG_EPOLL is not set | ||
| 106 | CONFIG_SIGNALFD=y | ||
| 107 | CONFIG_TIMERFD=y | ||
| 108 | CONFIG_EVENTFD=y | ||
| 109 | CONFIG_SHMEM=y | ||
| 110 | CONFIG_AIO=y | ||
| 111 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 112 | CONFIG_PCI_QUIRKS=y | ||
| 113 | CONFIG_SLUB_DEBUG=y | ||
| 114 | # CONFIG_SLAB is not set | ||
| 115 | CONFIG_SLUB=y | ||
| 116 | # CONFIG_SLOB is not set | ||
| 117 | # CONFIG_PROFILING is not set | ||
| 118 | CONFIG_HAVE_OPROFILE=y | ||
| 119 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
| 120 | CONFIG_HAVE_IOREMAP_PROT=y | ||
| 121 | CONFIG_HAVE_KPROBES=y | ||
| 122 | CONFIG_HAVE_KRETPROBES=y | ||
| 123 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
| 124 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
| 125 | CONFIG_SLABINFO=y | ||
| 126 | CONFIG_RT_MUTEXES=y | ||
| 127 | CONFIG_BASE_SMALL=0 | ||
| 128 | CONFIG_MODULES=y | ||
| 129 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
| 130 | CONFIG_MODULE_UNLOAD=y | ||
| 131 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
| 132 | # CONFIG_MODVERSIONS is not set | ||
| 133 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 134 | CONFIG_BLOCK=y | ||
| 135 | # CONFIG_LBD is not set | ||
| 136 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 137 | # CONFIG_BLK_DEV_BSG is not set | ||
| 138 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
| 139 | |||
| 140 | # | ||
| 141 | # IO Schedulers | ||
| 142 | # | ||
| 143 | CONFIG_IOSCHED_NOOP=y | ||
| 144 | CONFIG_IOSCHED_AS=y | ||
| 145 | CONFIG_IOSCHED_DEADLINE=y | ||
| 146 | CONFIG_IOSCHED_CFQ=y | ||
| 147 | CONFIG_DEFAULT_AS=y | ||
| 148 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 149 | # CONFIG_DEFAULT_CFQ is not set | ||
| 150 | # CONFIG_DEFAULT_NOOP is not set | ||
| 151 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
| 152 | CONFIG_CLASSIC_RCU=y | ||
| 153 | # CONFIG_TREE_RCU is not set | ||
| 154 | # CONFIG_PREEMPT_RCU is not set | ||
| 155 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 156 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 157 | # CONFIG_FREEZER is not set | ||
| 158 | |||
| 159 | # | ||
| 160 | # Platform support | ||
| 161 | # | ||
| 162 | # CONFIG_PPC_CELL is not set | ||
| 163 | # CONFIG_PPC_CELL_NATIVE is not set | ||
| 164 | # CONFIG_PQ2ADS is not set | ||
| 165 | CONFIG_MPC85xx=y | ||
| 166 | # CONFIG_MPC8540_ADS is not set | ||
| 167 | # CONFIG_MPC8560_ADS is not set | ||
| 168 | # CONFIG_MPC85xx_CDS is not set | ||
| 169 | CONFIG_MPC85xx_MDS=y | ||
| 170 | # CONFIG_MPC8536_DS is not set | ||
| 171 | # CONFIG_MPC85xx_DS is not set | ||
| 172 | # CONFIG_KSI8560 is not set | ||
| 173 | # CONFIG_STX_GP3 is not set | ||
| 174 | # CONFIG_TQM8540 is not set | ||
| 175 | # CONFIG_TQM8541 is not set | ||
| 176 | # CONFIG_TQM8548 is not set | ||
| 177 | # CONFIG_TQM8555 is not set | ||
| 178 | # CONFIG_TQM8560 is not set | ||
| 179 | # CONFIG_SBC8548 is not set | ||
| 180 | # CONFIG_SBC8560 is not set | ||
| 181 | # CONFIG_IPIC is not set | ||
| 182 | CONFIG_MPIC=y | ||
| 183 | # CONFIG_MPIC_WEIRD is not set | ||
| 184 | # CONFIG_PPC_I8259 is not set | ||
| 185 | # CONFIG_PPC_RTAS is not set | ||
| 186 | # CONFIG_MMIO_NVRAM is not set | ||
| 187 | # CONFIG_PPC_MPC106 is not set | ||
| 188 | # CONFIG_PPC_970_NAP is not set | ||
| 189 | # CONFIG_PPC_INDIRECT_IO is not set | ||
| 190 | # CONFIG_GENERIC_IOMAP is not set | ||
| 191 | # CONFIG_CPU_FREQ is not set | ||
| 192 | CONFIG_QUICC_ENGINE=y | ||
| 193 | # CONFIG_QE_GPIO is not set | ||
| 194 | # CONFIG_CPM2 is not set | ||
| 195 | # CONFIG_FSL_ULI1575 is not set | ||
| 196 | # CONFIG_MPC8xxx_GPIO is not set | ||
| 197 | # CONFIG_SIMPLE_GPIO is not set | ||
| 198 | |||
| 199 | # | ||
| 200 | # Kernel options | ||
| 201 | # | ||
| 202 | # CONFIG_HIGHMEM is not set | ||
| 203 | CONFIG_TICK_ONESHOT=y | ||
| 204 | CONFIG_NO_HZ=y | ||
| 205 | CONFIG_HIGH_RES_TIMERS=y | ||
| 206 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 207 | # CONFIG_HZ_100 is not set | ||
| 208 | CONFIG_HZ_250=y | ||
| 209 | # CONFIG_HZ_300 is not set | ||
| 210 | # CONFIG_HZ_1000 is not set | ||
| 211 | CONFIG_HZ=250 | ||
| 212 | CONFIG_SCHED_HRTICK=y | ||
| 213 | CONFIG_PREEMPT_NONE=y | ||
| 214 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
| 215 | # CONFIG_PREEMPT is not set | ||
| 216 | CONFIG_BINFMT_ELF=y | ||
| 217 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| 218 | # CONFIG_HAVE_AOUT is not set | ||
| 219 | # CONFIG_BINFMT_MISC is not set | ||
| 220 | CONFIG_MATH_EMULATION=y | ||
| 221 | # CONFIG_IOMMU_HELPER is not set | ||
| 222 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
| 223 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
| 224 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
| 225 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
| 226 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
| 227 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 228 | CONFIG_FLATMEM_MANUAL=y | ||
| 229 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 230 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 231 | CONFIG_FLATMEM=y | ||
| 232 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 233 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
| 234 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 235 | CONFIG_MIGRATION=y | ||
| 236 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
| 237 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 238 | CONFIG_BOUNCE=y | ||
| 239 | CONFIG_VIRT_TO_BUS=y | ||
| 240 | CONFIG_UNEVICTABLE_LRU=y | ||
| 241 | CONFIG_PPC_4K_PAGES=y | ||
| 242 | # CONFIG_PPC_16K_PAGES is not set | ||
| 243 | # CONFIG_PPC_64K_PAGES is not set | ||
| 244 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
| 245 | CONFIG_PROC_DEVICETREE=y | ||
| 246 | # CONFIG_CMDLINE_BOOL is not set | ||
| 247 | CONFIG_EXTRA_TARGETS="" | ||
| 248 | # CONFIG_PM is not set | ||
| 249 | CONFIG_SECCOMP=y | ||
| 250 | CONFIG_ISA_DMA_API=y | ||
| 251 | |||
| 252 | # | ||
| 253 | # Bus options | ||
| 254 | # | ||
| 255 | CONFIG_ZONE_DMA=y | ||
| 256 | CONFIG_PPC_INDIRECT_PCI=y | ||
| 257 | CONFIG_FSL_SOC=y | ||
| 258 | CONFIG_FSL_PCI=y | ||
| 259 | CONFIG_PPC_PCI_CHOICE=y | ||
| 260 | CONFIG_PCI=y | ||
| 261 | CONFIG_PCI_DOMAINS=y | ||
| 262 | CONFIG_PCI_SYSCALL=y | ||
| 263 | # CONFIG_PCIEPORTBUS is not set | ||
| 264 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
| 265 | # CONFIG_PCI_MSI is not set | ||
| 266 | # CONFIG_PCI_LEGACY is not set | ||
| 267 | # CONFIG_PCI_DEBUG is not set | ||
| 268 | # CONFIG_PCI_STUB is not set | ||
| 269 | # CONFIG_PCCARD is not set | ||
| 270 | # CONFIG_HOTPLUG_PCI is not set | ||
| 271 | # CONFIG_HAS_RAPIDIO is not set | ||
| 272 | |||
| 273 | # | ||
| 274 | # Advanced setup | ||
| 275 | # | ||
| 276 | # CONFIG_ADVANCED_OPTIONS is not set | ||
| 277 | |||
| 278 | # | ||
| 279 | # Default settings for advanced configuration options are used | ||
| 280 | # | ||
| 281 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
| 282 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
| 283 | CONFIG_KERNEL_START=0xc0000000 | ||
| 284 | CONFIG_PHYSICAL_START=0x00000000 | ||
| 285 | CONFIG_PHYSICAL_ALIGN=0x10000000 | ||
| 286 | CONFIG_TASK_SIZE=0xc0000000 | ||
| 287 | CONFIG_NET=y | ||
| 288 | |||
| 289 | # | ||
| 290 | # Networking options | ||
| 291 | # | ||
| 292 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 293 | CONFIG_PACKET=y | ||
| 294 | # CONFIG_PACKET_MMAP is not set | ||
| 295 | CONFIG_UNIX=y | ||
| 296 | CONFIG_XFRM=y | ||
| 297 | # CONFIG_XFRM_USER is not set | ||
| 298 | # CONFIG_XFRM_SUB_POLICY is not set | ||
| 299 | # CONFIG_XFRM_MIGRATE is not set | ||
| 300 | # CONFIG_XFRM_STATISTICS is not set | ||
| 301 | # CONFIG_NET_KEY is not set | ||
| 302 | CONFIG_INET=y | ||
| 303 | CONFIG_IP_MULTICAST=y | ||
| 304 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
| 305 | CONFIG_IP_FIB_HASH=y | ||
| 306 | CONFIG_IP_PNP=y | ||
| 307 | CONFIG_IP_PNP_DHCP=y | ||
| 308 | CONFIG_IP_PNP_BOOTP=y | ||
| 309 | # CONFIG_IP_PNP_RARP is not set | ||
| 310 | # CONFIG_NET_IPIP is not set | ||
| 311 | # CONFIG_NET_IPGRE is not set | ||
| 312 | # CONFIG_IP_MROUTE is not set | ||
| 313 | # CONFIG_ARPD is not set | ||
| 314 | CONFIG_SYN_COOKIES=y | ||
| 315 | # CONFIG_INET_AH is not set | ||
| 316 | # CONFIG_INET_ESP is not set | ||
| 317 | # CONFIG_INET_IPCOMP is not set | ||
| 318 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 319 | # CONFIG_INET_TUNNEL is not set | ||
| 320 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
| 321 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
| 322 | CONFIG_INET_XFRM_MODE_BEET=y | ||
| 323 | # CONFIG_INET_LRO is not set | ||
| 324 | CONFIG_INET_DIAG=y | ||
| 325 | CONFIG_INET_TCP_DIAG=y | ||
| 326 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 327 | CONFIG_TCP_CONG_CUBIC=y | ||
| 328 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 329 | # CONFIG_TCP_MD5SIG is not set | ||
| 330 | # CONFIG_IPV6 is not set | ||
| 331 | # CONFIG_NETWORK_SECMARK is not set | ||
| 332 | # CONFIG_NETFILTER is not set | ||
| 333 | # CONFIG_IP_DCCP is not set | ||
| 334 | # CONFIG_IP_SCTP is not set | ||
| 335 | # CONFIG_TIPC is not set | ||
| 336 | # CONFIG_ATM is not set | ||
| 337 | # CONFIG_BRIDGE is not set | ||
| 338 | # CONFIG_NET_DSA is not set | ||
| 339 | # CONFIG_VLAN_8021Q is not set | ||
| 340 | # CONFIG_DECNET is not set | ||
| 341 | # CONFIG_LLC2 is not set | ||
| 342 | # CONFIG_IPX is not set | ||
| 343 | # CONFIG_ATALK is not set | ||
| 344 | # CONFIG_X25 is not set | ||
| 345 | # CONFIG_LAPB is not set | ||
| 346 | # CONFIG_ECONET is not set | ||
| 347 | # CONFIG_WAN_ROUTER is not set | ||
| 348 | # CONFIG_NET_SCHED is not set | ||
| 349 | # CONFIG_DCB is not set | ||
| 350 | |||
| 351 | # | ||
| 352 | # Network testing | ||
| 353 | # | ||
| 354 | # CONFIG_NET_PKTGEN is not set | ||
| 355 | # CONFIG_HAMRADIO is not set | ||
| 356 | # CONFIG_CAN is not set | ||
| 357 | # CONFIG_IRDA is not set | ||
| 358 | # CONFIG_BT is not set | ||
| 359 | # CONFIG_AF_RXRPC is not set | ||
| 360 | # CONFIG_PHONET is not set | ||
| 361 | CONFIG_WIRELESS=y | ||
| 362 | # CONFIG_CFG80211 is not set | ||
| 363 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 364 | # CONFIG_WIRELESS_EXT is not set | ||
| 365 | # CONFIG_LIB80211 is not set | ||
| 366 | # CONFIG_MAC80211 is not set | ||
| 367 | # CONFIG_WIMAX is not set | ||
| 368 | # CONFIG_RFKILL is not set | ||
| 369 | # CONFIG_NET_9P is not set | ||
| 370 | |||
| 371 | # | ||
| 372 | # Device Drivers | ||
| 373 | # | ||
| 374 | |||
| 375 | # | ||
| 376 | # Generic Driver Options | ||
| 377 | # | ||
| 378 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 379 | CONFIG_STANDALONE=y | ||
| 380 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 381 | # CONFIG_FW_LOADER is not set | ||
| 382 | # CONFIG_DEBUG_DRIVER is not set | ||
| 383 | # CONFIG_DEBUG_DEVRES is not set | ||
| 384 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 385 | # CONFIG_CONNECTOR is not set | ||
| 386 | # CONFIG_MTD is not set | ||
| 387 | CONFIG_OF_DEVICE=y | ||
| 388 | CONFIG_OF_I2C=y | ||
| 389 | # CONFIG_PARPORT is not set | ||
| 390 | CONFIG_BLK_DEV=y | ||
| 391 | # CONFIG_BLK_DEV_FD is not set | ||
| 392 | # CONFIG_BLK_CPQ_DA is not set | ||
| 393 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
| 394 | # CONFIG_BLK_DEV_DAC960 is not set | ||
| 395 | # CONFIG_BLK_DEV_UMEM is not set | ||
| 396 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 397 | CONFIG_BLK_DEV_LOOP=y | ||
| 398 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
| 399 | # CONFIG_BLK_DEV_NBD is not set | ||
| 400 | # CONFIG_BLK_DEV_SX8 is not set | ||
| 401 | CONFIG_BLK_DEV_RAM=y | ||
| 402 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
| 403 | CONFIG_BLK_DEV_RAM_SIZE=32768 | ||
| 404 | # CONFIG_BLK_DEV_XIP is not set | ||
| 405 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 406 | # CONFIG_ATA_OVER_ETH is not set | ||
| 407 | # CONFIG_BLK_DEV_HD is not set | ||
| 408 | CONFIG_MISC_DEVICES=y | ||
| 409 | # CONFIG_PHANTOM is not set | ||
| 410 | # CONFIG_EEPROM_93CX6 is not set | ||
| 411 | # CONFIG_SGI_IOC4 is not set | ||
| 412 | # CONFIG_TIFM_CORE is not set | ||
| 413 | # CONFIG_ICS932S401 is not set | ||
| 414 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
| 415 | # CONFIG_HP_ILO is not set | ||
| 416 | # CONFIG_C2PORT is not set | ||
| 417 | CONFIG_HAVE_IDE=y | ||
| 418 | # CONFIG_IDE is not set | ||
| 419 | |||
| 420 | # | ||
| 421 | # SCSI device support | ||
| 422 | # | ||
| 423 | # CONFIG_RAID_ATTRS is not set | ||
| 424 | CONFIG_SCSI=y | ||
| 425 | CONFIG_SCSI_DMA=y | ||
| 426 | # CONFIG_SCSI_TGT is not set | ||
| 427 | # CONFIG_SCSI_NETLINK is not set | ||
| 428 | CONFIG_SCSI_PROC_FS=y | ||
| 429 | |||
| 430 | # | ||
| 431 | # SCSI support type (disk, tape, CD-ROM) | ||
| 432 | # | ||
| 433 | # CONFIG_BLK_DEV_SD is not set | ||
| 434 | # CONFIG_CHR_DEV_ST is not set | ||
| 435 | # CONFIG_CHR_DEV_OSST is not set | ||
| 436 | # CONFIG_BLK_DEV_SR is not set | ||
| 437 | # CONFIG_CHR_DEV_SG is not set | ||
| 438 | # CONFIG_CHR_DEV_SCH is not set | ||
| 439 | |||
| 440 | # | ||
| 441 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
| 442 | # | ||
| 443 | # CONFIG_SCSI_MULTI_LUN is not set | ||
| 444 | # CONFIG_SCSI_CONSTANTS is not set | ||
| 445 | # CONFIG_SCSI_LOGGING is not set | ||
| 446 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
| 447 | CONFIG_SCSI_WAIT_SCAN=m | ||
| 448 | |||
| 449 | # | ||
| 450 | # SCSI Transports | ||
| 451 | # | ||
| 452 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
| 453 | # CONFIG_SCSI_FC_ATTRS is not set | ||
| 454 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
| 455 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
| 456 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
| 457 | CONFIG_SCSI_LOWLEVEL=y | ||
| 458 | # CONFIG_ISCSI_TCP is not set | ||
| 459 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
| 460 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
| 461 | # CONFIG_SCSI_3W_9XXX is not set | ||
| 462 | # CONFIG_SCSI_ACARD is not set | ||
| 463 | # CONFIG_SCSI_AACRAID is not set | ||
| 464 | # CONFIG_SCSI_AIC7XXX is not set | ||
| 465 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
| 466 | # CONFIG_SCSI_AIC79XX is not set | ||
| 467 | # CONFIG_SCSI_AIC94XX is not set | ||
| 468 | # CONFIG_SCSI_DPT_I2O is not set | ||
| 469 | # CONFIG_SCSI_ADVANSYS is not set | ||
| 470 | # CONFIG_SCSI_ARCMSR is not set | ||
| 471 | # CONFIG_MEGARAID_NEWGEN is not set | ||
| 472 | # CONFIG_MEGARAID_LEGACY is not set | ||
| 473 | # CONFIG_MEGARAID_SAS is not set | ||
| 474 | # CONFIG_SCSI_HPTIOP is not set | ||
| 475 | # CONFIG_SCSI_BUSLOGIC is not set | ||
| 476 | # CONFIG_LIBFC is not set | ||
| 477 | # CONFIG_FCOE is not set | ||
| 478 | # CONFIG_SCSI_DMX3191D is not set | ||
| 479 | # CONFIG_SCSI_EATA is not set | ||
| 480 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
| 481 | # CONFIG_SCSI_GDTH is not set | ||
| 482 | # CONFIG_SCSI_IPS is not set | ||
| 483 | # CONFIG_SCSI_INITIO is not set | ||
| 484 | # CONFIG_SCSI_INIA100 is not set | ||
| 485 | # CONFIG_SCSI_MVSAS is not set | ||
| 486 | # CONFIG_SCSI_STEX is not set | ||
| 487 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
| 488 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
| 489 | # CONFIG_SCSI_QLA_FC is not set | ||
| 490 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
| 491 | # CONFIG_SCSI_LPFC is not set | ||
| 492 | # CONFIG_SCSI_DC395x is not set | ||
| 493 | # CONFIG_SCSI_DC390T is not set | ||
| 494 | # CONFIG_SCSI_NSP32 is not set | ||
| 495 | # CONFIG_SCSI_DEBUG is not set | ||
| 496 | # CONFIG_SCSI_SRP is not set | ||
| 497 | # CONFIG_SCSI_DH is not set | ||
| 498 | # CONFIG_ATA is not set | ||
| 499 | # CONFIG_MD is not set | ||
| 500 | # CONFIG_FUSION is not set | ||
| 501 | |||
| 502 | # | ||
| 503 | # IEEE 1394 (FireWire) support | ||
| 504 | # | ||
| 505 | |||
| 506 | # | ||
| 507 | # Enable only one of the two stacks, unless you know what you are doing | ||
| 508 | # | ||
| 509 | # CONFIG_FIREWIRE is not set | ||
| 510 | # CONFIG_IEEE1394 is not set | ||
| 511 | # CONFIG_I2O is not set | ||
| 512 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
| 513 | CONFIG_NETDEVICES=y | ||
| 514 | # CONFIG_DUMMY is not set | ||
| 515 | # CONFIG_BONDING is not set | ||
| 516 | # CONFIG_MACVLAN is not set | ||
| 517 | # CONFIG_EQUALIZER is not set | ||
| 518 | # CONFIG_TUN is not set | ||
| 519 | # CONFIG_VETH is not set | ||
| 520 | # CONFIG_ARCNET is not set | ||
| 521 | CONFIG_PHYLIB=y | ||
| 522 | |||
| 523 | # | ||
| 524 | # MII PHY device drivers | ||
| 525 | # | ||
| 526 | CONFIG_MARVELL_PHY=y | ||
| 527 | # CONFIG_DAVICOM_PHY is not set | ||
| 528 | # CONFIG_QSEMI_PHY is not set | ||
| 529 | # CONFIG_LXT_PHY is not set | ||
| 530 | # CONFIG_CICADA_PHY is not set | ||
| 531 | # CONFIG_VITESSE_PHY is not set | ||
| 532 | # CONFIG_SMSC_PHY is not set | ||
| 533 | # CONFIG_BROADCOM_PHY is not set | ||
| 534 | # CONFIG_ICPLUS_PHY is not set | ||
| 535 | # CONFIG_REALTEK_PHY is not set | ||
| 536 | # CONFIG_NATIONAL_PHY is not set | ||
| 537 | # CONFIG_STE10XP is not set | ||
| 538 | # CONFIG_LSI_ET1011C_PHY is not set | ||
| 539 | # CONFIG_FIXED_PHY is not set | ||
| 540 | # CONFIG_MDIO_BITBANG is not set | ||
| 541 | CONFIG_NET_ETHERNET=y | ||
| 542 | CONFIG_MII=y | ||
| 543 | # CONFIG_HAPPYMEAL is not set | ||
| 544 | # CONFIG_SUNGEM is not set | ||
| 545 | # CONFIG_CASSINI is not set | ||
| 546 | # CONFIG_NET_VENDOR_3COM is not set | ||
| 547 | # CONFIG_NET_TULIP is not set | ||
| 548 | # CONFIG_HP100 is not set | ||
| 549 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 550 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 551 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 552 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 553 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
| 554 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
| 555 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
| 556 | # CONFIG_NET_PCI is not set | ||
| 557 | # CONFIG_B44 is not set | ||
| 558 | # CONFIG_ATL2 is not set | ||
| 559 | CONFIG_NETDEV_1000=y | ||
| 560 | # CONFIG_ACENIC is not set | ||
| 561 | # CONFIG_DL2K is not set | ||
| 562 | # CONFIG_E1000 is not set | ||
| 563 | # CONFIG_E1000E is not set | ||
| 564 | # CONFIG_IP1000 is not set | ||
| 565 | # CONFIG_IGB is not set | ||
| 566 | # CONFIG_NS83820 is not set | ||
| 567 | # CONFIG_HAMACHI is not set | ||
| 568 | # CONFIG_YELLOWFIN is not set | ||
| 569 | # CONFIG_R8169 is not set | ||
| 570 | # CONFIG_SIS190 is not set | ||
| 571 | # CONFIG_SKGE is not set | ||
| 572 | # CONFIG_SKY2 is not set | ||
| 573 | # CONFIG_VIA_VELOCITY is not set | ||
| 574 | # CONFIG_TIGON3 is not set | ||
| 575 | # CONFIG_BNX2 is not set | ||
| 576 | CONFIG_GIANFAR=y | ||
| 577 | # CONFIG_UCC_GETH is not set | ||
| 578 | # CONFIG_QLA3XXX is not set | ||
| 579 | # CONFIG_ATL1 is not set | ||
| 580 | # CONFIG_ATL1E is not set | ||
| 581 | # CONFIG_JME is not set | ||
| 582 | CONFIG_NETDEV_10000=y | ||
| 583 | # CONFIG_CHELSIO_T1 is not set | ||
| 584 | CONFIG_CHELSIO_T3_DEPENDS=y | ||
| 585 | # CONFIG_CHELSIO_T3 is not set | ||
| 586 | # CONFIG_ENIC is not set | ||
| 587 | # CONFIG_IXGBE is not set | ||
| 588 | # CONFIG_IXGB is not set | ||
| 589 | # CONFIG_S2IO is not set | ||
| 590 | # CONFIG_MYRI10GE is not set | ||
| 591 | # CONFIG_NETXEN_NIC is not set | ||
| 592 | # CONFIG_NIU is not set | ||
| 593 | # CONFIG_MLX4_EN is not set | ||
| 594 | # CONFIG_MLX4_CORE is not set | ||
| 595 | # CONFIG_TEHUTI is not set | ||
| 596 | # CONFIG_BNX2X is not set | ||
| 597 | # CONFIG_QLGE is not set | ||
| 598 | # CONFIG_SFC is not set | ||
| 599 | # CONFIG_TR is not set | ||
| 600 | |||
| 601 | # | ||
| 602 | # Wireless LAN | ||
| 603 | # | ||
| 604 | # CONFIG_WLAN_PRE80211 is not set | ||
| 605 | # CONFIG_WLAN_80211 is not set | ||
| 606 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 607 | |||
| 608 | # | ||
| 609 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
| 610 | # | ||
| 611 | # CONFIG_WAN is not set | ||
| 612 | # CONFIG_FDDI is not set | ||
| 613 | # CONFIG_HIPPI is not set | ||
| 614 | # CONFIG_PPP is not set | ||
| 615 | # CONFIG_SLIP is not set | ||
| 616 | # CONFIG_NET_FC is not set | ||
| 617 | # CONFIG_NETCONSOLE is not set | ||
| 618 | # CONFIG_NETPOLL is not set | ||
| 619 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 620 | # CONFIG_ISDN is not set | ||
| 621 | # CONFIG_PHONE is not set | ||
| 622 | |||
| 623 | # | ||
| 624 | # Input device support | ||
| 625 | # | ||
| 626 | CONFIG_INPUT=y | ||
| 627 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
| 628 | # CONFIG_INPUT_POLLDEV is not set | ||
| 629 | |||
| 630 | # | ||
| 631 | # Userland interfaces | ||
| 632 | # | ||
| 633 | # CONFIG_INPUT_MOUSEDEV is not set | ||
| 634 | # CONFIG_INPUT_JOYDEV is not set | ||
| 635 | # CONFIG_INPUT_EVDEV is not set | ||
| 636 | # CONFIG_INPUT_EVBUG is not set | ||
| 637 | |||
| 638 | # | ||
| 639 | # Input Device Drivers | ||
| 640 | # | ||
| 641 | # CONFIG_INPUT_KEYBOARD is not set | ||
| 642 | # CONFIG_INPUT_MOUSE is not set | ||
| 643 | # CONFIG_INPUT_JOYSTICK is not set | ||
| 644 | # CONFIG_INPUT_TABLET is not set | ||
| 645 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
| 646 | # CONFIG_INPUT_MISC is not set | ||
| 647 | |||
| 648 | # | ||
| 649 | # Hardware I/O ports | ||
| 650 | # | ||
| 651 | # CONFIG_SERIO is not set | ||
| 652 | # CONFIG_GAMEPORT is not set | ||
| 653 | |||
| 654 | # | ||
| 655 | # Character devices | ||
| 656 | # | ||
| 657 | # CONFIG_VT is not set | ||
| 658 | CONFIG_DEVKMEM=y | ||
| 659 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 660 | # CONFIG_NOZOMI is not set | ||
| 661 | |||
| 662 | # | ||
| 663 | # Serial drivers | ||
| 664 | # | ||
| 665 | CONFIG_SERIAL_8250=y | ||
| 666 | CONFIG_SERIAL_8250_CONSOLE=y | ||
| 667 | CONFIG_SERIAL_8250_PCI=y | ||
| 668 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
| 669 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
| 670 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
| 671 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
| 672 | |||
| 673 | # | ||
| 674 | # Non-8250 serial port support | ||
| 675 | # | ||
| 676 | # CONFIG_SERIAL_UARTLITE is not set | ||
| 677 | CONFIG_SERIAL_CORE=y | ||
| 678 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 679 | # CONFIG_SERIAL_JSM is not set | ||
| 680 | # CONFIG_SERIAL_OF_PLATFORM is not set | ||
| 681 | # CONFIG_SERIAL_QE is not set | ||
| 682 | CONFIG_UNIX98_PTYS=y | ||
| 683 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
| 684 | CONFIG_LEGACY_PTYS=y | ||
| 685 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 686 | # CONFIG_HVC_UDBG is not set | ||
| 687 | # CONFIG_IPMI_HANDLER is not set | ||
| 688 | CONFIG_HW_RANDOM=y | ||
| 689 | # CONFIG_NVRAM is not set | ||
| 690 | # CONFIG_R3964 is not set | ||
| 691 | # CONFIG_APPLICOM is not set | ||
| 692 | # CONFIG_RAW_DRIVER is not set | ||
| 693 | # CONFIG_TCG_TPM is not set | ||
| 694 | CONFIG_DEVPORT=y | ||
| 695 | CONFIG_I2C=y | ||
| 696 | CONFIG_I2C_BOARDINFO=y | ||
| 697 | CONFIG_I2C_CHARDEV=y | ||
| 698 | CONFIG_I2C_HELPER_AUTO=y | ||
| 699 | |||
| 700 | # | ||
| 701 | # I2C Hardware Bus support | ||
| 702 | # | ||
| 703 | |||
| 704 | # | ||
| 705 | # PC SMBus host controller drivers | ||
| 706 | # | ||
| 707 | # CONFIG_I2C_ALI1535 is not set | ||
| 708 | # CONFIG_I2C_ALI1563 is not set | ||
| 709 | # CONFIG_I2C_ALI15X3 is not set | ||
| 710 | # CONFIG_I2C_AMD756 is not set | ||
| 711 | # CONFIG_I2C_AMD8111 is not set | ||
| 712 | # CONFIG_I2C_I801 is not set | ||
| 713 | # CONFIG_I2C_ISCH is not set | ||
| 714 | # CONFIG_I2C_PIIX4 is not set | ||
| 715 | # CONFIG_I2C_NFORCE2 is not set | ||
| 716 | # CONFIG_I2C_SIS5595 is not set | ||
| 717 | # CONFIG_I2C_SIS630 is not set | ||
| 718 | # CONFIG_I2C_SIS96X is not set | ||
| 719 | # CONFIG_I2C_VIA is not set | ||
| 720 | # CONFIG_I2C_VIAPRO is not set | ||
| 721 | |||
| 722 | # | ||
| 723 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
| 724 | # | ||
| 725 | CONFIG_I2C_MPC=y | ||
| 726 | # CONFIG_I2C_OCORES is not set | ||
| 727 | # CONFIG_I2C_SIMTEC is not set | ||
| 728 | |||
| 729 | # | ||
| 730 | # External I2C/SMBus adapter drivers | ||
| 731 | # | ||
| 732 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
| 733 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 734 | |||
| 735 | # | ||
| 736 | # Graphics adapter I2C/DDC channel drivers | ||
| 737 | # | ||
| 738 | # CONFIG_I2C_VOODOO3 is not set | ||
| 739 | |||
| 740 | # | ||
| 741 | # Other I2C/SMBus bus drivers | ||
| 742 | # | ||
| 743 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
| 744 | # CONFIG_I2C_STUB is not set | ||
| 745 | |||
| 746 | # | ||
| 747 | # Miscellaneous I2C Chip support | ||
| 748 | # | ||
| 749 | # CONFIG_DS1682 is not set | ||
| 750 | # CONFIG_EEPROM_AT24 is not set | ||
| 751 | # CONFIG_EEPROM_LEGACY is not set | ||
| 752 | # CONFIG_SENSORS_PCF8574 is not set | ||
| 753 | # CONFIG_PCF8575 is not set | ||
| 754 | # CONFIG_SENSORS_PCA9539 is not set | ||
| 755 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 756 | # CONFIG_SENSORS_MAX6875 is not set | ||
| 757 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 758 | # CONFIG_I2C_DEBUG_CORE is not set | ||
| 759 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
| 760 | # CONFIG_I2C_DEBUG_BUS is not set | ||
| 761 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
| 762 | # CONFIG_SPI is not set | ||
| 763 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
| 764 | # CONFIG_GPIOLIB is not set | ||
| 765 | # CONFIG_W1 is not set | ||
| 766 | # CONFIG_POWER_SUPPLY is not set | ||
| 767 | CONFIG_HWMON=y | ||
| 768 | # CONFIG_HWMON_VID is not set | ||
| 769 | # CONFIG_SENSORS_AD7414 is not set | ||
| 770 | # CONFIG_SENSORS_AD7418 is not set | ||
| 771 | # CONFIG_SENSORS_ADM1021 is not set | ||
| 772 | # CONFIG_SENSORS_ADM1025 is not set | ||
| 773 | # CONFIG_SENSORS_ADM1026 is not set | ||
| 774 | # CONFIG_SENSORS_ADM1029 is not set | ||
| 775 | # CONFIG_SENSORS_ADM1031 is not set | ||
| 776 | # CONFIG_SENSORS_ADM9240 is not set | ||
| 777 | # CONFIG_SENSORS_ADT7462 is not set | ||
| 778 | # CONFIG_SENSORS_ADT7470 is not set | ||
| 779 | # CONFIG_SENSORS_ADT7473 is not set | ||
| 780 | # CONFIG_SENSORS_ADT7475 is not set | ||
| 781 | # CONFIG_SENSORS_ATXP1 is not set | ||
| 782 | # CONFIG_SENSORS_DS1621 is not set | ||
| 783 | # CONFIG_SENSORS_I5K_AMB is not set | ||
| 784 | # CONFIG_SENSORS_F71805F is not set | ||
| 785 | # CONFIG_SENSORS_F71882FG is not set | ||
| 786 | # CONFIG_SENSORS_F75375S is not set | ||
| 787 | # CONFIG_SENSORS_GL518SM is not set | ||
| 788 | # CONFIG_SENSORS_GL520SM is not set | ||
| 789 | # CONFIG_SENSORS_IT87 is not set | ||
| 790 | # CONFIG_SENSORS_LM63 is not set | ||
| 791 | # CONFIG_SENSORS_LM75 is not set | ||
| 792 | # CONFIG_SENSORS_LM77 is not set | ||
| 793 | # CONFIG_SENSORS_LM78 is not set | ||
| 794 | # CONFIG_SENSORS_LM80 is not set | ||
| 795 | # CONFIG_SENSORS_LM83 is not set | ||
| 796 | # CONFIG_SENSORS_LM85 is not set | ||
| 797 | # CONFIG_SENSORS_LM87 is not set | ||
| 798 | # CONFIG_SENSORS_LM90 is not set | ||
| 799 | # CONFIG_SENSORS_LM92 is not set | ||
| 800 | # CONFIG_SENSORS_LM93 is not set | ||
| 801 | # CONFIG_SENSORS_LTC4245 is not set | ||
| 802 | # CONFIG_SENSORS_MAX1619 is not set | ||
| 803 | # CONFIG_SENSORS_MAX6650 is not set | ||
| 804 | # CONFIG_SENSORS_PC87360 is not set | ||
| 805 | # CONFIG_SENSORS_PC87427 is not set | ||
| 806 | # CONFIG_SENSORS_SIS5595 is not set | ||
| 807 | # CONFIG_SENSORS_DME1737 is not set | ||
| 808 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
| 809 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
| 810 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
| 811 | # CONFIG_SENSORS_ADS7828 is not set | ||
| 812 | # CONFIG_SENSORS_THMC50 is not set | ||
| 813 | # CONFIG_SENSORS_VIA686A is not set | ||
| 814 | # CONFIG_SENSORS_VT1211 is not set | ||
| 815 | # CONFIG_SENSORS_VT8231 is not set | ||
| 816 | # CONFIG_SENSORS_W83781D is not set | ||
| 817 | # CONFIG_SENSORS_W83791D is not set | ||
| 818 | # CONFIG_SENSORS_W83792D is not set | ||
| 819 | # CONFIG_SENSORS_W83793 is not set | ||
| 820 | # CONFIG_SENSORS_W83L785TS is not set | ||
| 821 | # CONFIG_SENSORS_W83L786NG is not set | ||
| 822 | # CONFIG_SENSORS_W83627HF is not set | ||
| 823 | # CONFIG_SENSORS_W83627EHF is not set | ||
| 824 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
| 825 | # CONFIG_THERMAL is not set | ||
| 826 | # CONFIG_THERMAL_HWMON is not set | ||
| 827 | CONFIG_WATCHDOG=y | ||
| 828 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 829 | |||
| 830 | # | ||
| 831 | # Watchdog Device Drivers | ||
| 832 | # | ||
| 833 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 834 | # CONFIG_ALIM7101_WDT is not set | ||
| 835 | # CONFIG_BOOKE_WDT is not set | ||
| 836 | |||
| 837 | # | ||
| 838 | # PCI-based Watchdog Cards | ||
| 839 | # | ||
| 840 | # CONFIG_PCIPCWATCHDOG is not set | ||
| 841 | # CONFIG_WDTPCI is not set | ||
| 842 | CONFIG_SSB_POSSIBLE=y | ||
| 843 | |||
| 844 | # | ||
| 845 | # Sonics Silicon Backplane | ||
| 846 | # | ||
| 847 | # CONFIG_SSB is not set | ||
| 848 | |||
| 849 | # | ||
| 850 | # Multifunction device drivers | ||
| 851 | # | ||
| 852 | # CONFIG_MFD_CORE is not set | ||
| 853 | # CONFIG_MFD_SM501 is not set | ||
| 854 | # CONFIG_HTC_PASIC3 is not set | ||
| 855 | # CONFIG_TWL4030_CORE is not set | ||
| 856 | # CONFIG_MFD_TMIO is not set | ||
| 857 | # CONFIG_PMIC_DA903X is not set | ||
| 858 | # CONFIG_MFD_WM8400 is not set | ||
| 859 | # CONFIG_MFD_WM8350_I2C is not set | ||
| 860 | # CONFIG_MFD_PCF50633 is not set | ||
| 861 | # CONFIG_REGULATOR is not set | ||
| 862 | |||
| 863 | # | ||
| 864 | # Multimedia devices | ||
| 865 | # | ||
| 866 | |||
| 867 | # | ||
| 868 | # Multimedia core support | ||
| 869 | # | ||
| 870 | # CONFIG_VIDEO_DEV is not set | ||
| 871 | # CONFIG_DVB_CORE is not set | ||
| 872 | # CONFIG_VIDEO_MEDIA is not set | ||
| 873 | |||
| 874 | # | ||
| 875 | # Multimedia drivers | ||
| 876 | # | ||
| 877 | CONFIG_DAB=y | ||
| 878 | |||
| 879 | # | ||
| 880 | # Graphics support | ||
| 881 | # | ||
| 882 | # CONFIG_AGP is not set | ||
| 883 | # CONFIG_DRM is not set | ||
| 884 | # CONFIG_VGASTATE is not set | ||
| 885 | CONFIG_VIDEO_OUTPUT_CONTROL=m | ||
| 886 | # CONFIG_FB is not set | ||
| 887 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 888 | |||
| 889 | # | ||
| 890 | # Display device support | ||
| 891 | # | ||
| 892 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 893 | # CONFIG_SOUND is not set | ||
| 894 | CONFIG_HID_SUPPORT=y | ||
| 895 | CONFIG_HID=y | ||
| 896 | # CONFIG_HID_DEBUG is not set | ||
| 897 | # CONFIG_HIDRAW is not set | ||
| 898 | # CONFIG_HID_PID is not set | ||
| 899 | |||
| 900 | # | ||
| 901 | # Special HID drivers | ||
| 902 | # | ||
| 903 | CONFIG_HID_COMPAT=y | ||
| 904 | CONFIG_USB_SUPPORT=y | ||
| 905 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 906 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 907 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 908 | # CONFIG_USB is not set | ||
| 909 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 910 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 911 | |||
| 912 | # | ||
| 913 | # Enable Host or Gadget support to see Inventra options | ||
| 914 | # | ||
| 915 | |||
| 916 | # | ||
| 917 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | ||
| 918 | # | ||
| 919 | # CONFIG_USB_GADGET is not set | ||
| 920 | |||
| 921 | # | ||
| 922 | # OTG and related infrastructure | ||
| 923 | # | ||
| 924 | # CONFIG_UWB is not set | ||
| 925 | # CONFIG_MMC is not set | ||
| 926 | # CONFIG_MEMSTICK is not set | ||
| 927 | # CONFIG_NEW_LEDS is not set | ||
| 928 | # CONFIG_ACCESSIBILITY is not set | ||
| 929 | # CONFIG_INFINIBAND is not set | ||
| 930 | # CONFIG_EDAC is not set | ||
| 931 | CONFIG_RTC_LIB=y | ||
| 932 | CONFIG_RTC_CLASS=y | ||
| 933 | CONFIG_RTC_HCTOSYS=y | ||
| 934 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
| 935 | # CONFIG_RTC_DEBUG is not set | ||
| 936 | |||
| 937 | # | ||
| 938 | # RTC interfaces | ||
| 939 | # | ||
| 940 | CONFIG_RTC_INTF_SYSFS=y | ||
| 941 | CONFIG_RTC_INTF_PROC=y | ||
| 942 | CONFIG_RTC_INTF_DEV=y | ||
| 943 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 944 | # CONFIG_RTC_DRV_TEST is not set | ||
| 945 | |||
| 946 | # | ||
| 947 | # I2C RTC drivers | ||
| 948 | # | ||
| 949 | # CONFIG_RTC_DRV_DS1307 is not set | ||
| 950 | CONFIG_RTC_DRV_DS1374=y | ||
| 951 | # CONFIG_RTC_DRV_DS1672 is not set | ||
| 952 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
| 953 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
| 954 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
| 955 | # CONFIG_RTC_DRV_X1205 is not set | ||
| 956 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
| 957 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
| 958 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 959 | # CONFIG_RTC_DRV_S35390A is not set | ||
| 960 | # CONFIG_RTC_DRV_FM3130 is not set | ||
| 961 | # CONFIG_RTC_DRV_RX8581 is not set | ||
| 962 | |||
| 963 | # | ||
| 964 | # SPI RTC drivers | ||
| 965 | # | ||
| 966 | |||
| 967 | # | ||
| 968 | # Platform RTC drivers | ||
| 969 | # | ||
| 970 | # CONFIG_RTC_DRV_CMOS is not set | ||
| 971 | # CONFIG_RTC_DRV_DS1286 is not set | ||
| 972 | # CONFIG_RTC_DRV_DS1511 is not set | ||
| 973 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 974 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 975 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 976 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 977 | # CONFIG_RTC_DRV_M48T35 is not set | ||
| 978 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 979 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
| 980 | # CONFIG_RTC_DRV_V3020 is not set | ||
| 981 | |||
| 982 | # | ||
| 983 | # on-CPU RTC drivers | ||
| 984 | # | ||
| 985 | # CONFIG_RTC_DRV_PPC is not set | ||
| 986 | # CONFIG_DMADEVICES is not set | ||
| 987 | # CONFIG_UIO is not set | ||
| 988 | # CONFIG_STAGING is not set | ||
| 989 | |||
| 990 | # | ||
| 991 | # File systems | ||
| 992 | # | ||
| 993 | CONFIG_EXT2_FS=y | ||
| 994 | # CONFIG_EXT2_FS_XATTR is not set | ||
| 995 | # CONFIG_EXT2_FS_XIP is not set | ||
| 996 | CONFIG_EXT3_FS=y | ||
| 997 | CONFIG_EXT3_FS_XATTR=y | ||
| 998 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 999 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1000 | # CONFIG_EXT4_FS is not set | ||
| 1001 | CONFIG_JBD=y | ||
| 1002 | CONFIG_FS_MBCACHE=y | ||
| 1003 | # CONFIG_REISERFS_FS is not set | ||
| 1004 | # CONFIG_JFS_FS is not set | ||
| 1005 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1006 | CONFIG_FILE_LOCKING=y | ||
| 1007 | # CONFIG_XFS_FS is not set | ||
| 1008 | # CONFIG_OCFS2_FS is not set | ||
| 1009 | # CONFIG_BTRFS_FS is not set | ||
| 1010 | CONFIG_DNOTIFY=y | ||
| 1011 | CONFIG_INOTIFY=y | ||
| 1012 | CONFIG_INOTIFY_USER=y | ||
| 1013 | # CONFIG_QUOTA is not set | ||
| 1014 | # CONFIG_AUTOFS_FS is not set | ||
| 1015 | # CONFIG_AUTOFS4_FS is not set | ||
| 1016 | # CONFIG_FUSE_FS is not set | ||
| 1017 | |||
| 1018 | # | ||
| 1019 | # CD-ROM/DVD Filesystems | ||
| 1020 | # | ||
| 1021 | # CONFIG_ISO9660_FS is not set | ||
| 1022 | # CONFIG_UDF_FS is not set | ||
| 1023 | |||
| 1024 | # | ||
| 1025 | # DOS/FAT/NT Filesystems | ||
| 1026 | # | ||
| 1027 | # CONFIG_MSDOS_FS is not set | ||
| 1028 | # CONFIG_VFAT_FS is not set | ||
| 1029 | # CONFIG_NTFS_FS is not set | ||
| 1030 | |||
| 1031 | # | ||
| 1032 | # Pseudo filesystems | ||
| 1033 | # | ||
| 1034 | CONFIG_PROC_FS=y | ||
| 1035 | CONFIG_PROC_KCORE=y | ||
| 1036 | CONFIG_PROC_SYSCTL=y | ||
| 1037 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 1038 | CONFIG_SYSFS=y | ||
| 1039 | CONFIG_TMPFS=y | ||
| 1040 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 1041 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1042 | # CONFIG_CONFIGFS_FS is not set | ||
| 1043 | CONFIG_MISC_FILESYSTEMS=y | ||
| 1044 | # CONFIG_ADFS_FS is not set | ||
| 1045 | # CONFIG_AFFS_FS is not set | ||
| 1046 | # CONFIG_HFS_FS is not set | ||
| 1047 | # CONFIG_HFSPLUS_FS is not set | ||
| 1048 | # CONFIG_BEFS_FS is not set | ||
| 1049 | # CONFIG_BFS_FS is not set | ||
| 1050 | # CONFIG_EFS_FS is not set | ||
| 1051 | # CONFIG_CRAMFS is not set | ||
| 1052 | # CONFIG_SQUASHFS is not set | ||
| 1053 | # CONFIG_VXFS_FS is not set | ||
| 1054 | # CONFIG_MINIX_FS is not set | ||
| 1055 | # CONFIG_OMFS_FS is not set | ||
| 1056 | # CONFIG_HPFS_FS is not set | ||
| 1057 | # CONFIG_QNX4FS_FS is not set | ||
| 1058 | # CONFIG_ROMFS_FS is not set | ||
| 1059 | # CONFIG_SYSV_FS is not set | ||
| 1060 | # CONFIG_UFS_FS is not set | ||
| 1061 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 1062 | CONFIG_NFS_FS=y | ||
| 1063 | CONFIG_NFS_V3=y | ||
| 1064 | # CONFIG_NFS_V3_ACL is not set | ||
| 1065 | CONFIG_NFS_V4=y | ||
| 1066 | CONFIG_ROOT_NFS=y | ||
| 1067 | # CONFIG_NFSD is not set | ||
| 1068 | CONFIG_LOCKD=y | ||
| 1069 | CONFIG_LOCKD_V4=y | ||
| 1070 | CONFIG_NFS_COMMON=y | ||
| 1071 | CONFIG_SUNRPC=y | ||
| 1072 | CONFIG_SUNRPC_GSS=y | ||
| 1073 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1074 | CONFIG_RPCSEC_GSS_KRB5=y | ||
| 1075 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1076 | # CONFIG_SMB_FS is not set | ||
| 1077 | # CONFIG_CIFS is not set | ||
| 1078 | # CONFIG_NCP_FS is not set | ||
| 1079 | # CONFIG_CODA_FS is not set | ||
| 1080 | # CONFIG_AFS_FS is not set | ||
| 1081 | |||
| 1082 | # | ||
| 1083 | # Partition Types | ||
| 1084 | # | ||
| 1085 | CONFIG_PARTITION_ADVANCED=y | ||
| 1086 | # CONFIG_ACORN_PARTITION is not set | ||
| 1087 | # CONFIG_OSF_PARTITION is not set | ||
| 1088 | # CONFIG_AMIGA_PARTITION is not set | ||
| 1089 | # CONFIG_ATARI_PARTITION is not set | ||
| 1090 | # CONFIG_MAC_PARTITION is not set | ||
| 1091 | # CONFIG_MSDOS_PARTITION is not set | ||
| 1092 | # CONFIG_LDM_PARTITION is not set | ||
| 1093 | # CONFIG_SGI_PARTITION is not set | ||
| 1094 | # CONFIG_ULTRIX_PARTITION is not set | ||
| 1095 | # CONFIG_SUN_PARTITION is not set | ||
| 1096 | # CONFIG_KARMA_PARTITION is not set | ||
| 1097 | # CONFIG_EFI_PARTITION is not set | ||
| 1098 | # CONFIG_SYSV68_PARTITION is not set | ||
| 1099 | # CONFIG_NLS is not set | ||
| 1100 | # CONFIG_DLM is not set | ||
| 1101 | |||
| 1102 | # | ||
| 1103 | # Library routines | ||
| 1104 | # | ||
| 1105 | CONFIG_BITREVERSE=y | ||
| 1106 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
| 1107 | # CONFIG_CRC_CCITT is not set | ||
| 1108 | # CONFIG_CRC16 is not set | ||
| 1109 | # CONFIG_CRC_T10DIF is not set | ||
| 1110 | # CONFIG_CRC_ITU_T is not set | ||
| 1111 | CONFIG_CRC32=y | ||
| 1112 | # CONFIG_CRC7 is not set | ||
| 1113 | # CONFIG_LIBCRC32C is not set | ||
| 1114 | CONFIG_PLIST=y | ||
| 1115 | CONFIG_HAS_IOMEM=y | ||
| 1116 | CONFIG_HAS_IOPORT=y | ||
| 1117 | CONFIG_HAS_DMA=y | ||
| 1118 | CONFIG_HAVE_LMB=y | ||
| 1119 | |||
| 1120 | # | ||
| 1121 | # Kernel hacking | ||
| 1122 | # | ||
| 1123 | # CONFIG_PRINTK_TIME is not set | ||
| 1124 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1125 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1126 | CONFIG_FRAME_WARN=1024 | ||
| 1127 | # CONFIG_MAGIC_SYSRQ is not set | ||
| 1128 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1129 | # CONFIG_DEBUG_FS is not set | ||
| 1130 | # CONFIG_HEADERS_CHECK is not set | ||
| 1131 | CONFIG_DEBUG_KERNEL=y | ||
| 1132 | # CONFIG_DEBUG_SHIRQ is not set | ||
| 1133 | CONFIG_DETECT_SOFTLOCKUP=y | ||
| 1134 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
| 1135 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
| 1136 | CONFIG_SCHED_DEBUG=y | ||
| 1137 | # CONFIG_SCHEDSTATS is not set | ||
| 1138 | # CONFIG_TIMER_STATS is not set | ||
| 1139 | # CONFIG_DEBUG_OBJECTS is not set | ||
| 1140 | # CONFIG_SLUB_DEBUG_ON is not set | ||
| 1141 | # CONFIG_SLUB_STATS is not set | ||
| 1142 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 1143 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 1144 | # CONFIG_DEBUG_SPINLOCK is not set | ||
| 1145 | # CONFIG_DEBUG_MUTEXES is not set | ||
| 1146 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
| 1147 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
| 1148 | # CONFIG_DEBUG_KOBJECT is not set | ||
| 1149 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 1150 | # CONFIG_DEBUG_INFO is not set | ||
| 1151 | # CONFIG_DEBUG_VM is not set | ||
| 1152 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
| 1153 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
| 1154 | # CONFIG_DEBUG_LIST is not set | ||
| 1155 | # CONFIG_DEBUG_SG is not set | ||
| 1156 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
| 1157 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
| 1158 | # CONFIG_RCU_TORTURE_TEST is not set | ||
| 1159 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
| 1160 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
| 1161 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
| 1162 | # CONFIG_FAULT_INJECTION is not set | ||
| 1163 | # CONFIG_LATENCYTOP is not set | ||
| 1164 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 1165 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
| 1166 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
| 1167 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
| 1168 | |||
| 1169 | # | ||
| 1170 | # Tracers | ||
| 1171 | # | ||
| 1172 | # CONFIG_FUNCTION_TRACER is not set | ||
| 1173 | # CONFIG_SCHED_TRACER is not set | ||
| 1174 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1175 | # CONFIG_BOOT_TRACER is not set | ||
| 1176 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
| 1177 | # CONFIG_STACK_TRACER is not set | ||
| 1178 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
| 1179 | # CONFIG_SAMPLES is not set | ||
| 1180 | CONFIG_HAVE_ARCH_KGDB=y | ||
| 1181 | # CONFIG_KGDB is not set | ||
| 1182 | CONFIG_PRINT_STACK_DEPTH=64 | ||
| 1183 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
| 1184 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
| 1185 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1186 | # CONFIG_CODE_PATCHING_SELFTEST is not set | ||
| 1187 | # CONFIG_FTR_FIXUP_SELFTEST is not set | ||
| 1188 | # CONFIG_MSI_BITMAP_SELFTEST is not set | ||
| 1189 | # CONFIG_XMON is not set | ||
| 1190 | # CONFIG_IRQSTACKS is not set | ||
| 1191 | # CONFIG_BDI_SWITCH is not set | ||
| 1192 | CONFIG_PPC_EARLY_DEBUG=y | ||
| 1193 | # CONFIG_PPC_EARLY_DEBUG_LPAR is not set | ||
| 1194 | # CONFIG_PPC_EARLY_DEBUG_G5 is not set | ||
| 1195 | # CONFIG_PPC_EARLY_DEBUG_RTAS_PANEL is not set | ||
| 1196 | # CONFIG_PPC_EARLY_DEBUG_RTAS_CONSOLE is not set | ||
| 1197 | # CONFIG_PPC_EARLY_DEBUG_MAPLE is not set | ||
| 1198 | # CONFIG_PPC_EARLY_DEBUG_ISERIES is not set | ||
| 1199 | # CONFIG_PPC_EARLY_DEBUG_PAS_REALMODE is not set | ||
| 1200 | # CONFIG_PPC_EARLY_DEBUG_BEAT is not set | ||
| 1201 | # CONFIG_PPC_EARLY_DEBUG_44x is not set | ||
| 1202 | # CONFIG_PPC_EARLY_DEBUG_40x is not set | ||
| 1203 | # CONFIG_PPC_EARLY_DEBUG_CPM is not set | ||
| 1204 | |||
| 1205 | # | ||
| 1206 | # Security options | ||
| 1207 | # | ||
| 1208 | # CONFIG_KEYS is not set | ||
| 1209 | # CONFIG_SECURITY is not set | ||
| 1210 | # CONFIG_SECURITYFS is not set | ||
| 1211 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
| 1212 | CONFIG_CRYPTO=y | ||
| 1213 | |||
| 1214 | # | ||
| 1215 | # Crypto core or helper | ||
| 1216 | # | ||
| 1217 | # CONFIG_CRYPTO_FIPS is not set | ||
| 1218 | CONFIG_CRYPTO_ALGAPI=y | ||
| 1219 | CONFIG_CRYPTO_ALGAPI2=y | ||
| 1220 | CONFIG_CRYPTO_AEAD2=y | ||
| 1221 | CONFIG_CRYPTO_BLKCIPHER=y | ||
| 1222 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
| 1223 | CONFIG_CRYPTO_HASH=y | ||
| 1224 | CONFIG_CRYPTO_HASH2=y | ||
| 1225 | CONFIG_CRYPTO_RNG2=y | ||
| 1226 | CONFIG_CRYPTO_MANAGER=y | ||
| 1227 | CONFIG_CRYPTO_MANAGER2=y | ||
| 1228 | # CONFIG_CRYPTO_GF128MUL is not set | ||
| 1229 | # CONFIG_CRYPTO_NULL is not set | ||
| 1230 | # CONFIG_CRYPTO_CRYPTD is not set | ||
| 1231 | # CONFIG_CRYPTO_AUTHENC is not set | ||
| 1232 | # CONFIG_CRYPTO_TEST is not set | ||
| 1233 | |||
| 1234 | # | ||
| 1235 | # Authenticated Encryption with Associated Data | ||
| 1236 | # | ||
| 1237 | # CONFIG_CRYPTO_CCM is not set | ||
| 1238 | # CONFIG_CRYPTO_GCM is not set | ||
| 1239 | # CONFIG_CRYPTO_SEQIV is not set | ||
| 1240 | |||
| 1241 | # | ||
| 1242 | # Block modes | ||
| 1243 | # | ||
| 1244 | CONFIG_CRYPTO_CBC=y | ||
| 1245 | # CONFIG_CRYPTO_CTR is not set | ||
| 1246 | # CONFIG_CRYPTO_CTS is not set | ||
| 1247 | CONFIG_CRYPTO_ECB=m | ||
| 1248 | # CONFIG_CRYPTO_LRW is not set | ||
| 1249 | CONFIG_CRYPTO_PCBC=m | ||
| 1250 | # CONFIG_CRYPTO_XTS is not set | ||
| 1251 | |||
| 1252 | # | ||
| 1253 | # Hash modes | ||
| 1254 | # | ||
| 1255 | # CONFIG_CRYPTO_HMAC is not set | ||
| 1256 | # CONFIG_CRYPTO_XCBC is not set | ||
| 1257 | |||
| 1258 | # | ||
| 1259 | # Digest | ||
| 1260 | # | ||
| 1261 | # CONFIG_CRYPTO_CRC32C is not set | ||
| 1262 | # CONFIG_CRYPTO_MD4 is not set | ||
| 1263 | CONFIG_CRYPTO_MD5=y | ||
| 1264 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
| 1265 | # CONFIG_CRYPTO_RMD128 is not set | ||
| 1266 | # CONFIG_CRYPTO_RMD160 is not set | ||
| 1267 | # CONFIG_CRYPTO_RMD256 is not set | ||
| 1268 | # CONFIG_CRYPTO_RMD320 is not set | ||
| 1269 | # CONFIG_CRYPTO_SHA1 is not set | ||
| 1270 | # CONFIG_CRYPTO_SHA256 is not set | ||
| 1271 | # CONFIG_CRYPTO_SHA512 is not set | ||
| 1272 | # CONFIG_CRYPTO_TGR192 is not set | ||
| 1273 | # CONFIG_CRYPTO_WP512 is not set | ||
| 1274 | |||
| 1275 | # | ||
| 1276 | # Ciphers | ||
| 1277 | # | ||
| 1278 | # CONFIG_CRYPTO_AES is not set | ||
| 1279 | # CONFIG_CRYPTO_ANUBIS is not set | ||
| 1280 | # CONFIG_CRYPTO_ARC4 is not set | ||
| 1281 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
| 1282 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
| 1283 | # CONFIG_CRYPTO_CAST5 is not set | ||
| 1284 | # CONFIG_CRYPTO_CAST6 is not set | ||
| 1285 | CONFIG_CRYPTO_DES=y | ||
| 1286 | # CONFIG_CRYPTO_FCRYPT is not set | ||
| 1287 | # CONFIG_CRYPTO_KHAZAD is not set | ||
| 1288 | # CONFIG_CRYPTO_SALSA20 is not set | ||
| 1289 | # CONFIG_CRYPTO_SEED is not set | ||
| 1290 | # CONFIG_CRYPTO_SERPENT is not set | ||
| 1291 | # CONFIG_CRYPTO_TEA is not set | ||
| 1292 | # CONFIG_CRYPTO_TWOFISH is not set | ||
| 1293 | |||
| 1294 | # | ||
| 1295 | # Compression | ||
| 1296 | # | ||
| 1297 | # CONFIG_CRYPTO_DEFLATE is not set | ||
| 1298 | # CONFIG_CRYPTO_LZO is not set | ||
| 1299 | |||
| 1300 | # | ||
| 1301 | # Random Number Generation | ||
| 1302 | # | ||
| 1303 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
| 1304 | CONFIG_CRYPTO_HW=y | ||
| 1305 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
| 1306 | # CONFIG_CRYPTO_DEV_TALITOS is not set | ||
| 1307 | # CONFIG_PPC_CLOCK is not set | ||
| 1308 | CONFIG_PPC_LIB_RHEAP=y | ||
| 1309 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/configs/85xx/tqm8548_defconfig b/arch/powerpc/configs/85xx/tqm8548_defconfig index 0bc45975911a..43030fea2eee 100644 --- a/arch/powerpc/configs/85xx/tqm8548_defconfig +++ b/arch/powerpc/configs/85xx/tqm8548_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.29-rc7 |
| 4 | # Mon Jan 26 15:36:20 2009 | 4 | # Mon Mar 16 09:03:28 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
| 22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
| 23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
| 24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
| 25 | CONFIG_PPC_BOOK3E_MMU=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | 26 | # CONFIG_PPC_MM_SLICES is not set |
| 26 | # CONFIG_SMP is not set | 27 | # CONFIG_SMP is not set |
| 27 | CONFIG_PPC32=y | 28 | CONFIG_PPC32=y |
| @@ -75,6 +76,15 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 75 | # CONFIG_BSD_PROCESS_ACCT is not set | 76 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 76 | # CONFIG_TASKSTATS is not set | 77 | # CONFIG_TASKSTATS is not set |
| 77 | # CONFIG_AUDIT is not set | 78 | # CONFIG_AUDIT is not set |
| 79 | |||
| 80 | # | ||
| 81 | # RCU Subsystem | ||
| 82 | # | ||
| 83 | CONFIG_CLASSIC_RCU=y | ||
| 84 | # CONFIG_TREE_RCU is not set | ||
| 85 | # CONFIG_PREEMPT_RCU is not set | ||
| 86 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 87 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 78 | # CONFIG_IKCONFIG is not set | 88 | # CONFIG_IKCONFIG is not set |
| 79 | CONFIG_LOG_BUF_SHIFT=14 | 89 | CONFIG_LOG_BUF_SHIFT=14 |
| 80 | CONFIG_GROUP_SCHED=y | 90 | CONFIG_GROUP_SCHED=y |
| @@ -152,11 +162,6 @@ CONFIG_DEFAULT_AS=y | |||
| 152 | # CONFIG_DEFAULT_CFQ is not set | 162 | # CONFIG_DEFAULT_CFQ is not set |
| 153 | # CONFIG_DEFAULT_NOOP is not set | 163 | # CONFIG_DEFAULT_NOOP is not set |
| 154 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 164 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
| 155 | CONFIG_CLASSIC_RCU=y | ||
| 156 | # CONFIG_TREE_RCU is not set | ||
| 157 | # CONFIG_PREEMPT_RCU is not set | ||
| 158 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 159 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 160 | # CONFIG_FREEZER is not set | 165 | # CONFIG_FREEZER is not set |
| 161 | 166 | ||
| 162 | # | 167 | # |
| @@ -202,7 +207,7 @@ CONFIG_MPIC=y | |||
| 202 | # | 207 | # |
| 203 | # Kernel options | 208 | # Kernel options |
| 204 | # | 209 | # |
| 205 | # CONFIG_HIGHMEM is not set | 210 | CONFIG_HIGHMEM=y |
| 206 | CONFIG_TICK_ONESHOT=y | 211 | CONFIG_TICK_ONESHOT=y |
| 207 | CONFIG_NO_HZ=y | 212 | CONFIG_NO_HZ=y |
| 208 | CONFIG_HIGH_RES_TIMERS=y | 213 | CONFIG_HIGH_RES_TIMERS=y |
| @@ -244,6 +249,7 @@ CONFIG_UNEVICTABLE_LRU=y | |||
| 244 | CONFIG_PPC_4K_PAGES=y | 249 | CONFIG_PPC_4K_PAGES=y |
| 245 | # CONFIG_PPC_16K_PAGES is not set | 250 | # CONFIG_PPC_16K_PAGES is not set |
| 246 | # CONFIG_PPC_64K_PAGES is not set | 251 | # CONFIG_PPC_64K_PAGES is not set |
| 252 | # CONFIG_PPC_256K_PAGES is not set | ||
| 247 | CONFIG_FORCE_MAX_ZONEORDER=11 | 253 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 248 | CONFIG_PROC_DEVICETREE=y | 254 | CONFIG_PROC_DEVICETREE=y |
| 249 | # CONFIG_CMDLINE_BOOL is not set | 255 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -259,6 +265,7 @@ CONFIG_ZONE_DMA=y | |||
| 259 | CONFIG_PPC_INDIRECT_PCI=y | 265 | CONFIG_PPC_INDIRECT_PCI=y |
| 260 | CONFIG_FSL_SOC=y | 266 | CONFIG_FSL_SOC=y |
| 261 | CONFIG_FSL_PCI=y | 267 | CONFIG_FSL_PCI=y |
| 268 | CONFIG_FSL_LBC=y | ||
| 262 | CONFIG_PPC_PCI_CHOICE=y | 269 | CONFIG_PPC_PCI_CHOICE=y |
| 263 | CONFIG_PCI=y | 270 | CONFIG_PCI=y |
| 264 | CONFIG_PCI_DOMAINS=y | 271 | CONFIG_PCI_DOMAINS=y |
| @@ -284,10 +291,11 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 284 | # Default settings for advanced configuration options are used | 291 | # Default settings for advanced configuration options are used |
| 285 | # | 292 | # |
| 286 | CONFIG_LOWMEM_SIZE=0x30000000 | 293 | CONFIG_LOWMEM_SIZE=0x30000000 |
| 294 | CONFIG_LOWMEM_CAM_NUM=3 | ||
| 287 | CONFIG_PAGE_OFFSET=0xc0000000 | 295 | CONFIG_PAGE_OFFSET=0xc0000000 |
| 288 | CONFIG_KERNEL_START=0xc0000000 | 296 | CONFIG_KERNEL_START=0xc0000000 |
| 289 | CONFIG_PHYSICAL_START=0x00000000 | 297 | CONFIG_PHYSICAL_START=0x00000000 |
| 290 | CONFIG_PHYSICAL_ALIGN=0x10000000 | 298 | CONFIG_PHYSICAL_ALIGN=0x04000000 |
| 291 | CONFIG_TASK_SIZE=0xc0000000 | 299 | CONFIG_TASK_SIZE=0xc0000000 |
| 292 | CONFIG_NET=y | 300 | CONFIG_NET=y |
| 293 | 301 | ||
| @@ -363,12 +371,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 363 | # CONFIG_BT is not set | 371 | # CONFIG_BT is not set |
| 364 | # CONFIG_AF_RXRPC is not set | 372 | # CONFIG_AF_RXRPC is not set |
| 365 | # CONFIG_PHONET is not set | 373 | # CONFIG_PHONET is not set |
| 366 | CONFIG_WIRELESS=y | 374 | # CONFIG_WIRELESS is not set |
| 367 | # CONFIG_CFG80211 is not set | ||
| 368 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 369 | # CONFIG_WIRELESS_EXT is not set | ||
| 370 | # CONFIG_LIB80211 is not set | ||
| 371 | # CONFIG_MAC80211 is not set | ||
| 372 | # CONFIG_WIMAX is not set | 375 | # CONFIG_WIMAX is not set |
| 373 | # CONFIG_RFKILL is not set | 376 | # CONFIG_RFKILL is not set |
| 374 | # CONFIG_NET_9P is not set | 377 | # CONFIG_NET_9P is not set |
| @@ -471,27 +474,18 @@ CONFIG_MTD_NAND_IDS=y | |||
| 471 | # CONFIG_MTD_NAND_NANDSIM is not set | 474 | # CONFIG_MTD_NAND_NANDSIM is not set |
| 472 | # CONFIG_MTD_NAND_PLATFORM is not set | 475 | # CONFIG_MTD_NAND_PLATFORM is not set |
| 473 | # CONFIG_MTD_NAND_FSL_ELBC is not set | 476 | # CONFIG_MTD_NAND_FSL_ELBC is not set |
| 474 | # CONFIG_MTD_NAND_FSL_UPM is not set | 477 | CONFIG_MTD_NAND_FSL_UPM=y |
| 475 | # CONFIG_MTD_ONENAND is not set | 478 | # CONFIG_MTD_ONENAND is not set |
| 476 | 479 | ||
| 477 | # | 480 | # |
| 478 | # LPDDR flash memory drivers | 481 | # LPDDR flash memory drivers |
| 479 | # | 482 | # |
| 480 | # CONFIG_MTD_LPDDR is not set | 483 | # CONFIG_MTD_LPDDR is not set |
| 481 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 482 | 484 | ||
| 483 | # | 485 | # |
| 484 | # UBI - Unsorted block images | 486 | # UBI - Unsorted block images |
| 485 | # | 487 | # |
| 486 | CONFIG_MTD_UBI=m | 488 | # CONFIG_MTD_UBI is not set |
| 487 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
| 488 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
| 489 | # CONFIG_MTD_UBI_GLUEBI is not set | ||
| 490 | |||
| 491 | # | ||
| 492 | # UBI debugging options | ||
| 493 | # | ||
| 494 | # CONFIG_MTD_UBI_DEBUG is not set | ||
| 495 | CONFIG_OF_DEVICE=y | 489 | CONFIG_OF_DEVICE=y |
| 496 | CONFIG_OF_I2C=y | 490 | CONFIG_OF_I2C=y |
| 497 | # CONFIG_PARPORT is not set | 491 | # CONFIG_PARPORT is not set |
| @@ -515,69 +509,21 @@ CONFIG_BLK_DEV_RAM_SIZE=32768 | |||
| 515 | # CONFIG_BLK_DEV_HD is not set | 509 | # CONFIG_BLK_DEV_HD is not set |
| 516 | CONFIG_MISC_DEVICES=y | 510 | CONFIG_MISC_DEVICES=y |
| 517 | # CONFIG_PHANTOM is not set | 511 | # CONFIG_PHANTOM is not set |
| 518 | # CONFIG_EEPROM_93CX6 is not set | ||
| 519 | # CONFIG_SGI_IOC4 is not set | 512 | # CONFIG_SGI_IOC4 is not set |
| 520 | # CONFIG_TIFM_CORE is not set | 513 | # CONFIG_TIFM_CORE is not set |
| 521 | # CONFIG_ICS932S401 is not set | 514 | # CONFIG_ICS932S401 is not set |
| 522 | # CONFIG_ENCLOSURE_SERVICES is not set | 515 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 523 | # CONFIG_HP_ILO is not set | 516 | # CONFIG_HP_ILO is not set |
| 524 | # CONFIG_C2PORT is not set | 517 | # CONFIG_C2PORT is not set |
| 518 | |||
| 519 | # | ||
| 520 | # EEPROM support | ||
| 521 | # | ||
| 522 | # CONFIG_EEPROM_AT24 is not set | ||
| 523 | # CONFIG_EEPROM_LEGACY is not set | ||
| 524 | # CONFIG_EEPROM_93CX6 is not set | ||
| 525 | CONFIG_HAVE_IDE=y | 525 | CONFIG_HAVE_IDE=y |
| 526 | CONFIG_IDE=y | 526 | # CONFIG_IDE is not set |
| 527 | |||
| 528 | # | ||
| 529 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | ||
| 530 | # | ||
| 531 | CONFIG_IDE_TIMINGS=y | ||
| 532 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
| 533 | CONFIG_IDE_GD=y | ||
| 534 | CONFIG_IDE_GD_ATA=y | ||
| 535 | # CONFIG_IDE_GD_ATAPI is not set | ||
| 536 | # CONFIG_BLK_DEV_IDECD is not set | ||
| 537 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
| 538 | # CONFIG_IDE_TASK_IOCTL is not set | ||
| 539 | CONFIG_IDE_PROC_FS=y | ||
| 540 | |||
| 541 | # | ||
| 542 | # IDE chipset support/bugfixes | ||
| 543 | # | ||
| 544 | # CONFIG_BLK_DEV_PLATFORM is not set | ||
| 545 | CONFIG_BLK_DEV_IDEDMA_SFF=y | ||
| 546 | |||
| 547 | # | ||
| 548 | # PCI IDE chipsets support | ||
| 549 | # | ||
| 550 | CONFIG_BLK_DEV_IDEPCI=y | ||
| 551 | CONFIG_IDEPCI_PCIBUS_ORDER=y | ||
| 552 | # CONFIG_BLK_DEV_OFFBOARD is not set | ||
| 553 | CONFIG_BLK_DEV_GENERIC=y | ||
| 554 | # CONFIG_BLK_DEV_OPTI621 is not set | ||
| 555 | CONFIG_BLK_DEV_IDEDMA_PCI=y | ||
| 556 | # CONFIG_BLK_DEV_AEC62XX is not set | ||
| 557 | # CONFIG_BLK_DEV_ALI15X3 is not set | ||
| 558 | # CONFIG_BLK_DEV_AMD74XX is not set | ||
| 559 | # CONFIG_BLK_DEV_CMD64X is not set | ||
| 560 | # CONFIG_BLK_DEV_TRIFLEX is not set | ||
| 561 | # CONFIG_BLK_DEV_CS5520 is not set | ||
| 562 | # CONFIG_BLK_DEV_CS5530 is not set | ||
| 563 | # CONFIG_BLK_DEV_HPT366 is not set | ||
| 564 | # CONFIG_BLK_DEV_JMICRON is not set | ||
| 565 | # CONFIG_BLK_DEV_SC1200 is not set | ||
| 566 | # CONFIG_BLK_DEV_PIIX is not set | ||
| 567 | # CONFIG_BLK_DEV_IT8172 is not set | ||
| 568 | # CONFIG_BLK_DEV_IT8213 is not set | ||
| 569 | # CONFIG_BLK_DEV_IT821X is not set | ||
| 570 | # CONFIG_BLK_DEV_NS87415 is not set | ||
| 571 | # CONFIG_BLK_DEV_PDC202XX_OLD is not set | ||
| 572 | # CONFIG_BLK_DEV_PDC202XX_NEW is not set | ||
| 573 | # CONFIG_BLK_DEV_SVWKS is not set | ||
| 574 | # CONFIG_BLK_DEV_SIIMAGE is not set | ||
| 575 | # CONFIG_BLK_DEV_SL82C105 is not set | ||
| 576 | # CONFIG_BLK_DEV_SLC90E66 is not set | ||
| 577 | # CONFIG_BLK_DEV_TRM290 is not set | ||
| 578 | CONFIG_BLK_DEV_VIA82CXXX=y | ||
| 579 | # CONFIG_BLK_DEV_TC86C001 is not set | ||
| 580 | CONFIG_BLK_DEV_IDEDMA=y | ||
| 581 | 527 | ||
| 582 | # | 528 | # |
| 583 | # SCSI device support | 529 | # SCSI device support |
| @@ -650,7 +596,7 @@ CONFIG_MII=y | |||
| 650 | CONFIG_NETDEV_1000=y | 596 | CONFIG_NETDEV_1000=y |
| 651 | # CONFIG_ACENIC is not set | 597 | # CONFIG_ACENIC is not set |
| 652 | # CONFIG_DL2K is not set | 598 | # CONFIG_DL2K is not set |
| 653 | CONFIG_E1000=y | 599 | # CONFIG_E1000 is not set |
| 654 | # CONFIG_E1000E is not set | 600 | # CONFIG_E1000E is not set |
| 655 | # CONFIG_IP1000 is not set | 601 | # CONFIG_IP1000 is not set |
| 656 | # CONFIG_IGB is not set | 602 | # CONFIG_IGB is not set |
| @@ -668,6 +614,7 @@ CONFIG_GIANFAR=y | |||
| 668 | # CONFIG_QLA3XXX is not set | 614 | # CONFIG_QLA3XXX is not set |
| 669 | # CONFIG_ATL1 is not set | 615 | # CONFIG_ATL1 is not set |
| 670 | # CONFIG_ATL1E is not set | 616 | # CONFIG_ATL1E is not set |
| 617 | # CONFIG_ATL1C is not set | ||
| 671 | # CONFIG_JME is not set | 618 | # CONFIG_JME is not set |
| 672 | CONFIG_NETDEV_10000=y | 619 | CONFIG_NETDEV_10000=y |
| 673 | # CONFIG_CHELSIO_T1 is not set | 620 | # CONFIG_CHELSIO_T1 is not set |
| @@ -835,8 +782,6 @@ CONFIG_I2C_MPC=y | |||
| 835 | # Miscellaneous I2C Chip support | 782 | # Miscellaneous I2C Chip support |
| 836 | # | 783 | # |
| 837 | # CONFIG_DS1682 is not set | 784 | # CONFIG_DS1682 is not set |
| 838 | # CONFIG_EEPROM_AT24 is not set | ||
| 839 | # CONFIG_EEPROM_LEGACY is not set | ||
| 840 | # CONFIG_SENSORS_PCF8574 is not set | 785 | # CONFIG_SENSORS_PCF8574 is not set |
| 841 | # CONFIG_PCF8575 is not set | 786 | # CONFIG_PCF8575 is not set |
| 842 | # CONFIG_SENSORS_PCA9539 is not set | 787 | # CONFIG_SENSORS_PCA9539 is not set |
| @@ -975,26 +920,7 @@ CONFIG_HID=y | |||
| 975 | # Special HID drivers | 920 | # Special HID drivers |
| 976 | # | 921 | # |
| 977 | CONFIG_HID_COMPAT=y | 922 | CONFIG_HID_COMPAT=y |
| 978 | CONFIG_USB_SUPPORT=y | 923 | # CONFIG_USB_SUPPORT is not set |
| 979 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 980 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 981 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 982 | # CONFIG_USB is not set | ||
| 983 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 984 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 985 | |||
| 986 | # | ||
| 987 | # Enable Host or Gadget support to see Inventra options | ||
| 988 | # | ||
| 989 | |||
| 990 | # | ||
| 991 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | ||
| 992 | # | ||
| 993 | # CONFIG_USB_GADGET is not set | ||
| 994 | |||
| 995 | # | ||
| 996 | # OTG and related infrastructure | ||
| 997 | # | ||
| 998 | # CONFIG_UWB is not set | 924 | # CONFIG_UWB is not set |
| 999 | # CONFIG_MMC is not set | 925 | # CONFIG_MMC is not set |
| 1000 | # CONFIG_MEMSTICK is not set | 926 | # CONFIG_MEMSTICK is not set |
| @@ -1064,16 +990,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 1064 | # | 990 | # |
| 1065 | # File systems | 991 | # File systems |
| 1066 | # | 992 | # |
| 1067 | CONFIG_EXT2_FS=y | 993 | # CONFIG_EXT2_FS is not set |
| 1068 | # CONFIG_EXT2_FS_XATTR is not set | 994 | # CONFIG_EXT3_FS is not set |
| 1069 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1070 | CONFIG_EXT3_FS=y | ||
| 1071 | CONFIG_EXT3_FS_XATTR=y | ||
| 1072 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1073 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1074 | # CONFIG_EXT4_FS is not set | 995 | # CONFIG_EXT4_FS is not set |
| 1075 | CONFIG_JBD=y | ||
| 1076 | CONFIG_FS_MBCACHE=y | ||
| 1077 | # CONFIG_REISERFS_FS is not set | 996 | # CONFIG_REISERFS_FS is not set |
| 1078 | # CONFIG_JFS_FS is not set | 997 | # CONFIG_JFS_FS is not set |
| 1079 | # CONFIG_FS_POSIX_ACL is not set | 998 | # CONFIG_FS_POSIX_ACL is not set |
| @@ -1122,8 +1041,17 @@ CONFIG_MISC_FILESYSTEMS=y | |||
| 1122 | # CONFIG_BEFS_FS is not set | 1041 | # CONFIG_BEFS_FS is not set |
| 1123 | # CONFIG_BFS_FS is not set | 1042 | # CONFIG_BFS_FS is not set |
| 1124 | # CONFIG_EFS_FS is not set | 1043 | # CONFIG_EFS_FS is not set |
| 1125 | # CONFIG_JFFS2_FS is not set | 1044 | CONFIG_JFFS2_FS=y |
| 1126 | # CONFIG_UBIFS_FS is not set | 1045 | CONFIG_JFFS2_FS_DEBUG=0 |
| 1046 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
| 1047 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 1048 | # CONFIG_JFFS2_SUMMARY is not set | ||
| 1049 | # CONFIG_JFFS2_FS_XATTR is not set | ||
| 1050 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
| 1051 | CONFIG_JFFS2_ZLIB=y | ||
| 1052 | # CONFIG_JFFS2_LZO is not set | ||
| 1053 | CONFIG_JFFS2_RTIME=y | ||
| 1054 | # CONFIG_JFFS2_RUBIN is not set | ||
| 1127 | # CONFIG_CRAMFS is not set | 1055 | # CONFIG_CRAMFS is not set |
| 1128 | # CONFIG_SQUASHFS is not set | 1056 | # CONFIG_SQUASHFS is not set |
| 1129 | # CONFIG_VXFS_FS is not set | 1057 | # CONFIG_VXFS_FS is not set |
| @@ -1184,6 +1112,8 @@ CONFIG_GENERIC_FIND_LAST_BIT=y | |||
| 1184 | CONFIG_CRC32=y | 1112 | CONFIG_CRC32=y |
| 1185 | # CONFIG_CRC7 is not set | 1113 | # CONFIG_CRC7 is not set |
| 1186 | # CONFIG_LIBCRC32C is not set | 1114 | # CONFIG_LIBCRC32C is not set |
| 1115 | CONFIG_ZLIB_INFLATE=y | ||
| 1116 | CONFIG_ZLIB_DEFLATE=y | ||
| 1187 | CONFIG_PLIST=y | 1117 | CONFIG_PLIST=y |
| 1188 | CONFIG_HAS_IOMEM=y | 1118 | CONFIG_HAS_IOMEM=y |
| 1189 | CONFIG_HAS_IOPORT=y | 1119 | CONFIG_HAS_IOPORT=y |
| @@ -1219,6 +1149,7 @@ CONFIG_DEBUG_MUTEXES=y | |||
| 1219 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1149 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
| 1220 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1150 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
| 1221 | # CONFIG_DEBUG_KOBJECT is not set | 1151 | # CONFIG_DEBUG_KOBJECT is not set |
| 1152 | # CONFIG_DEBUG_HIGHMEM is not set | ||
| 1222 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1153 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 1223 | # CONFIG_DEBUG_INFO is not set | 1154 | # CONFIG_DEBUG_INFO is not set |
| 1224 | # CONFIG_DEBUG_VM is not set | 1155 | # CONFIG_DEBUG_VM is not set |
| @@ -1236,6 +1167,7 @@ CONFIG_DEBUG_MUTEXES=y | |||
| 1236 | # CONFIG_LATENCYTOP is not set | 1167 | # CONFIG_LATENCYTOP is not set |
| 1237 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1168 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
| 1238 | CONFIG_HAVE_FUNCTION_TRACER=y | 1169 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1170 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1239 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1171 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1240 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1172 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1241 | 1173 | ||
diff --git a/arch/powerpc/configs/mpc5200_defconfig b/arch/powerpc/configs/mpc5200_defconfig index af0cd55605d0..aaa4416660e9 100644 --- a/arch/powerpc/configs/mpc5200_defconfig +++ b/arch/powerpc/configs/mpc5200_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc3 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Fri Feb 6 09:48:53 2009 | 4 | # Mon Apr 20 11:06:25 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -14,6 +14,7 @@ CONFIG_6xx=y | |||
| 14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
| 15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
| 16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
| 17 | CONFIG_PPC_BOOK3S=y | ||
| 17 | CONFIG_PPC_FPU=y | 18 | CONFIG_PPC_FPU=y |
| 18 | # CONFIG_ALTIVEC is not set | 19 | # CONFIG_ALTIVEC is not set |
| 19 | CONFIG_PPC_STD_MMU=y | 20 | CONFIG_PPC_STD_MMU=y |
| @@ -39,6 +40,7 @@ CONFIG_ARCH_HAS_ILOG2_U32=y | |||
| 39 | CONFIG_GENERIC_HWEIGHT=y | 40 | CONFIG_GENERIC_HWEIGHT=y |
| 40 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 41 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 41 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 42 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
| 43 | CONFIG_GENERIC_GPIO=y | ||
| 42 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 44 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
| 43 | CONFIG_PPC=y | 45 | CONFIG_PPC=y |
| 44 | CONFIG_EARLY_PRINTK=y | 46 | CONFIG_EARLY_PRINTK=y |
| @@ -55,6 +57,7 @@ CONFIG_DEFAULT_UIMAGE=y | |||
| 55 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 57 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
| 56 | # CONFIG_PPC_DCR_NATIVE is not set | 58 | # CONFIG_PPC_DCR_NATIVE is not set |
| 57 | # CONFIG_PPC_DCR_MMIO is not set | 59 | # CONFIG_PPC_DCR_MMIO is not set |
| 60 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 58 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 61 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 59 | 62 | ||
| 60 | # | 63 | # |
| @@ -91,19 +94,22 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 91 | # CONFIG_NAMESPACES is not set | 94 | # CONFIG_NAMESPACES is not set |
| 92 | CONFIG_BLK_DEV_INITRD=y | 95 | CONFIG_BLK_DEV_INITRD=y |
| 93 | CONFIG_INITRAMFS_SOURCE="" | 96 | CONFIG_INITRAMFS_SOURCE="" |
| 97 | CONFIG_RD_GZIP=y | ||
| 98 | # CONFIG_RD_BZIP2 is not set | ||
| 99 | # CONFIG_RD_LZMA is not set | ||
| 94 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 100 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 95 | CONFIG_SYSCTL=y | 101 | CONFIG_SYSCTL=y |
| 102 | CONFIG_ANON_INODES=y | ||
| 96 | CONFIG_EMBEDDED=y | 103 | CONFIG_EMBEDDED=y |
| 97 | # CONFIG_SYSCTL_SYSCALL is not set | 104 | # CONFIG_SYSCTL_SYSCALL is not set |
| 98 | # CONFIG_KALLSYMS is not set | 105 | # CONFIG_KALLSYMS is not set |
| 106 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 99 | CONFIG_HOTPLUG=y | 107 | CONFIG_HOTPLUG=y |
| 100 | CONFIG_PRINTK=y | 108 | CONFIG_PRINTK=y |
| 101 | CONFIG_BUG=y | 109 | CONFIG_BUG=y |
| 102 | CONFIG_ELF_CORE=y | 110 | CONFIG_ELF_CORE=y |
| 103 | CONFIG_COMPAT_BRK=y | ||
| 104 | CONFIG_BASE_FULL=y | 111 | CONFIG_BASE_FULL=y |
| 105 | CONFIG_FUTEX=y | 112 | CONFIG_FUTEX=y |
| 106 | CONFIG_ANON_INODES=y | ||
| 107 | # CONFIG_EPOLL is not set | 113 | # CONFIG_EPOLL is not set |
| 108 | CONFIG_SIGNALFD=y | 114 | CONFIG_SIGNALFD=y |
| 109 | CONFIG_TIMERFD=y | 115 | CONFIG_TIMERFD=y |
| @@ -113,10 +119,12 @@ CONFIG_AIO=y | |||
| 113 | CONFIG_VM_EVENT_COUNTERS=y | 119 | CONFIG_VM_EVENT_COUNTERS=y |
| 114 | CONFIG_PCI_QUIRKS=y | 120 | CONFIG_PCI_QUIRKS=y |
| 115 | CONFIG_SLUB_DEBUG=y | 121 | CONFIG_SLUB_DEBUG=y |
| 122 | CONFIG_COMPAT_BRK=y | ||
| 116 | # CONFIG_SLAB is not set | 123 | # CONFIG_SLAB is not set |
| 117 | CONFIG_SLUB=y | 124 | CONFIG_SLUB=y |
| 118 | # CONFIG_SLOB is not set | 125 | # CONFIG_SLOB is not set |
| 119 | # CONFIG_PROFILING is not set | 126 | # CONFIG_PROFILING is not set |
| 127 | # CONFIG_MARKERS is not set | ||
| 120 | CONFIG_HAVE_OPROFILE=y | 128 | CONFIG_HAVE_OPROFILE=y |
| 121 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 129 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| 122 | CONFIG_HAVE_IOREMAP_PROT=y | 130 | CONFIG_HAVE_IOREMAP_PROT=y |
| @@ -124,6 +132,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 124 | CONFIG_HAVE_KRETPROBES=y | 132 | CONFIG_HAVE_KRETPROBES=y |
| 125 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 133 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 126 | CONFIG_HAVE_CLK=y | 134 | CONFIG_HAVE_CLK=y |
| 135 | # CONFIG_SLOW_WORK is not set | ||
| 127 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 136 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 128 | CONFIG_SLABINFO=y | 137 | CONFIG_SLABINFO=y |
| 129 | CONFIG_RT_MUTEXES=y | 138 | CONFIG_RT_MUTEXES=y |
| @@ -136,7 +145,6 @@ CONFIG_MODULE_UNLOAD=y | |||
| 136 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 145 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 137 | CONFIG_BLOCK=y | 146 | CONFIG_BLOCK=y |
| 138 | # CONFIG_LBD is not set | 147 | # CONFIG_LBD is not set |
| 139 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 140 | # CONFIG_BLK_DEV_BSG is not set | 148 | # CONFIG_BLK_DEV_BSG is not set |
| 141 | # CONFIG_BLK_DEV_INTEGRITY is not set | 149 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 142 | 150 | ||
| @@ -157,8 +165,6 @@ CONFIG_FREEZER=y | |||
| 157 | # | 165 | # |
| 158 | # Platform support | 166 | # Platform support |
| 159 | # | 167 | # |
| 160 | CONFIG_PPC_MULTIPLATFORM=y | ||
| 161 | CONFIG_CLASSIC32=y | ||
| 162 | # CONFIG_PPC_CHRP is not set | 168 | # CONFIG_PPC_CHRP is not set |
| 163 | # CONFIG_MPC5121_ADS is not set | 169 | # CONFIG_MPC5121_ADS is not set |
| 164 | # CONFIG_MPC5121_GENERIC is not set | 170 | # CONFIG_MPC5121_GENERIC is not set |
| @@ -166,8 +172,9 @@ CONFIG_PPC_MPC52xx=y | |||
| 166 | CONFIG_PPC_MPC5200_SIMPLE=y | 172 | CONFIG_PPC_MPC5200_SIMPLE=y |
| 167 | CONFIG_PPC_EFIKA=y | 173 | CONFIG_PPC_EFIKA=y |
| 168 | CONFIG_PPC_LITE5200=y | 174 | CONFIG_PPC_LITE5200=y |
| 175 | CONFIG_PPC_MEDIA5200=y | ||
| 169 | CONFIG_PPC_MPC5200_BUGFIX=y | 176 | CONFIG_PPC_MPC5200_BUGFIX=y |
| 170 | # CONFIG_PPC_MPC5200_GPIO is not set | 177 | CONFIG_PPC_MPC5200_GPIO=y |
| 171 | # CONFIG_PPC_PMAC is not set | 178 | # CONFIG_PPC_PMAC is not set |
| 172 | # CONFIG_PPC_CELL is not set | 179 | # CONFIG_PPC_CELL is not set |
| 173 | # CONFIG_PPC_CELL_NATIVE is not set | 180 | # CONFIG_PPC_CELL_NATIVE is not set |
| @@ -176,7 +183,9 @@ CONFIG_PPC_MPC5200_BUGFIX=y | |||
| 176 | # CONFIG_PPC_83xx is not set | 183 | # CONFIG_PPC_83xx is not set |
| 177 | # CONFIG_PPC_86xx is not set | 184 | # CONFIG_PPC_86xx is not set |
| 178 | # CONFIG_EMBEDDED6xx is not set | 185 | # CONFIG_EMBEDDED6xx is not set |
| 186 | # CONFIG_AMIGAONE is not set | ||
| 179 | CONFIG_PPC_NATIVE=y | 187 | CONFIG_PPC_NATIVE=y |
| 188 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
| 180 | # CONFIG_UDBG_RTAS_CONSOLE is not set | 189 | # CONFIG_UDBG_RTAS_CONSOLE is not set |
| 181 | # CONFIG_IPIC is not set | 190 | # CONFIG_IPIC is not set |
| 182 | # CONFIG_MPIC is not set | 191 | # CONFIG_MPIC is not set |
| @@ -241,9 +250,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 241 | CONFIG_BOUNCE=y | 250 | CONFIG_BOUNCE=y |
| 242 | CONFIG_VIRT_TO_BUS=y | 251 | CONFIG_VIRT_TO_BUS=y |
| 243 | CONFIG_UNEVICTABLE_LRU=y | 252 | CONFIG_UNEVICTABLE_LRU=y |
| 253 | CONFIG_HAVE_MLOCK=y | ||
| 254 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 244 | CONFIG_PPC_4K_PAGES=y | 255 | CONFIG_PPC_4K_PAGES=y |
| 245 | # CONFIG_PPC_16K_PAGES is not set | 256 | # CONFIG_PPC_16K_PAGES is not set |
| 246 | # CONFIG_PPC_64K_PAGES is not set | 257 | # CONFIG_PPC_64K_PAGES is not set |
| 258 | # CONFIG_PPC_256K_PAGES is not set | ||
| 247 | CONFIG_FORCE_MAX_ZONEORDER=11 | 259 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 248 | CONFIG_PROC_DEVICETREE=y | 260 | CONFIG_PROC_DEVICETREE=y |
| 249 | # CONFIG_CMDLINE_BOOL is not set | 261 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -272,6 +284,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 272 | CONFIG_PCI_LEGACY=y | 284 | CONFIG_PCI_LEGACY=y |
| 273 | # CONFIG_PCI_DEBUG is not set | 285 | # CONFIG_PCI_DEBUG is not set |
| 274 | # CONFIG_PCI_STUB is not set | 286 | # CONFIG_PCI_STUB is not set |
| 287 | # CONFIG_PCI_IOV is not set | ||
| 275 | # CONFIG_PCCARD is not set | 288 | # CONFIG_PCCARD is not set |
| 276 | # CONFIG_HOTPLUG_PCI is not set | 289 | # CONFIG_HOTPLUG_PCI is not set |
| 277 | # CONFIG_HAS_RAPIDIO is not set | 290 | # CONFIG_HAS_RAPIDIO is not set |
| @@ -294,7 +307,6 @@ CONFIG_NET=y | |||
| 294 | # | 307 | # |
| 295 | # Networking options | 308 | # Networking options |
| 296 | # | 309 | # |
| 297 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 298 | CONFIG_PACKET=y | 310 | CONFIG_PACKET=y |
| 299 | # CONFIG_PACKET_MMAP is not set | 311 | # CONFIG_PACKET_MMAP is not set |
| 300 | CONFIG_UNIX=y | 312 | CONFIG_UNIX=y |
| @@ -350,6 +362,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 350 | # CONFIG_LAPB is not set | 362 | # CONFIG_LAPB is not set |
| 351 | # CONFIG_ECONET is not set | 363 | # CONFIG_ECONET is not set |
| 352 | # CONFIG_WAN_ROUTER is not set | 364 | # CONFIG_WAN_ROUTER is not set |
| 365 | # CONFIG_PHONET is not set | ||
| 353 | # CONFIG_NET_SCHED is not set | 366 | # CONFIG_NET_SCHED is not set |
| 354 | # CONFIG_DCB is not set | 367 | # CONFIG_DCB is not set |
| 355 | 368 | ||
| @@ -362,7 +375,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 362 | # CONFIG_IRDA is not set | 375 | # CONFIG_IRDA is not set |
| 363 | # CONFIG_BT is not set | 376 | # CONFIG_BT is not set |
| 364 | # CONFIG_AF_RXRPC is not set | 377 | # CONFIG_AF_RXRPC is not set |
| 365 | # CONFIG_PHONET is not set | ||
| 366 | # CONFIG_WIRELESS is not set | 378 | # CONFIG_WIRELESS is not set |
| 367 | # CONFIG_WIMAX is not set | 379 | # CONFIG_WIMAX is not set |
| 368 | # CONFIG_RFKILL is not set | 380 | # CONFIG_RFKILL is not set |
| @@ -388,12 +400,9 @@ CONFIG_MTD=y | |||
| 388 | CONFIG_MTD_CONCAT=y | 400 | CONFIG_MTD_CONCAT=y |
| 389 | CONFIG_MTD_PARTITIONS=y | 401 | CONFIG_MTD_PARTITIONS=y |
| 390 | # CONFIG_MTD_TESTS is not set | 402 | # CONFIG_MTD_TESTS is not set |
| 391 | CONFIG_MTD_REDBOOT_PARTS=y | 403 | # CONFIG_MTD_REDBOOT_PARTS is not set |
| 392 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
| 393 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | ||
| 394 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | ||
| 395 | CONFIG_MTD_CMDLINE_PARTS=y | 404 | CONFIG_MTD_CMDLINE_PARTS=y |
| 396 | # CONFIG_MTD_OF_PARTS is not set | 405 | CONFIG_MTD_OF_PARTS=y |
| 397 | # CONFIG_MTD_AR7_PARTS is not set | 406 | # CONFIG_MTD_AR7_PARTS is not set |
| 398 | 407 | ||
| 399 | # | 408 | # |
| @@ -447,6 +456,8 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
| 447 | # Self-contained MTD device drivers | 456 | # Self-contained MTD device drivers |
| 448 | # | 457 | # |
| 449 | # CONFIG_MTD_PMC551 is not set | 458 | # CONFIG_MTD_PMC551 is not set |
| 459 | # CONFIG_MTD_DATAFLASH is not set | ||
| 460 | # CONFIG_MTD_M25P80 is not set | ||
| 450 | # CONFIG_MTD_SLRAM is not set | 461 | # CONFIG_MTD_SLRAM is not set |
| 451 | # CONFIG_MTD_PHRAM is not set | 462 | # CONFIG_MTD_PHRAM is not set |
| 452 | # CONFIG_MTD_MTDRAM is not set | 463 | # CONFIG_MTD_MTDRAM is not set |
| @@ -465,14 +476,23 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
| 465 | # LPDDR flash memory drivers | 476 | # LPDDR flash memory drivers |
| 466 | # | 477 | # |
| 467 | # CONFIG_MTD_LPDDR is not set | 478 | # CONFIG_MTD_LPDDR is not set |
| 468 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 469 | 479 | ||
| 470 | # | 480 | # |
| 471 | # UBI - Unsorted block images | 481 | # UBI - Unsorted block images |
| 472 | # | 482 | # |
| 473 | # CONFIG_MTD_UBI is not set | 483 | CONFIG_MTD_UBI=m |
| 484 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
| 485 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
| 486 | # CONFIG_MTD_UBI_GLUEBI is not set | ||
| 487 | |||
| 488 | # | ||
| 489 | # UBI debugging options | ||
| 490 | # | ||
| 491 | # CONFIG_MTD_UBI_DEBUG is not set | ||
| 474 | CONFIG_OF_DEVICE=y | 492 | CONFIG_OF_DEVICE=y |
| 493 | CONFIG_OF_GPIO=y | ||
| 475 | CONFIG_OF_I2C=y | 494 | CONFIG_OF_I2C=y |
| 495 | CONFIG_OF_SPI=y | ||
| 476 | # CONFIG_PARPORT is not set | 496 | # CONFIG_PARPORT is not set |
| 477 | CONFIG_BLK_DEV=y | 497 | CONFIG_BLK_DEV=y |
| 478 | # CONFIG_BLK_DEV_FD is not set | 498 | # CONFIG_BLK_DEV_FD is not set |
| @@ -500,12 +520,14 @@ CONFIG_MISC_DEVICES=y | |||
| 500 | # CONFIG_ICS932S401 is not set | 520 | # CONFIG_ICS932S401 is not set |
| 501 | # CONFIG_ENCLOSURE_SERVICES is not set | 521 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 502 | # CONFIG_HP_ILO is not set | 522 | # CONFIG_HP_ILO is not set |
| 523 | # CONFIG_ISL29003 is not set | ||
| 503 | # CONFIG_C2PORT is not set | 524 | # CONFIG_C2PORT is not set |
| 504 | 525 | ||
| 505 | # | 526 | # |
| 506 | # EEPROM support | 527 | # EEPROM support |
| 507 | # | 528 | # |
| 508 | CONFIG_EEPROM_AT24=y | 529 | CONFIG_EEPROM_AT24=y |
| 530 | # CONFIG_EEPROM_AT25 is not set | ||
| 509 | # CONFIG_EEPROM_LEGACY is not set | 531 | # CONFIG_EEPROM_LEGACY is not set |
| 510 | # CONFIG_EEPROM_93CX6 is not set | 532 | # CONFIG_EEPROM_93CX6 is not set |
| 511 | CONFIG_HAVE_IDE=y | 533 | CONFIG_HAVE_IDE=y |
| @@ -564,9 +586,11 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 564 | # CONFIG_MEGARAID_NEWGEN is not set | 586 | # CONFIG_MEGARAID_NEWGEN is not set |
| 565 | # CONFIG_MEGARAID_LEGACY is not set | 587 | # CONFIG_MEGARAID_LEGACY is not set |
| 566 | # CONFIG_MEGARAID_SAS is not set | 588 | # CONFIG_MEGARAID_SAS is not set |
| 589 | # CONFIG_SCSI_MPT2SAS is not set | ||
| 567 | # CONFIG_SCSI_HPTIOP is not set | 590 | # CONFIG_SCSI_HPTIOP is not set |
| 568 | # CONFIG_SCSI_BUSLOGIC is not set | 591 | # CONFIG_SCSI_BUSLOGIC is not set |
| 569 | # CONFIG_LIBFC is not set | 592 | # CONFIG_LIBFC is not set |
| 593 | # CONFIG_LIBFCOE is not set | ||
| 570 | # CONFIG_FCOE is not set | 594 | # CONFIG_FCOE is not set |
| 571 | # CONFIG_SCSI_DMX3191D is not set | 595 | # CONFIG_SCSI_DMX3191D is not set |
| 572 | # CONFIG_SCSI_EATA is not set | 596 | # CONFIG_SCSI_EATA is not set |
| @@ -589,6 +613,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 589 | # CONFIG_SCSI_DEBUG is not set | 613 | # CONFIG_SCSI_DEBUG is not set |
| 590 | # CONFIG_SCSI_SRP is not set | 614 | # CONFIG_SCSI_SRP is not set |
| 591 | # CONFIG_SCSI_DH is not set | 615 | # CONFIG_SCSI_DH is not set |
| 616 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 592 | CONFIG_ATA=y | 617 | CONFIG_ATA=y |
| 593 | # CONFIG_ATA_NONSTANDARD is not set | 618 | # CONFIG_ATA_NONSTANDARD is not set |
| 594 | CONFIG_SATA_PMP=y | 619 | CONFIG_SATA_PMP=y |
| @@ -666,6 +691,7 @@ CONFIG_PATA_PLATFORM=y | |||
| 666 | # CONFIG_I2O is not set | 691 | # CONFIG_I2O is not set |
| 667 | # CONFIG_MACINTOSH_DRIVERS is not set | 692 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 668 | CONFIG_NETDEVICES=y | 693 | CONFIG_NETDEVICES=y |
| 694 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 669 | # CONFIG_DUMMY is not set | 695 | # CONFIG_DUMMY is not set |
| 670 | # CONFIG_BONDING is not set | 696 | # CONFIG_BONDING is not set |
| 671 | # CONFIG_MACVLAN is not set | 697 | # CONFIG_MACVLAN is not set |
| @@ -699,6 +725,9 @@ CONFIG_NET_ETHERNET=y | |||
| 699 | # CONFIG_SUNGEM is not set | 725 | # CONFIG_SUNGEM is not set |
| 700 | # CONFIG_CASSINI is not set | 726 | # CONFIG_CASSINI is not set |
| 701 | # CONFIG_NET_VENDOR_3COM is not set | 727 | # CONFIG_NET_VENDOR_3COM is not set |
| 728 | # CONFIG_ENC28J60 is not set | ||
| 729 | # CONFIG_ETHOC is not set | ||
| 730 | # CONFIG_DNET is not set | ||
| 702 | # CONFIG_NET_TULIP is not set | 731 | # CONFIG_NET_TULIP is not set |
| 703 | # CONFIG_HP100 is not set | 732 | # CONFIG_HP100 is not set |
| 704 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 733 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| @@ -722,7 +751,6 @@ CONFIG_FEC_MPC52xx_MDIO=y | |||
| 722 | # | 751 | # |
| 723 | # CONFIG_WLAN_PRE80211 is not set | 752 | # CONFIG_WLAN_PRE80211 is not set |
| 724 | # CONFIG_WLAN_80211 is not set | 753 | # CONFIG_WLAN_80211 is not set |
| 725 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 726 | 754 | ||
| 727 | # | 755 | # |
| 728 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 756 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -802,6 +830,7 @@ CONFIG_DEVKMEM=y | |||
| 802 | # | 830 | # |
| 803 | # Non-8250 serial port support | 831 | # Non-8250 serial port support |
| 804 | # | 832 | # |
| 833 | # CONFIG_SERIAL_MAX3100 is not set | ||
| 805 | # CONFIG_SERIAL_UARTLITE is not set | 834 | # CONFIG_SERIAL_UARTLITE is not set |
| 806 | CONFIG_SERIAL_CORE=y | 835 | CONFIG_SERIAL_CORE=y |
| 807 | CONFIG_SERIAL_CORE_CONSOLE=y | 836 | CONFIG_SERIAL_CORE_CONSOLE=y |
| @@ -854,6 +883,7 @@ CONFIG_I2C_ALGOBIT=y | |||
| 854 | # | 883 | # |
| 855 | # I2C system bus drivers (mostly embedded / system-on-chip) | 884 | # I2C system bus drivers (mostly embedded / system-on-chip) |
| 856 | # | 885 | # |
| 886 | # CONFIG_I2C_GPIO is not set | ||
| 857 | CONFIG_I2C_MPC=y | 887 | CONFIG_I2C_MPC=y |
| 858 | # CONFIG_I2C_OCORES is not set | 888 | # CONFIG_I2C_OCORES is not set |
| 859 | # CONFIG_I2C_SIMTEC is not set | 889 | # CONFIG_I2C_SIMTEC is not set |
| @@ -883,22 +913,63 @@ CONFIG_I2C_MPC=y | |||
| 883 | # CONFIG_SENSORS_PCF8574 is not set | 913 | # CONFIG_SENSORS_PCF8574 is not set |
| 884 | # CONFIG_PCF8575 is not set | 914 | # CONFIG_PCF8575 is not set |
| 885 | # CONFIG_SENSORS_PCA9539 is not set | 915 | # CONFIG_SENSORS_PCA9539 is not set |
| 886 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 887 | # CONFIG_SENSORS_MAX6875 is not set | 916 | # CONFIG_SENSORS_MAX6875 is not set |
| 888 | # CONFIG_SENSORS_TSL2550 is not set | 917 | # CONFIG_SENSORS_TSL2550 is not set |
| 889 | # CONFIG_I2C_DEBUG_CORE is not set | 918 | # CONFIG_I2C_DEBUG_CORE is not set |
| 890 | # CONFIG_I2C_DEBUG_ALGO is not set | 919 | # CONFIG_I2C_DEBUG_ALGO is not set |
| 891 | # CONFIG_I2C_DEBUG_BUS is not set | 920 | # CONFIG_I2C_DEBUG_BUS is not set |
| 892 | # CONFIG_I2C_DEBUG_CHIP is not set | 921 | # CONFIG_I2C_DEBUG_CHIP is not set |
| 893 | # CONFIG_SPI is not set | 922 | CONFIG_SPI=y |
| 923 | # CONFIG_SPI_DEBUG is not set | ||
| 924 | CONFIG_SPI_MASTER=y | ||
| 925 | |||
| 926 | # | ||
| 927 | # SPI Master Controller Drivers | ||
| 928 | # | ||
| 929 | # CONFIG_SPI_BITBANG is not set | ||
| 930 | # CONFIG_SPI_GPIO is not set | ||
| 931 | CONFIG_SPI_MPC52xx_PSC=m | ||
| 932 | |||
| 933 | # | ||
| 934 | # SPI Protocol Masters | ||
| 935 | # | ||
| 936 | CONFIG_SPI_SPIDEV=m | ||
| 937 | # CONFIG_SPI_TLE62X0 is not set | ||
| 894 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 938 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
| 895 | # CONFIG_GPIOLIB is not set | 939 | CONFIG_ARCH_REQUIRE_GPIOLIB=y |
| 940 | CONFIG_GPIOLIB=y | ||
| 941 | # CONFIG_DEBUG_GPIO is not set | ||
| 942 | # CONFIG_GPIO_SYSFS is not set | ||
| 943 | |||
| 944 | # | ||
| 945 | # Memory mapped GPIO expanders: | ||
| 946 | # | ||
| 947 | # CONFIG_GPIO_XILINX is not set | ||
| 948 | |||
| 949 | # | ||
| 950 | # I2C GPIO expanders: | ||
| 951 | # | ||
| 952 | # CONFIG_GPIO_MAX732X is not set | ||
| 953 | # CONFIG_GPIO_PCA953X is not set | ||
| 954 | # CONFIG_GPIO_PCF857X is not set | ||
| 955 | |||
| 956 | # | ||
| 957 | # PCI GPIO expanders: | ||
| 958 | # | ||
| 959 | # CONFIG_GPIO_BT8XX is not set | ||
| 960 | |||
| 961 | # | ||
| 962 | # SPI GPIO expanders: | ||
| 963 | # | ||
| 964 | # CONFIG_GPIO_MAX7301 is not set | ||
| 965 | # CONFIG_GPIO_MCP23S08 is not set | ||
| 896 | # CONFIG_W1 is not set | 966 | # CONFIG_W1 is not set |
| 897 | # CONFIG_POWER_SUPPLY is not set | 967 | # CONFIG_POWER_SUPPLY is not set |
| 898 | CONFIG_HWMON=y | 968 | CONFIG_HWMON=y |
| 899 | # CONFIG_HWMON_VID is not set | 969 | # CONFIG_HWMON_VID is not set |
| 900 | # CONFIG_SENSORS_AD7414 is not set | 970 | # CONFIG_SENSORS_AD7414 is not set |
| 901 | # CONFIG_SENSORS_AD7418 is not set | 971 | # CONFIG_SENSORS_AD7418 is not set |
| 972 | # CONFIG_SENSORS_ADCXX is not set | ||
| 902 | # CONFIG_SENSORS_ADM1021 is not set | 973 | # CONFIG_SENSORS_ADM1021 is not set |
| 903 | # CONFIG_SENSORS_ADM1025 is not set | 974 | # CONFIG_SENSORS_ADM1025 is not set |
| 904 | # CONFIG_SENSORS_ADM1026 is not set | 975 | # CONFIG_SENSORS_ADM1026 is not set |
| @@ -915,10 +986,12 @@ CONFIG_HWMON=y | |||
| 915 | # CONFIG_SENSORS_F71805F is not set | 986 | # CONFIG_SENSORS_F71805F is not set |
| 916 | # CONFIG_SENSORS_F71882FG is not set | 987 | # CONFIG_SENSORS_F71882FG is not set |
| 917 | # CONFIG_SENSORS_F75375S is not set | 988 | # CONFIG_SENSORS_F75375S is not set |
| 989 | # CONFIG_SENSORS_G760A is not set | ||
| 918 | # CONFIG_SENSORS_GL518SM is not set | 990 | # CONFIG_SENSORS_GL518SM is not set |
| 919 | # CONFIG_SENSORS_GL520SM is not set | 991 | # CONFIG_SENSORS_GL520SM is not set |
| 920 | # CONFIG_SENSORS_IT87 is not set | 992 | # CONFIG_SENSORS_IT87 is not set |
| 921 | # CONFIG_SENSORS_LM63 is not set | 993 | # CONFIG_SENSORS_LM63 is not set |
| 994 | # CONFIG_SENSORS_LM70 is not set | ||
| 922 | # CONFIG_SENSORS_LM75 is not set | 995 | # CONFIG_SENSORS_LM75 is not set |
| 923 | # CONFIG_SENSORS_LM77 is not set | 996 | # CONFIG_SENSORS_LM77 is not set |
| 924 | # CONFIG_SENSORS_LM78 is not set | 997 | # CONFIG_SENSORS_LM78 is not set |
| @@ -929,11 +1002,16 @@ CONFIG_HWMON=y | |||
| 929 | # CONFIG_SENSORS_LM90 is not set | 1002 | # CONFIG_SENSORS_LM90 is not set |
| 930 | # CONFIG_SENSORS_LM92 is not set | 1003 | # CONFIG_SENSORS_LM92 is not set |
| 931 | # CONFIG_SENSORS_LM93 is not set | 1004 | # CONFIG_SENSORS_LM93 is not set |
| 1005 | # CONFIG_SENSORS_LTC4215 is not set | ||
| 932 | # CONFIG_SENSORS_LTC4245 is not set | 1006 | # CONFIG_SENSORS_LTC4245 is not set |
| 1007 | # CONFIG_SENSORS_LM95241 is not set | ||
| 1008 | # CONFIG_SENSORS_MAX1111 is not set | ||
| 933 | # CONFIG_SENSORS_MAX1619 is not set | 1009 | # CONFIG_SENSORS_MAX1619 is not set |
| 934 | # CONFIG_SENSORS_MAX6650 is not set | 1010 | # CONFIG_SENSORS_MAX6650 is not set |
| 935 | # CONFIG_SENSORS_PC87360 is not set | 1011 | # CONFIG_SENSORS_PC87360 is not set |
| 936 | # CONFIG_SENSORS_PC87427 is not set | 1012 | # CONFIG_SENSORS_PC87427 is not set |
| 1013 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 1014 | # CONFIG_SENSORS_SHT15 is not set | ||
| 937 | # CONFIG_SENSORS_SIS5595 is not set | 1015 | # CONFIG_SENSORS_SIS5595 is not set |
| 938 | # CONFIG_SENSORS_DME1737 is not set | 1016 | # CONFIG_SENSORS_DME1737 is not set |
| 939 | # CONFIG_SENSORS_SMSC47M1 is not set | 1017 | # CONFIG_SENSORS_SMSC47M1 is not set |
| @@ -952,6 +1030,7 @@ CONFIG_HWMON=y | |||
| 952 | # CONFIG_SENSORS_W83L786NG is not set | 1030 | # CONFIG_SENSORS_W83L786NG is not set |
| 953 | # CONFIG_SENSORS_W83627HF is not set | 1031 | # CONFIG_SENSORS_W83627HF is not set |
| 954 | # CONFIG_SENSORS_W83627EHF is not set | 1032 | # CONFIG_SENSORS_W83627EHF is not set |
| 1033 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
| 955 | # CONFIG_HWMON_DEBUG_CHIP is not set | 1034 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 956 | # CONFIG_THERMAL is not set | 1035 | # CONFIG_THERMAL is not set |
| 957 | # CONFIG_THERMAL_HWMON is not set | 1036 | # CONFIG_THERMAL_HWMON is not set |
| @@ -989,6 +1068,7 @@ CONFIG_SSB_POSSIBLE=y | |||
| 989 | # CONFIG_MFD_CORE is not set | 1068 | # CONFIG_MFD_CORE is not set |
| 990 | # CONFIG_MFD_SM501 is not set | 1069 | # CONFIG_MFD_SM501 is not set |
| 991 | # CONFIG_HTC_PASIC3 is not set | 1070 | # CONFIG_HTC_PASIC3 is not set |
| 1071 | # CONFIG_TPS65010 is not set | ||
| 992 | # CONFIG_TWL4030_CORE is not set | 1072 | # CONFIG_TWL4030_CORE is not set |
| 993 | # CONFIG_MFD_TMIO is not set | 1073 | # CONFIG_MFD_TMIO is not set |
| 994 | # CONFIG_PMIC_DA903X is not set | 1074 | # CONFIG_PMIC_DA903X is not set |
| @@ -1084,9 +1164,13 @@ CONFIG_FB_RADEON_BACKLIGHT=y | |||
| 1084 | # CONFIG_FB_VIRTUAL is not set | 1164 | # CONFIG_FB_VIRTUAL is not set |
| 1085 | # CONFIG_FB_METRONOME is not set | 1165 | # CONFIG_FB_METRONOME is not set |
| 1086 | # CONFIG_FB_MB862XX is not set | 1166 | # CONFIG_FB_MB862XX is not set |
| 1167 | # CONFIG_FB_BROADSHEET is not set | ||
| 1087 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 1168 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
| 1088 | CONFIG_LCD_CLASS_DEVICE=m | 1169 | CONFIG_LCD_CLASS_DEVICE=m |
| 1170 | # CONFIG_LCD_LTV350QV is not set | ||
| 1089 | # CONFIG_LCD_ILI9320 is not set | 1171 | # CONFIG_LCD_ILI9320 is not set |
| 1172 | # CONFIG_LCD_TDO24M is not set | ||
| 1173 | # CONFIG_LCD_VGG2432A4 is not set | ||
| 1090 | # CONFIG_LCD_PLATFORM is not set | 1174 | # CONFIG_LCD_PLATFORM is not set |
| 1091 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | 1175 | CONFIG_BACKLIGHT_CLASS_DEVICE=y |
| 1092 | CONFIG_BACKLIGHT_GENERIC=y | 1176 | CONFIG_BACKLIGHT_GENERIC=y |
| @@ -1127,15 +1211,17 @@ CONFIG_USB_HID=y | |||
| 1127 | # | 1211 | # |
| 1128 | # Special HID drivers | 1212 | # Special HID drivers |
| 1129 | # | 1213 | # |
| 1130 | CONFIG_HID_COMPAT=y | ||
| 1131 | CONFIG_HID_A4TECH=y | 1214 | CONFIG_HID_A4TECH=y |
| 1132 | # CONFIG_HID_APPLE is not set | 1215 | # CONFIG_HID_APPLE is not set |
| 1133 | CONFIG_HID_BELKIN=y | 1216 | CONFIG_HID_BELKIN=y |
| 1134 | CONFIG_HID_CHERRY=y | 1217 | CONFIG_HID_CHERRY=y |
| 1135 | # CONFIG_HID_CHICONY is not set | 1218 | # CONFIG_HID_CHICONY is not set |
| 1136 | CONFIG_HID_CYPRESS=y | 1219 | CONFIG_HID_CYPRESS=y |
| 1220 | # CONFIG_DRAGONRISE_FF is not set | ||
| 1137 | CONFIG_HID_EZKEY=y | 1221 | CONFIG_HID_EZKEY=y |
| 1222 | # CONFIG_HID_KYE is not set | ||
| 1138 | # CONFIG_HID_GYRATION is not set | 1223 | # CONFIG_HID_GYRATION is not set |
| 1224 | # CONFIG_HID_KENSINGTON is not set | ||
| 1139 | # CONFIG_HID_LOGITECH is not set | 1225 | # CONFIG_HID_LOGITECH is not set |
| 1140 | # CONFIG_HID_MICROSOFT is not set | 1226 | # CONFIG_HID_MICROSOFT is not set |
| 1141 | # CONFIG_HID_MONTEREY is not set | 1227 | # CONFIG_HID_MONTEREY is not set |
| @@ -1204,11 +1290,11 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
| 1204 | # CONFIG_USB_TMC is not set | 1290 | # CONFIG_USB_TMC is not set |
| 1205 | 1291 | ||
| 1206 | # | 1292 | # |
| 1207 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 1293 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 1208 | # | 1294 | # |
| 1209 | 1295 | ||
| 1210 | # | 1296 | # |
| 1211 | # see USB_STORAGE Help for more information | 1297 | # also be needed; see USB_STORAGE Help for more info |
| 1212 | # | 1298 | # |
| 1213 | CONFIG_USB_STORAGE=y | 1299 | CONFIG_USB_STORAGE=y |
| 1214 | # CONFIG_USB_STORAGE_DEBUG is not set | 1300 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -1250,7 +1336,6 @@ CONFIG_USB_STORAGE=y | |||
| 1250 | # CONFIG_USB_LED is not set | 1336 | # CONFIG_USB_LED is not set |
| 1251 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1337 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 1252 | # CONFIG_USB_CYTHERM is not set | 1338 | # CONFIG_USB_CYTHERM is not set |
| 1253 | # CONFIG_USB_PHIDGET is not set | ||
| 1254 | # CONFIG_USB_IDMOUSE is not set | 1339 | # CONFIG_USB_IDMOUSE is not set |
| 1255 | # CONFIG_USB_FTDI_ELAN is not set | 1340 | # CONFIG_USB_FTDI_ELAN is not set |
| 1256 | # CONFIG_USB_APPLEDISPLAY is not set | 1341 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -1265,6 +1350,8 @@ CONFIG_USB_STORAGE=y | |||
| 1265 | # | 1350 | # |
| 1266 | # OTG and related infrastructure | 1351 | # OTG and related infrastructure |
| 1267 | # | 1352 | # |
| 1353 | # CONFIG_USB_GPIO_VBUS is not set | ||
| 1354 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 1268 | # CONFIG_UWB is not set | 1355 | # CONFIG_UWB is not set |
| 1269 | # CONFIG_MMC is not set | 1356 | # CONFIG_MMC is not set |
| 1270 | # CONFIG_MEMSTICK is not set | 1357 | # CONFIG_MEMSTICK is not set |
| @@ -1317,6 +1404,13 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 1317 | # | 1404 | # |
| 1318 | # SPI RTC drivers | 1405 | # SPI RTC drivers |
| 1319 | # | 1406 | # |
| 1407 | # CONFIG_RTC_DRV_M41T94 is not set | ||
| 1408 | # CONFIG_RTC_DRV_DS1305 is not set | ||
| 1409 | # CONFIG_RTC_DRV_DS1390 is not set | ||
| 1410 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
| 1411 | # CONFIG_RTC_DRV_R9701 is not set | ||
| 1412 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
| 1413 | # CONFIG_RTC_DRV_DS3234 is not set | ||
| 1320 | 1414 | ||
| 1321 | # | 1415 | # |
| 1322 | # Platform RTC drivers | 1416 | # Platform RTC drivers |
| @@ -1336,8 +1430,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 1336 | # | 1430 | # |
| 1337 | # on-CPU RTC drivers | 1431 | # on-CPU RTC drivers |
| 1338 | # | 1432 | # |
| 1339 | # CONFIG_RTC_DRV_PPC is not set | 1433 | # CONFIG_RTC_DRV_GENERIC is not set |
| 1340 | # CONFIG_DMADEVICES is not set | 1434 | # CONFIG_DMADEVICES is not set |
| 1435 | # CONFIG_AUXDISPLAY is not set | ||
| 1341 | # CONFIG_UIO is not set | 1436 | # CONFIG_UIO is not set |
| 1342 | # CONFIG_STAGING is not set | 1437 | # CONFIG_STAGING is not set |
| 1343 | 1438 | ||
| @@ -1348,6 +1443,7 @@ CONFIG_EXT2_FS=y | |||
| 1348 | # CONFIG_EXT2_FS_XATTR is not set | 1443 | # CONFIG_EXT2_FS_XATTR is not set |
| 1349 | # CONFIG_EXT2_FS_XIP is not set | 1444 | # CONFIG_EXT2_FS_XIP is not set |
| 1350 | CONFIG_EXT3_FS=y | 1445 | CONFIG_EXT3_FS=y |
| 1446 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 1351 | CONFIG_EXT3_FS_XATTR=y | 1447 | CONFIG_EXT3_FS_XATTR=y |
| 1352 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1448 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 1353 | # CONFIG_EXT3_FS_SECURITY is not set | 1449 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -1370,6 +1466,11 @@ CONFIG_INOTIFY_USER=y | |||
| 1370 | # CONFIG_FUSE_FS is not set | 1466 | # CONFIG_FUSE_FS is not set |
| 1371 | 1467 | ||
| 1372 | # | 1468 | # |
| 1469 | # Caches | ||
| 1470 | # | ||
| 1471 | # CONFIG_FSCACHE is not set | ||
| 1472 | |||
| 1473 | # | ||
| 1373 | # CD-ROM/DVD Filesystems | 1474 | # CD-ROM/DVD Filesystems |
| 1374 | # | 1475 | # |
| 1375 | # CONFIG_ISO9660_FS is not set | 1476 | # CONFIG_ISO9660_FS is not set |
| @@ -1416,6 +1517,12 @@ CONFIG_JFFS2_ZLIB=y | |||
| 1416 | # CONFIG_JFFS2_LZO is not set | 1517 | # CONFIG_JFFS2_LZO is not set |
| 1417 | CONFIG_JFFS2_RTIME=y | 1518 | CONFIG_JFFS2_RTIME=y |
| 1418 | # CONFIG_JFFS2_RUBIN is not set | 1519 | # CONFIG_JFFS2_RUBIN is not set |
| 1520 | CONFIG_UBIFS_FS=m | ||
| 1521 | # CONFIG_UBIFS_FS_XATTR is not set | ||
| 1522 | # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set | ||
| 1523 | CONFIG_UBIFS_FS_LZO=y | ||
| 1524 | CONFIG_UBIFS_FS_ZLIB=y | ||
| 1525 | # CONFIG_UBIFS_FS_DEBUG is not set | ||
| 1419 | CONFIG_CRAMFS=y | 1526 | CONFIG_CRAMFS=y |
| 1420 | # CONFIG_SQUASHFS is not set | 1527 | # CONFIG_SQUASHFS is not set |
| 1421 | # CONFIG_VXFS_FS is not set | 1528 | # CONFIG_VXFS_FS is not set |
| @@ -1426,6 +1533,7 @@ CONFIG_CRAMFS=y | |||
| 1426 | # CONFIG_ROMFS_FS is not set | 1533 | # CONFIG_ROMFS_FS is not set |
| 1427 | # CONFIG_SYSV_FS is not set | 1534 | # CONFIG_SYSV_FS is not set |
| 1428 | # CONFIG_UFS_FS is not set | 1535 | # CONFIG_UFS_FS is not set |
| 1536 | # CONFIG_NILFS2_FS is not set | ||
| 1429 | CONFIG_NETWORK_FILESYSTEMS=y | 1537 | CONFIG_NETWORK_FILESYSTEMS=y |
| 1430 | CONFIG_NFS_FS=y | 1538 | CONFIG_NFS_FS=y |
| 1431 | CONFIG_NFS_V3=y | 1539 | CONFIG_NFS_V3=y |
| @@ -1438,7 +1546,6 @@ CONFIG_LOCKD_V4=y | |||
| 1438 | CONFIG_NFS_COMMON=y | 1546 | CONFIG_NFS_COMMON=y |
| 1439 | CONFIG_SUNRPC=y | 1547 | CONFIG_SUNRPC=y |
| 1440 | CONFIG_SUNRPC_GSS=y | 1548 | CONFIG_SUNRPC_GSS=y |
| 1441 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1442 | CONFIG_RPCSEC_GSS_KRB5=y | 1549 | CONFIG_RPCSEC_GSS_KRB5=y |
| 1443 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1550 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1444 | # CONFIG_SMB_FS is not set | 1551 | # CONFIG_SMB_FS is not set |
| @@ -1493,6 +1600,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1493 | # CONFIG_NLS_KOI8_U is not set | 1600 | # CONFIG_NLS_KOI8_U is not set |
| 1494 | # CONFIG_NLS_UTF8 is not set | 1601 | # CONFIG_NLS_UTF8 is not set |
| 1495 | # CONFIG_DLM is not set | 1602 | # CONFIG_DLM is not set |
| 1603 | # CONFIG_BINARY_PRINTF is not set | ||
| 1496 | 1604 | ||
| 1497 | # | 1605 | # |
| 1498 | # Library routines | 1606 | # Library routines |
| @@ -1500,7 +1608,7 @@ CONFIG_NLS_ISO8859_1=y | |||
| 1500 | CONFIG_BITREVERSE=y | 1608 | CONFIG_BITREVERSE=y |
| 1501 | CONFIG_GENERIC_FIND_LAST_BIT=y | 1609 | CONFIG_GENERIC_FIND_LAST_BIT=y |
| 1502 | # CONFIG_CRC_CCITT is not set | 1610 | # CONFIG_CRC_CCITT is not set |
| 1503 | # CONFIG_CRC16 is not set | 1611 | CONFIG_CRC16=m |
| 1504 | # CONFIG_CRC_T10DIF is not set | 1612 | # CONFIG_CRC_T10DIF is not set |
| 1505 | # CONFIG_CRC_ITU_T is not set | 1613 | # CONFIG_CRC_ITU_T is not set |
| 1506 | CONFIG_CRC32=y | 1614 | CONFIG_CRC32=y |
| @@ -1508,11 +1616,14 @@ CONFIG_CRC32=y | |||
| 1508 | # CONFIG_LIBCRC32C is not set | 1616 | # CONFIG_LIBCRC32C is not set |
| 1509 | CONFIG_ZLIB_INFLATE=y | 1617 | CONFIG_ZLIB_INFLATE=y |
| 1510 | CONFIG_ZLIB_DEFLATE=y | 1618 | CONFIG_ZLIB_DEFLATE=y |
| 1511 | CONFIG_PLIST=y | 1619 | CONFIG_LZO_COMPRESS=m |
| 1620 | CONFIG_LZO_DECOMPRESS=m | ||
| 1621 | CONFIG_DECOMPRESS_GZIP=y | ||
| 1512 | CONFIG_HAS_IOMEM=y | 1622 | CONFIG_HAS_IOMEM=y |
| 1513 | CONFIG_HAS_IOPORT=y | 1623 | CONFIG_HAS_IOPORT=y |
| 1514 | CONFIG_HAS_DMA=y | 1624 | CONFIG_HAS_DMA=y |
| 1515 | CONFIG_HAVE_LMB=y | 1625 | CONFIG_HAVE_LMB=y |
| 1626 | CONFIG_NLATTR=y | ||
| 1516 | 1627 | ||
| 1517 | # | 1628 | # |
| 1518 | # Kernel hacking | 1629 | # Kernel hacking |
| @@ -1530,6 +1641,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1530 | CONFIG_DETECT_SOFTLOCKUP=y | 1641 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1531 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1642 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1532 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1643 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1644 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1645 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1646 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1533 | CONFIG_SCHED_DEBUG=y | 1647 | CONFIG_SCHED_DEBUG=y |
| 1534 | # CONFIG_SCHEDSTATS is not set | 1648 | # CONFIG_SCHEDSTATS is not set |
| 1535 | # CONFIG_TIMER_STATS is not set | 1649 | # CONFIG_TIMER_STATS is not set |
| @@ -1558,9 +1672,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1558 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1672 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
| 1559 | # CONFIG_FAULT_INJECTION is not set | 1673 | # CONFIG_FAULT_INJECTION is not set |
| 1560 | # CONFIG_LATENCYTOP is not set | 1674 | # CONFIG_LATENCYTOP is not set |
| 1675 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1561 | CONFIG_HAVE_FUNCTION_TRACER=y | 1676 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1677 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1562 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1678 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1563 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1679 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1680 | CONFIG_TRACING_SUPPORT=y | ||
| 1564 | 1681 | ||
| 1565 | # | 1682 | # |
| 1566 | # Tracers | 1683 | # Tracers |
| @@ -1568,17 +1685,19 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1568 | # CONFIG_FUNCTION_TRACER is not set | 1685 | # CONFIG_FUNCTION_TRACER is not set |
| 1569 | # CONFIG_SCHED_TRACER is not set | 1686 | # CONFIG_SCHED_TRACER is not set |
| 1570 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1687 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1688 | # CONFIG_EVENT_TRACER is not set | ||
| 1571 | # CONFIG_BOOT_TRACER is not set | 1689 | # CONFIG_BOOT_TRACER is not set |
| 1572 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1690 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1573 | # CONFIG_STACK_TRACER is not set | 1691 | # CONFIG_STACK_TRACER is not set |
| 1574 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1692 | # CONFIG_KMEMTRACE is not set |
| 1693 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1694 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1575 | # CONFIG_SAMPLES is not set | 1695 | # CONFIG_SAMPLES is not set |
| 1576 | CONFIG_HAVE_ARCH_KGDB=y | 1696 | CONFIG_HAVE_ARCH_KGDB=y |
| 1577 | # CONFIG_KGDB is not set | 1697 | # CONFIG_KGDB is not set |
| 1578 | CONFIG_PRINT_STACK_DEPTH=64 | 1698 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1579 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1699 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1580 | # CONFIG_DEBUG_STACK_USAGE is not set | 1700 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1581 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1582 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1701 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1583 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1702 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1584 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1703 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1609,10 +1728,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1609 | CONFIG_CRYPTO_HASH=y | 1728 | CONFIG_CRYPTO_HASH=y |
| 1610 | CONFIG_CRYPTO_HASH2=y | 1729 | CONFIG_CRYPTO_HASH2=y |
| 1611 | CONFIG_CRYPTO_RNG2=y | 1730 | CONFIG_CRYPTO_RNG2=y |
| 1731 | CONFIG_CRYPTO_PCOMP=y | ||
| 1612 | CONFIG_CRYPTO_MANAGER=y | 1732 | CONFIG_CRYPTO_MANAGER=y |
| 1613 | CONFIG_CRYPTO_MANAGER2=y | 1733 | CONFIG_CRYPTO_MANAGER2=y |
| 1614 | # CONFIG_CRYPTO_GF128MUL is not set | 1734 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1615 | # CONFIG_CRYPTO_NULL is not set | 1735 | # CONFIG_CRYPTO_NULL is not set |
| 1736 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1616 | # CONFIG_CRYPTO_CRYPTD is not set | 1737 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1617 | # CONFIG_CRYPTO_AUTHENC is not set | 1738 | # CONFIG_CRYPTO_AUTHENC is not set |
| 1618 | # CONFIG_CRYPTO_TEST is not set | 1739 | # CONFIG_CRYPTO_TEST is not set |
| @@ -1680,8 +1801,9 @@ CONFIG_CRYPTO_DES=y | |||
| 1680 | # | 1801 | # |
| 1681 | # Compression | 1802 | # Compression |
| 1682 | # | 1803 | # |
| 1683 | # CONFIG_CRYPTO_DEFLATE is not set | 1804 | CONFIG_CRYPTO_DEFLATE=m |
| 1684 | # CONFIG_CRYPTO_LZO is not set | 1805 | # CONFIG_CRYPTO_ZLIB is not set |
| 1806 | CONFIG_CRYPTO_LZO=m | ||
| 1685 | 1807 | ||
| 1686 | # | 1808 | # |
| 1687 | # Random Number Generation | 1809 | # Random Number Generation |
diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig index fb08819d7cc4..c162724fed4f 100644 --- a/arch/powerpc/configs/mpc85xx_defconfig +++ b/arch/powerpc/configs/mpc85xx_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 15:35:37 2009 | 4 | # Tue Apr 21 15:40:23 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
| 22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
| 23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
| 24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
| 25 | CONFIG_PPC_BOOK3E_MMU=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | 26 | # CONFIG_PPC_MM_SLICES is not set |
| 26 | # CONFIG_SMP is not set | 27 | # CONFIG_SMP is not set |
| 27 | CONFIG_PPC32=y | 28 | CONFIG_PPC32=y |
| @@ -59,6 +60,7 @@ CONFIG_GENERIC_BUG=y | |||
| 59 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
| 60 | # CONFIG_PPC_DCR_NATIVE is not set | 61 | # CONFIG_PPC_DCR_NATIVE is not set |
| 61 | # CONFIG_PPC_DCR_MMIO is not set | 62 | # CONFIG_PPC_DCR_MMIO is not set |
| 63 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 62 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 64 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 63 | 65 | ||
| 64 | # | 66 | # |
| @@ -73,11 +75,21 @@ CONFIG_SWAP=y | |||
| 73 | CONFIG_SYSVIPC=y | 75 | CONFIG_SYSVIPC=y |
| 74 | CONFIG_SYSVIPC_SYSCTL=y | 76 | CONFIG_SYSVIPC_SYSCTL=y |
| 75 | CONFIG_POSIX_MQUEUE=y | 77 | CONFIG_POSIX_MQUEUE=y |
| 78 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
| 76 | CONFIG_BSD_PROCESS_ACCT=y | 79 | CONFIG_BSD_PROCESS_ACCT=y |
| 77 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 80 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
| 78 | # CONFIG_TASKSTATS is not set | 81 | # CONFIG_TASKSTATS is not set |
| 79 | CONFIG_AUDIT=y | 82 | CONFIG_AUDIT=y |
| 80 | # CONFIG_AUDITSYSCALL is not set | 83 | # CONFIG_AUDITSYSCALL is not set |
| 84 | |||
| 85 | # | ||
| 86 | # RCU Subsystem | ||
| 87 | # | ||
| 88 | CONFIG_CLASSIC_RCU=y | ||
| 89 | # CONFIG_TREE_RCU is not set | ||
| 90 | # CONFIG_PREEMPT_RCU is not set | ||
| 91 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 92 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 81 | CONFIG_IKCONFIG=y | 93 | CONFIG_IKCONFIG=y |
| 82 | CONFIG_IKCONFIG_PROC=y | 94 | CONFIG_IKCONFIG_PROC=y |
| 83 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
| @@ -93,22 +105,24 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 93 | # CONFIG_NAMESPACES is not set | 105 | # CONFIG_NAMESPACES is not set |
| 94 | CONFIG_BLK_DEV_INITRD=y | 106 | CONFIG_BLK_DEV_INITRD=y |
| 95 | CONFIG_INITRAMFS_SOURCE="" | 107 | CONFIG_INITRAMFS_SOURCE="" |
| 108 | CONFIG_RD_GZIP=y | ||
| 109 | # CONFIG_RD_BZIP2 is not set | ||
| 110 | # CONFIG_RD_LZMA is not set | ||
| 96 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 111 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 97 | CONFIG_SYSCTL=y | 112 | CONFIG_SYSCTL=y |
| 113 | CONFIG_ANON_INODES=y | ||
| 98 | CONFIG_EMBEDDED=y | 114 | CONFIG_EMBEDDED=y |
| 99 | CONFIG_SYSCTL_SYSCALL=y | 115 | CONFIG_SYSCTL_SYSCALL=y |
| 100 | CONFIG_KALLSYMS=y | 116 | CONFIG_KALLSYMS=y |
| 101 | CONFIG_KALLSYMS_ALL=y | 117 | CONFIG_KALLSYMS_ALL=y |
| 102 | CONFIG_KALLSYMS_STRIP_GENERATED=y | ||
| 103 | CONFIG_KALLSYMS_EXTRA_PASS=y | 118 | CONFIG_KALLSYMS_EXTRA_PASS=y |
| 119 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 104 | CONFIG_HOTPLUG=y | 120 | CONFIG_HOTPLUG=y |
| 105 | CONFIG_PRINTK=y | 121 | CONFIG_PRINTK=y |
| 106 | CONFIG_BUG=y | 122 | CONFIG_BUG=y |
| 107 | CONFIG_ELF_CORE=y | 123 | CONFIG_ELF_CORE=y |
| 108 | CONFIG_COMPAT_BRK=y | ||
| 109 | CONFIG_BASE_FULL=y | 124 | CONFIG_BASE_FULL=y |
| 110 | CONFIG_FUTEX=y | 125 | CONFIG_FUTEX=y |
| 111 | CONFIG_ANON_INODES=y | ||
| 112 | CONFIG_EPOLL=y | 126 | CONFIG_EPOLL=y |
| 113 | CONFIG_SIGNALFD=y | 127 | CONFIG_SIGNALFD=y |
| 114 | CONFIG_TIMERFD=y | 128 | CONFIG_TIMERFD=y |
| @@ -118,10 +132,12 @@ CONFIG_AIO=y | |||
| 118 | CONFIG_VM_EVENT_COUNTERS=y | 132 | CONFIG_VM_EVENT_COUNTERS=y |
| 119 | CONFIG_PCI_QUIRKS=y | 133 | CONFIG_PCI_QUIRKS=y |
| 120 | CONFIG_SLUB_DEBUG=y | 134 | CONFIG_SLUB_DEBUG=y |
| 135 | CONFIG_COMPAT_BRK=y | ||
| 121 | # CONFIG_SLAB is not set | 136 | # CONFIG_SLAB is not set |
| 122 | CONFIG_SLUB=y | 137 | CONFIG_SLUB=y |
| 123 | # CONFIG_SLOB is not set | 138 | # CONFIG_SLOB is not set |
| 124 | # CONFIG_PROFILING is not set | 139 | # CONFIG_PROFILING is not set |
| 140 | # CONFIG_MARKERS is not set | ||
| 125 | CONFIG_HAVE_OPROFILE=y | 141 | CONFIG_HAVE_OPROFILE=y |
| 126 | # CONFIG_KPROBES is not set | 142 | # CONFIG_KPROBES is not set |
| 127 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 143 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| @@ -130,6 +146,7 @@ CONFIG_HAVE_KPROBES=y | |||
| 130 | CONFIG_HAVE_KRETPROBES=y | 146 | CONFIG_HAVE_KRETPROBES=y |
| 131 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 147 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 132 | CONFIG_HAVE_CLK=y | 148 | CONFIG_HAVE_CLK=y |
| 149 | # CONFIG_SLOW_WORK is not set | ||
| 133 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 150 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 134 | CONFIG_SLABINFO=y | 151 | CONFIG_SLABINFO=y |
| 135 | CONFIG_RT_MUTEXES=y | 152 | CONFIG_RT_MUTEXES=y |
| @@ -142,7 +159,6 @@ CONFIG_MODVERSIONS=y | |||
| 142 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 159 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 143 | CONFIG_BLOCK=y | 160 | CONFIG_BLOCK=y |
| 144 | CONFIG_LBD=y | 161 | CONFIG_LBD=y |
| 145 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 146 | # CONFIG_BLK_DEV_BSG is not set | 162 | # CONFIG_BLK_DEV_BSG is not set |
| 147 | # CONFIG_BLK_DEV_INTEGRITY is not set | 163 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 148 | 164 | ||
| @@ -158,11 +174,6 @@ CONFIG_IOSCHED_CFQ=y | |||
| 158 | CONFIG_DEFAULT_CFQ=y | 174 | CONFIG_DEFAULT_CFQ=y |
| 159 | # CONFIG_DEFAULT_NOOP is not set | 175 | # CONFIG_DEFAULT_NOOP is not set |
| 160 | CONFIG_DEFAULT_IOSCHED="cfq" | 176 | CONFIG_DEFAULT_IOSCHED="cfq" |
| 161 | CONFIG_CLASSIC_RCU=y | ||
| 162 | # CONFIG_TREE_RCU is not set | ||
| 163 | # CONFIG_PREEMPT_RCU is not set | ||
| 164 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 165 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 166 | # CONFIG_FREEZER is not set | 177 | # CONFIG_FREEZER is not set |
| 167 | 178 | ||
| 168 | # | 179 | # |
| @@ -178,8 +189,9 @@ CONFIG_MPC85xx_CDS=y | |||
| 178 | CONFIG_MPC85xx_MDS=y | 189 | CONFIG_MPC85xx_MDS=y |
| 179 | CONFIG_MPC8536_DS=y | 190 | CONFIG_MPC8536_DS=y |
| 180 | CONFIG_MPC85xx_DS=y | 191 | CONFIG_MPC85xx_DS=y |
| 192 | CONFIG_SOCRATES=y | ||
| 181 | CONFIG_KSI8560=y | 193 | CONFIG_KSI8560=y |
| 182 | # CONFIG_STX_GP3 is not set | 194 | CONFIG_STX_GP3=y |
| 183 | CONFIG_TQM8540=y | 195 | CONFIG_TQM8540=y |
| 184 | CONFIG_TQM8541=y | 196 | CONFIG_TQM8541=y |
| 185 | CONFIG_TQM8548=y | 197 | CONFIG_TQM8548=y |
| @@ -200,11 +212,11 @@ CONFIG_PPC_I8259=y | |||
| 200 | # CONFIG_GENERIC_IOMAP is not set | 212 | # CONFIG_GENERIC_IOMAP is not set |
| 201 | # CONFIG_CPU_FREQ is not set | 213 | # CONFIG_CPU_FREQ is not set |
| 202 | CONFIG_QUICC_ENGINE=y | 214 | CONFIG_QUICC_ENGINE=y |
| 203 | # CONFIG_QE_GPIO is not set | 215 | CONFIG_QE_GPIO=y |
| 204 | CONFIG_CPM2=y | 216 | CONFIG_CPM2=y |
| 205 | CONFIG_FSL_ULI1575=y | 217 | CONFIG_FSL_ULI1575=y |
| 206 | CONFIG_CPM=y | 218 | CONFIG_CPM=y |
| 207 | # CONFIG_MPC8xxx_GPIO is not set | 219 | CONFIG_MPC8xxx_GPIO=y |
| 208 | # CONFIG_SIMPLE_GPIO is not set | 220 | # CONFIG_SIMPLE_GPIO is not set |
| 209 | 221 | ||
| 210 | # | 222 | # |
| @@ -249,9 +261,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 249 | CONFIG_BOUNCE=y | 261 | CONFIG_BOUNCE=y |
| 250 | CONFIG_VIRT_TO_BUS=y | 262 | CONFIG_VIRT_TO_BUS=y |
| 251 | CONFIG_UNEVICTABLE_LRU=y | 263 | CONFIG_UNEVICTABLE_LRU=y |
| 264 | CONFIG_HAVE_MLOCK=y | ||
| 265 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 252 | CONFIG_PPC_4K_PAGES=y | 266 | CONFIG_PPC_4K_PAGES=y |
| 253 | # CONFIG_PPC_16K_PAGES is not set | 267 | # CONFIG_PPC_16K_PAGES is not set |
| 254 | # CONFIG_PPC_64K_PAGES is not set | 268 | # CONFIG_PPC_64K_PAGES is not set |
| 269 | # CONFIG_PPC_256K_PAGES is not set | ||
| 255 | CONFIG_FORCE_MAX_ZONEORDER=11 | 270 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 256 | CONFIG_PROC_DEVICETREE=y | 271 | CONFIG_PROC_DEVICETREE=y |
| 257 | # CONFIG_CMDLINE_BOOL is not set | 272 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -278,6 +293,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 278 | # CONFIG_PCI_LEGACY is not set | 293 | # CONFIG_PCI_LEGACY is not set |
| 279 | # CONFIG_PCI_DEBUG is not set | 294 | # CONFIG_PCI_DEBUG is not set |
| 280 | # CONFIG_PCI_STUB is not set | 295 | # CONFIG_PCI_STUB is not set |
| 296 | # CONFIG_PCI_IOV is not set | ||
| 281 | # CONFIG_PCCARD is not set | 297 | # CONFIG_PCCARD is not set |
| 282 | # CONFIG_HOTPLUG_PCI is not set | 298 | # CONFIG_HOTPLUG_PCI is not set |
| 283 | # CONFIG_HAS_RAPIDIO is not set | 299 | # CONFIG_HAS_RAPIDIO is not set |
| @@ -291,17 +307,17 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 291 | # Default settings for advanced configuration options are used | 307 | # Default settings for advanced configuration options are used |
| 292 | # | 308 | # |
| 293 | CONFIG_LOWMEM_SIZE=0x30000000 | 309 | CONFIG_LOWMEM_SIZE=0x30000000 |
| 310 | CONFIG_LOWMEM_CAM_NUM=3 | ||
| 294 | CONFIG_PAGE_OFFSET=0xc0000000 | 311 | CONFIG_PAGE_OFFSET=0xc0000000 |
| 295 | CONFIG_KERNEL_START=0xc0000000 | 312 | CONFIG_KERNEL_START=0xc0000000 |
| 296 | CONFIG_PHYSICAL_START=0x00000000 | 313 | CONFIG_PHYSICAL_START=0x00000000 |
| 297 | CONFIG_PHYSICAL_ALIGN=0x10000000 | 314 | CONFIG_PHYSICAL_ALIGN=0x04000000 |
| 298 | CONFIG_TASK_SIZE=0xc0000000 | 315 | CONFIG_TASK_SIZE=0xc0000000 |
| 299 | CONFIG_NET=y | 316 | CONFIG_NET=y |
| 300 | 317 | ||
| 301 | # | 318 | # |
| 302 | # Networking options | 319 | # Networking options |
| 303 | # | 320 | # |
| 304 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 305 | CONFIG_PACKET=y | 321 | CONFIG_PACKET=y |
| 306 | # CONFIG_PACKET_MMAP is not set | 322 | # CONFIG_PACKET_MMAP is not set |
| 307 | CONFIG_UNIX=y | 323 | CONFIG_UNIX=y |
| @@ -389,6 +405,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
| 389 | # CONFIG_LAPB is not set | 405 | # CONFIG_LAPB is not set |
| 390 | # CONFIG_ECONET is not set | 406 | # CONFIG_ECONET is not set |
| 391 | # CONFIG_WAN_ROUTER is not set | 407 | # CONFIG_WAN_ROUTER is not set |
| 408 | # CONFIG_PHONET is not set | ||
| 392 | # CONFIG_NET_SCHED is not set | 409 | # CONFIG_NET_SCHED is not set |
| 393 | # CONFIG_DCB is not set | 410 | # CONFIG_DCB is not set |
| 394 | 411 | ||
| @@ -401,7 +418,6 @@ CONFIG_SCTP_HMAC_MD5=y | |||
| 401 | # CONFIG_IRDA is not set | 418 | # CONFIG_IRDA is not set |
| 402 | # CONFIG_BT is not set | 419 | # CONFIG_BT is not set |
| 403 | # CONFIG_AF_RXRPC is not set | 420 | # CONFIG_AF_RXRPC is not set |
| 404 | # CONFIG_PHONET is not set | ||
| 405 | CONFIG_FIB_RULES=y | 421 | CONFIG_FIB_RULES=y |
| 406 | CONFIG_WIRELESS=y | 422 | CONFIG_WIRELESS=y |
| 407 | # CONFIG_CFG80211 is not set | 423 | # CONFIG_CFG80211 is not set |
| @@ -456,13 +472,20 @@ CONFIG_BLK_DEV_RAM_SIZE=131072 | |||
| 456 | # CONFIG_BLK_DEV_HD is not set | 472 | # CONFIG_BLK_DEV_HD is not set |
| 457 | CONFIG_MISC_DEVICES=y | 473 | CONFIG_MISC_DEVICES=y |
| 458 | # CONFIG_PHANTOM is not set | 474 | # CONFIG_PHANTOM is not set |
| 459 | # CONFIG_EEPROM_93CX6 is not set | ||
| 460 | # CONFIG_SGI_IOC4 is not set | 475 | # CONFIG_SGI_IOC4 is not set |
| 461 | # CONFIG_TIFM_CORE is not set | 476 | # CONFIG_TIFM_CORE is not set |
| 462 | # CONFIG_ICS932S401 is not set | 477 | # CONFIG_ICS932S401 is not set |
| 463 | # CONFIG_ENCLOSURE_SERVICES is not set | 478 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 464 | # CONFIG_HP_ILO is not set | 479 | # CONFIG_HP_ILO is not set |
| 480 | # CONFIG_ISL29003 is not set | ||
| 465 | # CONFIG_C2PORT is not set | 481 | # CONFIG_C2PORT is not set |
| 482 | |||
| 483 | # | ||
| 484 | # EEPROM support | ||
| 485 | # | ||
| 486 | # CONFIG_EEPROM_AT24 is not set | ||
| 487 | CONFIG_EEPROM_LEGACY=y | ||
| 488 | # CONFIG_EEPROM_93CX6 is not set | ||
| 466 | CONFIG_HAVE_IDE=y | 489 | CONFIG_HAVE_IDE=y |
| 467 | # CONFIG_IDE is not set | 490 | # CONFIG_IDE is not set |
| 468 | 491 | ||
| @@ -521,9 +544,11 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 521 | # CONFIG_MEGARAID_NEWGEN is not set | 544 | # CONFIG_MEGARAID_NEWGEN is not set |
| 522 | # CONFIG_MEGARAID_LEGACY is not set | 545 | # CONFIG_MEGARAID_LEGACY is not set |
| 523 | # CONFIG_MEGARAID_SAS is not set | 546 | # CONFIG_MEGARAID_SAS is not set |
| 547 | # CONFIG_SCSI_MPT2SAS is not set | ||
| 524 | # CONFIG_SCSI_HPTIOP is not set | 548 | # CONFIG_SCSI_HPTIOP is not set |
| 525 | # CONFIG_SCSI_BUSLOGIC is not set | 549 | # CONFIG_SCSI_BUSLOGIC is not set |
| 526 | # CONFIG_LIBFC is not set | 550 | # CONFIG_LIBFC is not set |
| 551 | # CONFIG_LIBFCOE is not set | ||
| 527 | # CONFIG_FCOE is not set | 552 | # CONFIG_FCOE is not set |
| 528 | # CONFIG_SCSI_DMX3191D is not set | 553 | # CONFIG_SCSI_DMX3191D is not set |
| 529 | # CONFIG_SCSI_EATA is not set | 554 | # CONFIG_SCSI_EATA is not set |
| @@ -546,6 +571,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 546 | # CONFIG_SCSI_DEBUG is not set | 571 | # CONFIG_SCSI_DEBUG is not set |
| 547 | # CONFIG_SCSI_SRP is not set | 572 | # CONFIG_SCSI_SRP is not set |
| 548 | # CONFIG_SCSI_DH is not set | 573 | # CONFIG_SCSI_DH is not set |
| 574 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 549 | CONFIG_ATA=y | 575 | CONFIG_ATA=y |
| 550 | # CONFIG_ATA_NONSTANDARD is not set | 576 | # CONFIG_ATA_NONSTANDARD is not set |
| 551 | CONFIG_SATA_PMP=y | 577 | CONFIG_SATA_PMP=y |
| @@ -622,6 +648,7 @@ CONFIG_PATA_ALI=y | |||
| 622 | # CONFIG_I2O is not set | 648 | # CONFIG_I2O is not set |
| 623 | # CONFIG_MACINTOSH_DRIVERS is not set | 649 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 624 | CONFIG_NETDEVICES=y | 650 | CONFIG_NETDEVICES=y |
| 651 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 625 | CONFIG_DUMMY=y | 652 | CONFIG_DUMMY=y |
| 626 | # CONFIG_BONDING is not set | 653 | # CONFIG_BONDING is not set |
| 627 | # CONFIG_MACVLAN is not set | 654 | # CONFIG_MACVLAN is not set |
| @@ -634,11 +661,11 @@ CONFIG_PHYLIB=y | |||
| 634 | # | 661 | # |
| 635 | # MII PHY device drivers | 662 | # MII PHY device drivers |
| 636 | # | 663 | # |
| 637 | # CONFIG_MARVELL_PHY is not set | 664 | CONFIG_MARVELL_PHY=y |
| 638 | # CONFIG_DAVICOM_PHY is not set | 665 | CONFIG_DAVICOM_PHY=y |
| 639 | # CONFIG_QSEMI_PHY is not set | 666 | # CONFIG_QSEMI_PHY is not set |
| 640 | # CONFIG_LXT_PHY is not set | 667 | # CONFIG_LXT_PHY is not set |
| 641 | # CONFIG_CICADA_PHY is not set | 668 | CONFIG_CICADA_PHY=y |
| 642 | CONFIG_VITESSE_PHY=y | 669 | CONFIG_VITESSE_PHY=y |
| 643 | # CONFIG_SMSC_PHY is not set | 670 | # CONFIG_SMSC_PHY is not set |
| 644 | # CONFIG_BROADCOM_PHY is not set | 671 | # CONFIG_BROADCOM_PHY is not set |
| @@ -647,7 +674,7 @@ CONFIG_VITESSE_PHY=y | |||
| 647 | # CONFIG_NATIONAL_PHY is not set | 674 | # CONFIG_NATIONAL_PHY is not set |
| 648 | # CONFIG_STE10XP is not set | 675 | # CONFIG_STE10XP is not set |
| 649 | # CONFIG_LSI_ET1011C_PHY is not set | 676 | # CONFIG_LSI_ET1011C_PHY is not set |
| 650 | # CONFIG_FIXED_PHY is not set | 677 | CONFIG_FIXED_PHY=y |
| 651 | # CONFIG_MDIO_BITBANG is not set | 678 | # CONFIG_MDIO_BITBANG is not set |
| 652 | CONFIG_NET_ETHERNET=y | 679 | CONFIG_NET_ETHERNET=y |
| 653 | CONFIG_MII=y | 680 | CONFIG_MII=y |
| @@ -655,6 +682,8 @@ CONFIG_MII=y | |||
| 655 | # CONFIG_SUNGEM is not set | 682 | # CONFIG_SUNGEM is not set |
| 656 | # CONFIG_CASSINI is not set | 683 | # CONFIG_CASSINI is not set |
| 657 | # CONFIG_NET_VENDOR_3COM is not set | 684 | # CONFIG_NET_VENDOR_3COM is not set |
| 685 | # CONFIG_ETHOC is not set | ||
| 686 | # CONFIG_DNET is not set | ||
| 658 | # CONFIG_NET_TULIP is not set | 687 | # CONFIG_NET_TULIP is not set |
| 659 | # CONFIG_HP100 is not set | 688 | # CONFIG_HP100 is not set |
| 660 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 689 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| @@ -667,7 +696,10 @@ CONFIG_MII=y | |||
| 667 | # CONFIG_NET_PCI is not set | 696 | # CONFIG_NET_PCI is not set |
| 668 | # CONFIG_B44 is not set | 697 | # CONFIG_B44 is not set |
| 669 | # CONFIG_ATL2 is not set | 698 | # CONFIG_ATL2 is not set |
| 670 | # CONFIG_FS_ENET is not set | 699 | CONFIG_FS_ENET=y |
| 700 | CONFIG_FS_ENET_HAS_SCC=y | ||
| 701 | CONFIG_FS_ENET_HAS_FCC=y | ||
| 702 | # CONFIG_FS_ENET_MDIO_FCC is not set | ||
| 671 | CONFIG_NETDEV_1000=y | 703 | CONFIG_NETDEV_1000=y |
| 672 | # CONFIG_ACENIC is not set | 704 | # CONFIG_ACENIC is not set |
| 673 | # CONFIG_DL2K is not set | 705 | # CONFIG_DL2K is not set |
| @@ -675,6 +707,7 @@ CONFIG_NETDEV_1000=y | |||
| 675 | # CONFIG_E1000E is not set | 707 | # CONFIG_E1000E is not set |
| 676 | # CONFIG_IP1000 is not set | 708 | # CONFIG_IP1000 is not set |
| 677 | # CONFIG_IGB is not set | 709 | # CONFIG_IGB is not set |
| 710 | # CONFIG_IGBVF is not set | ||
| 678 | # CONFIG_NS83820 is not set | 711 | # CONFIG_NS83820 is not set |
| 679 | # CONFIG_HAMACHI is not set | 712 | # CONFIG_HAMACHI is not set |
| 680 | # CONFIG_YELLOWFIN is not set | 713 | # CONFIG_YELLOWFIN is not set |
| @@ -685,11 +718,15 @@ CONFIG_NETDEV_1000=y | |||
| 685 | # CONFIG_VIA_VELOCITY is not set | 718 | # CONFIG_VIA_VELOCITY is not set |
| 686 | # CONFIG_TIGON3 is not set | 719 | # CONFIG_TIGON3 is not set |
| 687 | # CONFIG_BNX2 is not set | 720 | # CONFIG_BNX2 is not set |
| 721 | CONFIG_FSL_PQ_MDIO=y | ||
| 688 | CONFIG_GIANFAR=y | 722 | CONFIG_GIANFAR=y |
| 689 | # CONFIG_UCC_GETH is not set | 723 | CONFIG_UCC_GETH=y |
| 724 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
| 725 | # CONFIG_UGETH_TX_ON_DEMAND is not set | ||
| 690 | # CONFIG_QLA3XXX is not set | 726 | # CONFIG_QLA3XXX is not set |
| 691 | # CONFIG_ATL1 is not set | 727 | # CONFIG_ATL1 is not set |
| 692 | # CONFIG_ATL1E is not set | 728 | # CONFIG_ATL1E is not set |
| 729 | # CONFIG_ATL1C is not set | ||
| 693 | # CONFIG_JME is not set | 730 | # CONFIG_JME is not set |
| 694 | CONFIG_NETDEV_10000=y | 731 | CONFIG_NETDEV_10000=y |
| 695 | # CONFIG_CHELSIO_T1 is not set | 732 | # CONFIG_CHELSIO_T1 is not set |
| @@ -699,6 +736,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 699 | # CONFIG_IXGBE is not set | 736 | # CONFIG_IXGBE is not set |
| 700 | # CONFIG_IXGB is not set | 737 | # CONFIG_IXGB is not set |
| 701 | # CONFIG_S2IO is not set | 738 | # CONFIG_S2IO is not set |
| 739 | # CONFIG_VXGE is not set | ||
| 702 | # CONFIG_MYRI10GE is not set | 740 | # CONFIG_MYRI10GE is not set |
| 703 | # CONFIG_NETXEN_NIC is not set | 741 | # CONFIG_NETXEN_NIC is not set |
| 704 | # CONFIG_NIU is not set | 742 | # CONFIG_NIU is not set |
| @@ -708,6 +746,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 708 | # CONFIG_BNX2X is not set | 746 | # CONFIG_BNX2X is not set |
| 709 | # CONFIG_QLGE is not set | 747 | # CONFIG_QLGE is not set |
| 710 | # CONFIG_SFC is not set | 748 | # CONFIG_SFC is not set |
| 749 | # CONFIG_BE2NET is not set | ||
| 711 | # CONFIG_TR is not set | 750 | # CONFIG_TR is not set |
| 712 | 751 | ||
| 713 | # | 752 | # |
| @@ -715,7 +754,6 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 715 | # | 754 | # |
| 716 | # CONFIG_WLAN_PRE80211 is not set | 755 | # CONFIG_WLAN_PRE80211 is not set |
| 717 | # CONFIG_WLAN_80211 is not set | 756 | # CONFIG_WLAN_80211 is not set |
| 718 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 719 | 757 | ||
| 720 | # | 758 | # |
| 721 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 759 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -813,14 +851,15 @@ CONFIG_SERIAL_CORE_CONSOLE=y | |||
| 813 | # CONFIG_SERIAL_CPM is not set | 851 | # CONFIG_SERIAL_CPM is not set |
| 814 | # CONFIG_SERIAL_JSM is not set | 852 | # CONFIG_SERIAL_JSM is not set |
| 815 | # CONFIG_SERIAL_OF_PLATFORM is not set | 853 | # CONFIG_SERIAL_OF_PLATFORM is not set |
| 816 | # CONFIG_SERIAL_QE is not set | 854 | CONFIG_SERIAL_QE=m |
| 817 | CONFIG_UNIX98_PTYS=y | 855 | CONFIG_UNIX98_PTYS=y |
| 818 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | 856 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set |
| 819 | CONFIG_LEGACY_PTYS=y | 857 | CONFIG_LEGACY_PTYS=y |
| 820 | CONFIG_LEGACY_PTY_COUNT=256 | 858 | CONFIG_LEGACY_PTY_COUNT=256 |
| 821 | # CONFIG_HVC_UDBG is not set | 859 | # CONFIG_HVC_UDBG is not set |
| 822 | # CONFIG_IPMI_HANDLER is not set | 860 | # CONFIG_IPMI_HANDLER is not set |
| 823 | # CONFIG_HW_RANDOM is not set | 861 | CONFIG_HW_RANDOM=y |
| 862 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
| 824 | CONFIG_NVRAM=y | 863 | CONFIG_NVRAM=y |
| 825 | # CONFIG_R3964 is not set | 864 | # CONFIG_R3964 is not set |
| 826 | # CONFIG_APPLICOM is not set | 865 | # CONFIG_APPLICOM is not set |
| @@ -857,7 +896,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
| 857 | # | 896 | # |
| 858 | # I2C system bus drivers (mostly embedded / system-on-chip) | 897 | # I2C system bus drivers (mostly embedded / system-on-chip) |
| 859 | # | 898 | # |
| 860 | # CONFIG_I2C_CPM is not set | 899 | CONFIG_I2C_CPM=m |
| 861 | # CONFIG_I2C_GPIO is not set | 900 | # CONFIG_I2C_GPIO is not set |
| 862 | CONFIG_I2C_MPC=y | 901 | CONFIG_I2C_MPC=y |
| 863 | # CONFIG_I2C_OCORES is not set | 902 | # CONFIG_I2C_OCORES is not set |
| @@ -885,12 +924,9 @@ CONFIG_I2C_MPC=y | |||
| 885 | # Miscellaneous I2C Chip support | 924 | # Miscellaneous I2C Chip support |
| 886 | # | 925 | # |
| 887 | # CONFIG_DS1682 is not set | 926 | # CONFIG_DS1682 is not set |
| 888 | # CONFIG_EEPROM_AT24 is not set | ||
| 889 | CONFIG_EEPROM_LEGACY=y | ||
| 890 | # CONFIG_SENSORS_PCF8574 is not set | 927 | # CONFIG_SENSORS_PCF8574 is not set |
| 891 | # CONFIG_PCF8575 is not set | 928 | # CONFIG_PCF8575 is not set |
| 892 | # CONFIG_SENSORS_PCA9539 is not set | 929 | # CONFIG_SENSORS_PCA9539 is not set |
| 893 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 894 | # CONFIG_SENSORS_MAX6875 is not set | 930 | # CONFIG_SENSORS_MAX6875 is not set |
| 895 | # CONFIG_SENSORS_TSL2550 is not set | 931 | # CONFIG_SENSORS_TSL2550 is not set |
| 896 | # CONFIG_I2C_DEBUG_CORE is not set | 932 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -969,7 +1005,7 @@ CONFIG_VIDEO_MEDIA=m | |||
| 969 | # | 1005 | # |
| 970 | # CONFIG_MEDIA_ATTACH is not set | 1006 | # CONFIG_MEDIA_ATTACH is not set |
| 971 | CONFIG_MEDIA_TUNER=m | 1007 | CONFIG_MEDIA_TUNER=m |
| 972 | # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set | 1008 | # CONFIG_MEDIA_TUNER_CUSTOMISE is not set |
| 973 | CONFIG_MEDIA_TUNER_SIMPLE=m | 1009 | CONFIG_MEDIA_TUNER_SIMPLE=m |
| 974 | CONFIG_MEDIA_TUNER_TDA8290=m | 1010 | CONFIG_MEDIA_TUNER_TDA8290=m |
| 975 | CONFIG_MEDIA_TUNER_TDA9887=m | 1011 | CONFIG_MEDIA_TUNER_TDA9887=m |
| @@ -978,6 +1014,7 @@ CONFIG_MEDIA_TUNER_TEA5767=m | |||
| 978 | CONFIG_MEDIA_TUNER_MT20XX=m | 1014 | CONFIG_MEDIA_TUNER_MT20XX=m |
| 979 | CONFIG_MEDIA_TUNER_XC2028=m | 1015 | CONFIG_MEDIA_TUNER_XC2028=m |
| 980 | CONFIG_MEDIA_TUNER_XC5000=m | 1016 | CONFIG_MEDIA_TUNER_XC5000=m |
| 1017 | CONFIG_MEDIA_TUNER_MC44S803=m | ||
| 981 | # CONFIG_DVB_DYNAMIC_MINORS is not set | 1018 | # CONFIG_DVB_DYNAMIC_MINORS is not set |
| 982 | CONFIG_DVB_CAPTURE_DRIVERS=y | 1019 | CONFIG_DVB_CAPTURE_DRIVERS=y |
| 983 | 1020 | ||
| @@ -1017,103 +1054,7 @@ CONFIG_DVB_CAPTURE_DRIVERS=y | |||
| 1017 | # | 1054 | # |
| 1018 | # Supported DVB Frontends | 1055 | # Supported DVB Frontends |
| 1019 | # | 1056 | # |
| 1020 | |||
| 1021 | # | ||
| 1022 | # Customise DVB Frontends | ||
| 1023 | # | ||
| 1024 | # CONFIG_DVB_FE_CUSTOMISE is not set | 1057 | # CONFIG_DVB_FE_CUSTOMISE is not set |
| 1025 | |||
| 1026 | # | ||
| 1027 | # Multistandard (satellite) frontends | ||
| 1028 | # | ||
| 1029 | # CONFIG_DVB_STB0899 is not set | ||
| 1030 | # CONFIG_DVB_STB6100 is not set | ||
| 1031 | |||
| 1032 | # | ||
| 1033 | # DVB-S (satellite) frontends | ||
| 1034 | # | ||
| 1035 | # CONFIG_DVB_CX24110 is not set | ||
| 1036 | # CONFIG_DVB_CX24123 is not set | ||
| 1037 | # CONFIG_DVB_MT312 is not set | ||
| 1038 | # CONFIG_DVB_S5H1420 is not set | ||
| 1039 | # CONFIG_DVB_STV0288 is not set | ||
| 1040 | # CONFIG_DVB_STB6000 is not set | ||
| 1041 | # CONFIG_DVB_STV0299 is not set | ||
| 1042 | # CONFIG_DVB_TDA8083 is not set | ||
| 1043 | # CONFIG_DVB_TDA10086 is not set | ||
| 1044 | # CONFIG_DVB_TDA8261 is not set | ||
| 1045 | # CONFIG_DVB_VES1X93 is not set | ||
| 1046 | # CONFIG_DVB_TUNER_ITD1000 is not set | ||
| 1047 | # CONFIG_DVB_TUNER_CX24113 is not set | ||
| 1048 | # CONFIG_DVB_TDA826X is not set | ||
| 1049 | # CONFIG_DVB_TUA6100 is not set | ||
| 1050 | # CONFIG_DVB_CX24116 is not set | ||
| 1051 | # CONFIG_DVB_SI21XX is not set | ||
| 1052 | |||
| 1053 | # | ||
| 1054 | # DVB-T (terrestrial) frontends | ||
| 1055 | # | ||
| 1056 | # CONFIG_DVB_SP8870 is not set | ||
| 1057 | # CONFIG_DVB_SP887X is not set | ||
| 1058 | # CONFIG_DVB_CX22700 is not set | ||
| 1059 | # CONFIG_DVB_CX22702 is not set | ||
| 1060 | # CONFIG_DVB_DRX397XD is not set | ||
| 1061 | # CONFIG_DVB_L64781 is not set | ||
| 1062 | # CONFIG_DVB_TDA1004X is not set | ||
| 1063 | # CONFIG_DVB_NXT6000 is not set | ||
| 1064 | # CONFIG_DVB_MT352 is not set | ||
| 1065 | # CONFIG_DVB_ZL10353 is not set | ||
| 1066 | # CONFIG_DVB_DIB3000MB is not set | ||
| 1067 | # CONFIG_DVB_DIB3000MC is not set | ||
| 1068 | # CONFIG_DVB_DIB7000M is not set | ||
| 1069 | # CONFIG_DVB_DIB7000P is not set | ||
| 1070 | # CONFIG_DVB_TDA10048 is not set | ||
| 1071 | |||
| 1072 | # | ||
| 1073 | # DVB-C (cable) frontends | ||
| 1074 | # | ||
| 1075 | # CONFIG_DVB_VES1820 is not set | ||
| 1076 | # CONFIG_DVB_TDA10021 is not set | ||
| 1077 | # CONFIG_DVB_TDA10023 is not set | ||
| 1078 | # CONFIG_DVB_STV0297 is not set | ||
| 1079 | |||
| 1080 | # | ||
| 1081 | # ATSC (North American/Korean Terrestrial/Cable DTV) frontends | ||
| 1082 | # | ||
| 1083 | # CONFIG_DVB_NXT200X is not set | ||
| 1084 | # CONFIG_DVB_OR51211 is not set | ||
| 1085 | # CONFIG_DVB_OR51132 is not set | ||
| 1086 | # CONFIG_DVB_BCM3510 is not set | ||
| 1087 | # CONFIG_DVB_LGDT330X is not set | ||
| 1088 | # CONFIG_DVB_LGDT3304 is not set | ||
| 1089 | # CONFIG_DVB_S5H1409 is not set | ||
| 1090 | # CONFIG_DVB_AU8522 is not set | ||
| 1091 | # CONFIG_DVB_S5H1411 is not set | ||
| 1092 | |||
| 1093 | # | ||
| 1094 | # ISDB-T (terrestrial) frontends | ||
| 1095 | # | ||
| 1096 | # CONFIG_DVB_S921 is not set | ||
| 1097 | |||
| 1098 | # | ||
| 1099 | # Digital terrestrial only tuners/PLL | ||
| 1100 | # | ||
| 1101 | # CONFIG_DVB_PLL is not set | ||
| 1102 | # CONFIG_DVB_TUNER_DIB0070 is not set | ||
| 1103 | |||
| 1104 | # | ||
| 1105 | # SEC control devices for DVB-S | ||
| 1106 | # | ||
| 1107 | # CONFIG_DVB_LNBP21 is not set | ||
| 1108 | # CONFIG_DVB_ISL6405 is not set | ||
| 1109 | # CONFIG_DVB_ISL6421 is not set | ||
| 1110 | # CONFIG_DVB_LGS8GL5 is not set | ||
| 1111 | |||
| 1112 | # | ||
| 1113 | # Tools to develop new frontends | ||
| 1114 | # | ||
| 1115 | # CONFIG_DVB_DUMMY_FE is not set | ||
| 1116 | # CONFIG_DVB_AF9013 is not set | ||
| 1117 | CONFIG_DAB=y | 1058 | CONFIG_DAB=y |
| 1118 | # CONFIG_USB_DABUSB is not set | 1059 | # CONFIG_USB_DABUSB is not set |
| 1119 | 1060 | ||
| @@ -1193,6 +1134,8 @@ CONFIG_SND_PCI=y | |||
| 1193 | # CONFIG_SND_INDIGO is not set | 1134 | # CONFIG_SND_INDIGO is not set |
| 1194 | # CONFIG_SND_INDIGOIO is not set | 1135 | # CONFIG_SND_INDIGOIO is not set |
| 1195 | # CONFIG_SND_INDIGODJ is not set | 1136 | # CONFIG_SND_INDIGODJ is not set |
| 1137 | # CONFIG_SND_INDIGOIOX is not set | ||
| 1138 | # CONFIG_SND_INDIGODJX is not set | ||
| 1196 | # CONFIG_SND_EMU10K1 is not set | 1139 | # CONFIG_SND_EMU10K1 is not set |
| 1197 | # CONFIG_SND_EMU10K1X is not set | 1140 | # CONFIG_SND_EMU10K1X is not set |
| 1198 | # CONFIG_SND_ENS1370 is not set | 1141 | # CONFIG_SND_ENS1370 is not set |
| @@ -1247,15 +1190,17 @@ CONFIG_USB_HID=y | |||
| 1247 | # | 1190 | # |
| 1248 | # Special HID drivers | 1191 | # Special HID drivers |
| 1249 | # | 1192 | # |
| 1250 | CONFIG_HID_COMPAT=y | ||
| 1251 | CONFIG_HID_A4TECH=y | 1193 | CONFIG_HID_A4TECH=y |
| 1252 | CONFIG_HID_APPLE=y | 1194 | CONFIG_HID_APPLE=y |
| 1253 | CONFIG_HID_BELKIN=y | 1195 | CONFIG_HID_BELKIN=y |
| 1254 | CONFIG_HID_CHERRY=y | 1196 | CONFIG_HID_CHERRY=y |
| 1255 | CONFIG_HID_CHICONY=y | 1197 | CONFIG_HID_CHICONY=y |
| 1256 | CONFIG_HID_CYPRESS=y | 1198 | CONFIG_HID_CYPRESS=y |
| 1199 | # CONFIG_DRAGONRISE_FF is not set | ||
| 1257 | CONFIG_HID_EZKEY=y | 1200 | CONFIG_HID_EZKEY=y |
| 1201 | # CONFIG_HID_KYE is not set | ||
| 1258 | CONFIG_HID_GYRATION=y | 1202 | CONFIG_HID_GYRATION=y |
| 1203 | # CONFIG_HID_KENSINGTON is not set | ||
| 1259 | CONFIG_HID_LOGITECH=y | 1204 | CONFIG_HID_LOGITECH=y |
| 1260 | # CONFIG_LOGITECH_FF is not set | 1205 | # CONFIG_LOGITECH_FF is not set |
| 1261 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | 1206 | # CONFIG_LOGIRUMBLEPAD2_FF is not set |
| @@ -1314,6 +1259,7 @@ CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | |||
| 1314 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 1259 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
| 1315 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | 1260 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y |
| 1316 | # CONFIG_USB_UHCI_HCD is not set | 1261 | # CONFIG_USB_UHCI_HCD is not set |
| 1262 | # CONFIG_USB_FHCI_HCD is not set | ||
| 1317 | # CONFIG_USB_SL811_HCD is not set | 1263 | # CONFIG_USB_SL811_HCD is not set |
| 1318 | # CONFIG_USB_R8A66597_HCD is not set | 1264 | # CONFIG_USB_R8A66597_HCD is not set |
| 1319 | # CONFIG_USB_WHCI_HCD is not set | 1265 | # CONFIG_USB_WHCI_HCD is not set |
| @@ -1329,11 +1275,11 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
| 1329 | # CONFIG_USB_TMC is not set | 1275 | # CONFIG_USB_TMC is not set |
| 1330 | 1276 | ||
| 1331 | # | 1277 | # |
| 1332 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 1278 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 1333 | # | 1279 | # |
| 1334 | 1280 | ||
| 1335 | # | 1281 | # |
| 1336 | # see USB_STORAGE Help for more information | 1282 | # also be needed; see USB_STORAGE Help for more info |
| 1337 | # | 1283 | # |
| 1338 | CONFIG_USB_STORAGE=y | 1284 | CONFIG_USB_STORAGE=y |
| 1339 | # CONFIG_USB_STORAGE_DEBUG is not set | 1285 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -1375,7 +1321,6 @@ CONFIG_USB_STORAGE=y | |||
| 1375 | # CONFIG_USB_LED is not set | 1321 | # CONFIG_USB_LED is not set |
| 1376 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1322 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 1377 | # CONFIG_USB_CYTHERM is not set | 1323 | # CONFIG_USB_CYTHERM is not set |
| 1378 | # CONFIG_USB_PHIDGET is not set | ||
| 1379 | # CONFIG_USB_IDMOUSE is not set | 1324 | # CONFIG_USB_IDMOUSE is not set |
| 1380 | # CONFIG_USB_FTDI_ELAN is not set | 1325 | # CONFIG_USB_FTDI_ELAN is not set |
| 1381 | # CONFIG_USB_APPLEDISPLAY is not set | 1326 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -1392,6 +1337,7 @@ CONFIG_USB_STORAGE=y | |||
| 1392 | # OTG and related infrastructure | 1337 | # OTG and related infrastructure |
| 1393 | # | 1338 | # |
| 1394 | # CONFIG_USB_GPIO_VBUS is not set | 1339 | # CONFIG_USB_GPIO_VBUS is not set |
| 1340 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 1395 | # CONFIG_UWB is not set | 1341 | # CONFIG_UWB is not set |
| 1396 | # CONFIG_MMC is not set | 1342 | # CONFIG_MMC is not set |
| 1397 | # CONFIG_MEMSTICK is not set | 1343 | # CONFIG_MEMSTICK is not set |
| @@ -1406,6 +1352,8 @@ CONFIG_EDAC=y | |||
| 1406 | # CONFIG_EDAC_DEBUG is not set | 1352 | # CONFIG_EDAC_DEBUG is not set |
| 1407 | CONFIG_EDAC_MM_EDAC=y | 1353 | CONFIG_EDAC_MM_EDAC=y |
| 1408 | CONFIG_EDAC_MPC85XX=y | 1354 | CONFIG_EDAC_MPC85XX=y |
| 1355 | # CONFIG_EDAC_AMD8131 is not set | ||
| 1356 | # CONFIG_EDAC_AMD8111 is not set | ||
| 1409 | CONFIG_RTC_LIB=y | 1357 | CONFIG_RTC_LIB=y |
| 1410 | CONFIG_RTC_CLASS=y | 1358 | CONFIG_RTC_CLASS=y |
| 1411 | CONFIG_RTC_HCTOSYS=y | 1359 | CONFIG_RTC_HCTOSYS=y |
| @@ -1460,7 +1408,7 @@ CONFIG_RTC_DRV_CMOS=y | |||
| 1460 | # | 1408 | # |
| 1461 | # on-CPU RTC drivers | 1409 | # on-CPU RTC drivers |
| 1462 | # | 1410 | # |
| 1463 | # CONFIG_RTC_DRV_PPC is not set | 1411 | # CONFIG_RTC_DRV_GENERIC is not set |
| 1464 | CONFIG_DMADEVICES=y | 1412 | CONFIG_DMADEVICES=y |
| 1465 | 1413 | ||
| 1466 | # | 1414 | # |
| @@ -1473,7 +1421,9 @@ CONFIG_DMA_ENGINE=y | |||
| 1473 | # DMA Clients | 1421 | # DMA Clients |
| 1474 | # | 1422 | # |
| 1475 | # CONFIG_NET_DMA is not set | 1423 | # CONFIG_NET_DMA is not set |
| 1424 | # CONFIG_ASYNC_TX_DMA is not set | ||
| 1476 | # CONFIG_DMATEST is not set | 1425 | # CONFIG_DMATEST is not set |
| 1426 | # CONFIG_AUXDISPLAY is not set | ||
| 1477 | # CONFIG_UIO is not set | 1427 | # CONFIG_UIO is not set |
| 1478 | # CONFIG_STAGING is not set | 1428 | # CONFIG_STAGING is not set |
| 1479 | 1429 | ||
| @@ -1484,6 +1434,7 @@ CONFIG_EXT2_FS=y | |||
| 1484 | # CONFIG_EXT2_FS_XATTR is not set | 1434 | # CONFIG_EXT2_FS_XATTR is not set |
| 1485 | # CONFIG_EXT2_FS_XIP is not set | 1435 | # CONFIG_EXT2_FS_XIP is not set |
| 1486 | CONFIG_EXT3_FS=y | 1436 | CONFIG_EXT3_FS=y |
| 1437 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 1487 | CONFIG_EXT3_FS_XATTR=y | 1438 | CONFIG_EXT3_FS_XATTR=y |
| 1488 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1439 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 1489 | # CONFIG_EXT3_FS_SECURITY is not set | 1440 | # CONFIG_EXT3_FS_SECURITY is not set |
| @@ -1508,6 +1459,11 @@ CONFIG_INOTIFY_USER=y | |||
| 1508 | # CONFIG_FUSE_FS is not set | 1459 | # CONFIG_FUSE_FS is not set |
| 1509 | 1460 | ||
| 1510 | # | 1461 | # |
| 1462 | # Caches | ||
| 1463 | # | ||
| 1464 | # CONFIG_FSCACHE is not set | ||
| 1465 | |||
| 1466 | # | ||
| 1511 | # CD-ROM/DVD Filesystems | 1467 | # CD-ROM/DVD Filesystems |
| 1512 | # | 1468 | # |
| 1513 | CONFIG_ISO9660_FS=m | 1469 | CONFIG_ISO9660_FS=m |
| @@ -1562,6 +1518,7 @@ CONFIG_SYSV_FS=m | |||
| 1562 | CONFIG_UFS_FS=m | 1518 | CONFIG_UFS_FS=m |
| 1563 | # CONFIG_UFS_FS_WRITE is not set | 1519 | # CONFIG_UFS_FS_WRITE is not set |
| 1564 | # CONFIG_UFS_DEBUG is not set | 1520 | # CONFIG_UFS_DEBUG is not set |
| 1521 | # CONFIG_NILFS2_FS is not set | ||
| 1565 | CONFIG_NETWORK_FILESYSTEMS=y | 1522 | CONFIG_NETWORK_FILESYSTEMS=y |
| 1566 | CONFIG_NFS_FS=y | 1523 | CONFIG_NFS_FS=y |
| 1567 | CONFIG_NFS_V3=y | 1524 | CONFIG_NFS_V3=y |
| @@ -1577,7 +1534,6 @@ CONFIG_EXPORTFS=y | |||
| 1577 | CONFIG_NFS_COMMON=y | 1534 | CONFIG_NFS_COMMON=y |
| 1578 | CONFIG_SUNRPC=y | 1535 | CONFIG_SUNRPC=y |
| 1579 | CONFIG_SUNRPC_GSS=y | 1536 | CONFIG_SUNRPC_GSS=y |
| 1580 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1581 | CONFIG_RPCSEC_GSS_KRB5=y | 1537 | CONFIG_RPCSEC_GSS_KRB5=y |
| 1582 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1538 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1583 | # CONFIG_SMB_FS is not set | 1539 | # CONFIG_SMB_FS is not set |
| @@ -1648,6 +1604,10 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1648 | # CONFIG_NLS_KOI8_U is not set | 1604 | # CONFIG_NLS_KOI8_U is not set |
| 1649 | CONFIG_NLS_UTF8=m | 1605 | CONFIG_NLS_UTF8=m |
| 1650 | # CONFIG_DLM is not set | 1606 | # CONFIG_DLM is not set |
| 1607 | CONFIG_UCC_SLOW=y | ||
| 1608 | CONFIG_UCC_FAST=y | ||
| 1609 | CONFIG_UCC=y | ||
| 1610 | # CONFIG_BINARY_PRINTF is not set | ||
| 1651 | 1611 | ||
| 1652 | # | 1612 | # |
| 1653 | # Library routines | 1613 | # Library routines |
| @@ -1662,11 +1622,12 @@ CONFIG_CRC32=y | |||
| 1662 | # CONFIG_CRC7 is not set | 1622 | # CONFIG_CRC7 is not set |
| 1663 | CONFIG_LIBCRC32C=m | 1623 | CONFIG_LIBCRC32C=m |
| 1664 | CONFIG_ZLIB_INFLATE=y | 1624 | CONFIG_ZLIB_INFLATE=y |
| 1665 | CONFIG_PLIST=y | 1625 | CONFIG_DECOMPRESS_GZIP=y |
| 1666 | CONFIG_HAS_IOMEM=y | 1626 | CONFIG_HAS_IOMEM=y |
| 1667 | CONFIG_HAS_IOPORT=y | 1627 | CONFIG_HAS_IOPORT=y |
| 1668 | CONFIG_HAS_DMA=y | 1628 | CONFIG_HAS_DMA=y |
| 1669 | CONFIG_HAVE_LMB=y | 1629 | CONFIG_HAVE_LMB=y |
| 1630 | CONFIG_NLATTR=y | ||
| 1670 | 1631 | ||
| 1671 | # | 1632 | # |
| 1672 | # Kernel hacking | 1633 | # Kernel hacking |
| @@ -1684,6 +1645,9 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1684 | CONFIG_DETECT_SOFTLOCKUP=y | 1645 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1685 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1646 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1686 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1647 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1648 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1649 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1650 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1687 | CONFIG_SCHED_DEBUG=y | 1651 | CONFIG_SCHED_DEBUG=y |
| 1688 | # CONFIG_SCHEDSTATS is not set | 1652 | # CONFIG_SCHEDSTATS is not set |
| 1689 | # CONFIG_TIMER_STATS is not set | 1653 | # CONFIG_TIMER_STATS is not set |
| @@ -1714,9 +1678,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1714 | # CONFIG_FAULT_INJECTION is not set | 1678 | # CONFIG_FAULT_INJECTION is not set |
| 1715 | # CONFIG_LATENCYTOP is not set | 1679 | # CONFIG_LATENCYTOP is not set |
| 1716 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1680 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
| 1681 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1717 | CONFIG_HAVE_FUNCTION_TRACER=y | 1682 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1683 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1718 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1684 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1719 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1685 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1686 | CONFIG_TRACING_SUPPORT=y | ||
| 1720 | 1687 | ||
| 1721 | # | 1688 | # |
| 1722 | # Tracers | 1689 | # Tracers |
| @@ -1724,17 +1691,20 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1724 | # CONFIG_FUNCTION_TRACER is not set | 1691 | # CONFIG_FUNCTION_TRACER is not set |
| 1725 | # CONFIG_SCHED_TRACER is not set | 1692 | # CONFIG_SCHED_TRACER is not set |
| 1726 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1693 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1694 | # CONFIG_EVENT_TRACER is not set | ||
| 1727 | # CONFIG_BOOT_TRACER is not set | 1695 | # CONFIG_BOOT_TRACER is not set |
| 1728 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1696 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1729 | # CONFIG_STACK_TRACER is not set | 1697 | # CONFIG_STACK_TRACER is not set |
| 1730 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1698 | # CONFIG_KMEMTRACE is not set |
| 1699 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1700 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1701 | # CONFIG_DYNAMIC_DEBUG is not set | ||
| 1731 | # CONFIG_SAMPLES is not set | 1702 | # CONFIG_SAMPLES is not set |
| 1732 | CONFIG_HAVE_ARCH_KGDB=y | 1703 | CONFIG_HAVE_ARCH_KGDB=y |
| 1733 | # CONFIG_KGDB is not set | 1704 | # CONFIG_KGDB is not set |
| 1734 | CONFIG_PRINT_STACK_DEPTH=64 | 1705 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1735 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1706 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1736 | # CONFIG_DEBUG_STACK_USAGE is not set | 1707 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1737 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1738 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1708 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1739 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1709 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1740 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1710 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| @@ -1759,18 +1729,21 @@ CONFIG_CRYPTO=y | |||
| 1759 | # CONFIG_CRYPTO_FIPS is not set | 1729 | # CONFIG_CRYPTO_FIPS is not set |
| 1760 | CONFIG_CRYPTO_ALGAPI=y | 1730 | CONFIG_CRYPTO_ALGAPI=y |
| 1761 | CONFIG_CRYPTO_ALGAPI2=y | 1731 | CONFIG_CRYPTO_ALGAPI2=y |
| 1732 | CONFIG_CRYPTO_AEAD=y | ||
| 1762 | CONFIG_CRYPTO_AEAD2=y | 1733 | CONFIG_CRYPTO_AEAD2=y |
| 1763 | CONFIG_CRYPTO_BLKCIPHER=y | 1734 | CONFIG_CRYPTO_BLKCIPHER=y |
| 1764 | CONFIG_CRYPTO_BLKCIPHER2=y | 1735 | CONFIG_CRYPTO_BLKCIPHER2=y |
| 1765 | CONFIG_CRYPTO_HASH=y | 1736 | CONFIG_CRYPTO_HASH=y |
| 1766 | CONFIG_CRYPTO_HASH2=y | 1737 | CONFIG_CRYPTO_HASH2=y |
| 1767 | CONFIG_CRYPTO_RNG2=y | 1738 | CONFIG_CRYPTO_RNG2=y |
| 1739 | CONFIG_CRYPTO_PCOMP=y | ||
| 1768 | CONFIG_CRYPTO_MANAGER=y | 1740 | CONFIG_CRYPTO_MANAGER=y |
| 1769 | CONFIG_CRYPTO_MANAGER2=y | 1741 | CONFIG_CRYPTO_MANAGER2=y |
| 1770 | # CONFIG_CRYPTO_GF128MUL is not set | 1742 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1771 | # CONFIG_CRYPTO_NULL is not set | 1743 | # CONFIG_CRYPTO_NULL is not set |
| 1744 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1772 | # CONFIG_CRYPTO_CRYPTD is not set | 1745 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1773 | # CONFIG_CRYPTO_AUTHENC is not set | 1746 | CONFIG_CRYPTO_AUTHENC=y |
| 1774 | # CONFIG_CRYPTO_TEST is not set | 1747 | # CONFIG_CRYPTO_TEST is not set |
| 1775 | 1748 | ||
| 1776 | # | 1749 | # |
| @@ -1837,6 +1810,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1837 | # Compression | 1810 | # Compression |
| 1838 | # | 1811 | # |
| 1839 | # CONFIG_CRYPTO_DEFLATE is not set | 1812 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1813 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1840 | # CONFIG_CRYPTO_LZO is not set | 1814 | # CONFIG_CRYPTO_LZO is not set |
| 1841 | 1815 | ||
| 1842 | # | 1816 | # |
| @@ -1845,7 +1819,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1845 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1819 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
| 1846 | CONFIG_CRYPTO_HW=y | 1820 | CONFIG_CRYPTO_HW=y |
| 1847 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 1821 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
| 1848 | # CONFIG_CRYPTO_DEV_TALITOS is not set | 1822 | CONFIG_CRYPTO_DEV_TALITOS=y |
| 1849 | CONFIG_PPC_CLOCK=y | 1823 | CONFIG_PPC_CLOCK=y |
| 1850 | CONFIG_PPC_LIB_RHEAP=y | 1824 | CONFIG_PPC_LIB_RHEAP=y |
| 1851 | # CONFIG_VIRTUALIZATION is not set | 1825 | # CONFIG_VIRTUALIZATION is not set |
diff --git a/arch/powerpc/configs/85xx/mpc8572_ds_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig index 813223ae174d..1aa1c508d600 100644 --- a/arch/powerpc/configs/85xx/mpc8572_ds_defconfig +++ b/arch/powerpc/configs/mpc85xx_smp_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
| 4 | # Mon Jan 26 15:36:12 2009 | 4 | # Tue Apr 21 15:41:18 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -22,9 +22,10 @@ CONFIG_FSL_EMB_PERFMON=y | |||
| 22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
| 23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
| 24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
| 25 | CONFIG_PPC_BOOK3E_MMU=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | 26 | # CONFIG_PPC_MM_SLICES is not set |
| 26 | CONFIG_SMP=y | 27 | CONFIG_SMP=y |
| 27 | CONFIG_NR_CPUS=2 | 28 | CONFIG_NR_CPUS=8 |
| 28 | CONFIG_PPC32=y | 29 | CONFIG_PPC32=y |
| 29 | CONFIG_WORD_SIZE=32 | 30 | CONFIG_WORD_SIZE=32 |
| 30 | # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set | 31 | # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set |
| @@ -44,6 +45,7 @@ CONFIG_ARCH_HAS_ILOG2_U32=y | |||
| 44 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
| 45 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 46 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 47 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
| 48 | CONFIG_GENERIC_GPIO=y | ||
| 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 49 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
| 48 | CONFIG_PPC=y | 50 | CONFIG_PPC=y |
| 49 | CONFIG_EARLY_PRINTK=y | 51 | CONFIG_EARLY_PRINTK=y |
| @@ -59,6 +61,7 @@ CONFIG_GENERIC_BUG=y | |||
| 59 | CONFIG_DEFAULT_UIMAGE=y | 61 | CONFIG_DEFAULT_UIMAGE=y |
| 60 | # CONFIG_PPC_DCR_NATIVE is not set | 62 | # CONFIG_PPC_DCR_NATIVE is not set |
| 61 | # CONFIG_PPC_DCR_MMIO is not set | 63 | # CONFIG_PPC_DCR_MMIO is not set |
| 64 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
| 62 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 65 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 63 | 66 | ||
| 64 | # | 67 | # |
| @@ -73,11 +76,21 @@ CONFIG_SWAP=y | |||
| 73 | CONFIG_SYSVIPC=y | 76 | CONFIG_SYSVIPC=y |
| 74 | CONFIG_SYSVIPC_SYSCTL=y | 77 | CONFIG_SYSVIPC_SYSCTL=y |
| 75 | CONFIG_POSIX_MQUEUE=y | 78 | CONFIG_POSIX_MQUEUE=y |
| 79 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
| 76 | CONFIG_BSD_PROCESS_ACCT=y | 80 | CONFIG_BSD_PROCESS_ACCT=y |
| 77 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 81 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
| 78 | # CONFIG_TASKSTATS is not set | 82 | # CONFIG_TASKSTATS is not set |
| 79 | CONFIG_AUDIT=y | 83 | CONFIG_AUDIT=y |
| 80 | # CONFIG_AUDITSYSCALL is not set | 84 | # CONFIG_AUDITSYSCALL is not set |
| 85 | |||
| 86 | # | ||
| 87 | # RCU Subsystem | ||
| 88 | # | ||
| 89 | CONFIG_CLASSIC_RCU=y | ||
| 90 | # CONFIG_TREE_RCU is not set | ||
| 91 | # CONFIG_PREEMPT_RCU is not set | ||
| 92 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 93 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 81 | CONFIG_IKCONFIG=y | 94 | CONFIG_IKCONFIG=y |
| 82 | CONFIG_IKCONFIG_PROC=y | 95 | CONFIG_IKCONFIG_PROC=y |
| 83 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
| @@ -93,22 +106,24 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 93 | # CONFIG_NAMESPACES is not set | 106 | # CONFIG_NAMESPACES is not set |
| 94 | CONFIG_BLK_DEV_INITRD=y | 107 | CONFIG_BLK_DEV_INITRD=y |
| 95 | CONFIG_INITRAMFS_SOURCE="" | 108 | CONFIG_INITRAMFS_SOURCE="" |
| 109 | CONFIG_RD_GZIP=y | ||
| 110 | # CONFIG_RD_BZIP2 is not set | ||
| 111 | # CONFIG_RD_LZMA is not set | ||
| 96 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 112 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 97 | CONFIG_SYSCTL=y | 113 | CONFIG_SYSCTL=y |
| 114 | CONFIG_ANON_INODES=y | ||
| 98 | CONFIG_EMBEDDED=y | 115 | CONFIG_EMBEDDED=y |
| 99 | CONFIG_SYSCTL_SYSCALL=y | 116 | CONFIG_SYSCTL_SYSCALL=y |
| 100 | CONFIG_KALLSYMS=y | 117 | CONFIG_KALLSYMS=y |
| 101 | CONFIG_KALLSYMS_ALL=y | 118 | CONFIG_KALLSYMS_ALL=y |
| 102 | CONFIG_KALLSYMS_STRIP_GENERATED=y | ||
| 103 | CONFIG_KALLSYMS_EXTRA_PASS=y | 119 | CONFIG_KALLSYMS_EXTRA_PASS=y |
| 120 | # CONFIG_STRIP_ASM_SYMS is not set | ||
| 104 | CONFIG_HOTPLUG=y | 121 | CONFIG_HOTPLUG=y |
| 105 | CONFIG_PRINTK=y | 122 | CONFIG_PRINTK=y |
| 106 | CONFIG_BUG=y | 123 | CONFIG_BUG=y |
| 107 | CONFIG_ELF_CORE=y | 124 | CONFIG_ELF_CORE=y |
| 108 | CONFIG_COMPAT_BRK=y | ||
| 109 | CONFIG_BASE_FULL=y | 125 | CONFIG_BASE_FULL=y |
| 110 | CONFIG_FUTEX=y | 126 | CONFIG_FUTEX=y |
| 111 | CONFIG_ANON_INODES=y | ||
| 112 | CONFIG_EPOLL=y | 127 | CONFIG_EPOLL=y |
| 113 | CONFIG_SIGNALFD=y | 128 | CONFIG_SIGNALFD=y |
| 114 | CONFIG_TIMERFD=y | 129 | CONFIG_TIMERFD=y |
| @@ -118,10 +133,12 @@ CONFIG_AIO=y | |||
| 118 | CONFIG_VM_EVENT_COUNTERS=y | 133 | CONFIG_VM_EVENT_COUNTERS=y |
| 119 | CONFIG_PCI_QUIRKS=y | 134 | CONFIG_PCI_QUIRKS=y |
| 120 | CONFIG_SLUB_DEBUG=y | 135 | CONFIG_SLUB_DEBUG=y |
| 136 | CONFIG_COMPAT_BRK=y | ||
| 121 | # CONFIG_SLAB is not set | 137 | # CONFIG_SLAB is not set |
| 122 | CONFIG_SLUB=y | 138 | CONFIG_SLUB=y |
| 123 | # CONFIG_SLOB is not set | 139 | # CONFIG_SLOB is not set |
| 124 | # CONFIG_PROFILING is not set | 140 | # CONFIG_PROFILING is not set |
| 141 | # CONFIG_MARKERS is not set | ||
| 125 | CONFIG_HAVE_OPROFILE=y | 142 | CONFIG_HAVE_OPROFILE=y |
| 126 | # CONFIG_KPROBES is not set | 143 | # CONFIG_KPROBES is not set |
| 127 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
| @@ -130,6 +147,8 @@ CONFIG_HAVE_KPROBES=y | |||
| 130 | CONFIG_HAVE_KRETPROBES=y | 147 | CONFIG_HAVE_KRETPROBES=y |
| 131 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 148 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 132 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 149 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
| 150 | CONFIG_HAVE_CLK=y | ||
| 151 | # CONFIG_SLOW_WORK is not set | ||
| 133 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 152 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 134 | CONFIG_SLABINFO=y | 153 | CONFIG_SLABINFO=y |
| 135 | CONFIG_RT_MUTEXES=y | 154 | CONFIG_RT_MUTEXES=y |
| @@ -143,7 +162,6 @@ CONFIG_MODVERSIONS=y | |||
| 143 | CONFIG_STOP_MACHINE=y | 162 | CONFIG_STOP_MACHINE=y |
| 144 | CONFIG_BLOCK=y | 163 | CONFIG_BLOCK=y |
| 145 | CONFIG_LBD=y | 164 | CONFIG_LBD=y |
| 146 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 147 | # CONFIG_BLK_DEV_BSG is not set | 165 | # CONFIG_BLK_DEV_BSG is not set |
| 148 | # CONFIG_BLK_DEV_INTEGRITY is not set | 166 | # CONFIG_BLK_DEV_INTEGRITY is not set |
| 149 | 167 | ||
| @@ -159,11 +177,6 @@ CONFIG_IOSCHED_CFQ=y | |||
| 159 | CONFIG_DEFAULT_CFQ=y | 177 | CONFIG_DEFAULT_CFQ=y |
| 160 | # CONFIG_DEFAULT_NOOP is not set | 178 | # CONFIG_DEFAULT_NOOP is not set |
| 161 | CONFIG_DEFAULT_IOSCHED="cfq" | 179 | CONFIG_DEFAULT_IOSCHED="cfq" |
| 162 | CONFIG_CLASSIC_RCU=y | ||
| 163 | # CONFIG_TREE_RCU is not set | ||
| 164 | # CONFIG_PREEMPT_RCU is not set | ||
| 165 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 166 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 167 | # CONFIG_FREEZER is not set | 180 | # CONFIG_FREEZER is not set |
| 168 | 181 | ||
| 169 | # | 182 | # |
| @@ -173,21 +186,23 @@ CONFIG_CLASSIC_RCU=y | |||
| 173 | # CONFIG_PPC_CELL_NATIVE is not set | 186 | # CONFIG_PPC_CELL_NATIVE is not set |
| 174 | # CONFIG_PQ2ADS is not set | 187 | # CONFIG_PQ2ADS is not set |
| 175 | CONFIG_MPC85xx=y | 188 | CONFIG_MPC85xx=y |
| 176 | # CONFIG_MPC8540_ADS is not set | 189 | CONFIG_MPC8540_ADS=y |
| 177 | # CONFIG_MPC8560_ADS is not set | 190 | CONFIG_MPC8560_ADS=y |
| 178 | # CONFIG_MPC85xx_CDS is not set | 191 | CONFIG_MPC85xx_CDS=y |
| 179 | # CONFIG_MPC85xx_MDS is not set | 192 | CONFIG_MPC85xx_MDS=y |
| 180 | # CONFIG_MPC8536_DS is not set | 193 | CONFIG_MPC8536_DS=y |
| 181 | CONFIG_MPC85xx_DS=y | 194 | CONFIG_MPC85xx_DS=y |
| 182 | # CONFIG_KSI8560 is not set | 195 | CONFIG_SOCRATES=y |
| 183 | # CONFIG_STX_GP3 is not set | 196 | CONFIG_KSI8560=y |
| 184 | # CONFIG_TQM8540 is not set | 197 | CONFIG_STX_GP3=y |
| 185 | # CONFIG_TQM8541 is not set | 198 | CONFIG_TQM8540=y |
| 186 | # CONFIG_TQM8548 is not set | 199 | CONFIG_TQM8541=y |
| 187 | # CONFIG_TQM8555 is not set | 200 | CONFIG_TQM8548=y |
| 188 | # CONFIG_TQM8560 is not set | 201 | CONFIG_TQM8555=y |
| 189 | # CONFIG_SBC8548 is not set | 202 | CONFIG_TQM8560=y |
| 203 | CONFIG_SBC8548=y | ||
| 190 | # CONFIG_SBC8560 is not set | 204 | # CONFIG_SBC8560 is not set |
| 205 | CONFIG_TQM85xx=y | ||
| 191 | # CONFIG_IPIC is not set | 206 | # CONFIG_IPIC is not set |
| 192 | CONFIG_MPIC=y | 207 | CONFIG_MPIC=y |
| 193 | # CONFIG_MPIC_WEIRD is not set | 208 | # CONFIG_MPIC_WEIRD is not set |
| @@ -199,10 +214,12 @@ CONFIG_PPC_I8259=y | |||
| 199 | # CONFIG_PPC_INDIRECT_IO is not set | 214 | # CONFIG_PPC_INDIRECT_IO is not set |
| 200 | # CONFIG_GENERIC_IOMAP is not set | 215 | # CONFIG_GENERIC_IOMAP is not set |
| 201 | # CONFIG_CPU_FREQ is not set | 216 | # CONFIG_CPU_FREQ is not set |
| 202 | # CONFIG_QUICC_ENGINE is not set | 217 | CONFIG_QUICC_ENGINE=y |
| 203 | # CONFIG_CPM2 is not set | 218 | CONFIG_QE_GPIO=y |
| 219 | CONFIG_CPM2=y | ||
| 204 | CONFIG_FSL_ULI1575=y | 220 | CONFIG_FSL_ULI1575=y |
| 205 | # CONFIG_MPC8xxx_GPIO is not set | 221 | CONFIG_CPM=y |
| 222 | CONFIG_MPC8xxx_GPIO=y | ||
| 206 | # CONFIG_SIMPLE_GPIO is not set | 223 | # CONFIG_SIMPLE_GPIO is not set |
| 207 | 224 | ||
| 208 | # | 225 | # |
| @@ -248,9 +265,12 @@ CONFIG_ZONE_DMA_FLAG=1 | |||
| 248 | CONFIG_BOUNCE=y | 265 | CONFIG_BOUNCE=y |
| 249 | CONFIG_VIRT_TO_BUS=y | 266 | CONFIG_VIRT_TO_BUS=y |
| 250 | CONFIG_UNEVICTABLE_LRU=y | 267 | CONFIG_UNEVICTABLE_LRU=y |
| 268 | CONFIG_HAVE_MLOCK=y | ||
| 269 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 251 | CONFIG_PPC_4K_PAGES=y | 270 | CONFIG_PPC_4K_PAGES=y |
| 252 | # CONFIG_PPC_16K_PAGES is not set | 271 | # CONFIG_PPC_16K_PAGES is not set |
| 253 | # CONFIG_PPC_64K_PAGES is not set | 272 | # CONFIG_PPC_64K_PAGES is not set |
| 273 | # CONFIG_PPC_256K_PAGES is not set | ||
| 254 | CONFIG_FORCE_MAX_ZONEORDER=11 | 274 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 255 | CONFIG_PROC_DEVICETREE=y | 275 | CONFIG_PROC_DEVICETREE=y |
| 256 | # CONFIG_CMDLINE_BOOL is not set | 276 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -277,6 +297,7 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 277 | # CONFIG_PCI_LEGACY is not set | 297 | # CONFIG_PCI_LEGACY is not set |
| 278 | # CONFIG_PCI_DEBUG is not set | 298 | # CONFIG_PCI_DEBUG is not set |
| 279 | # CONFIG_PCI_STUB is not set | 299 | # CONFIG_PCI_STUB is not set |
| 300 | # CONFIG_PCI_IOV is not set | ||
| 280 | # CONFIG_PCCARD is not set | 301 | # CONFIG_PCCARD is not set |
| 281 | # CONFIG_HOTPLUG_PCI is not set | 302 | # CONFIG_HOTPLUG_PCI is not set |
| 282 | # CONFIG_HAS_RAPIDIO is not set | 303 | # CONFIG_HAS_RAPIDIO is not set |
| @@ -290,17 +311,17 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 290 | # Default settings for advanced configuration options are used | 311 | # Default settings for advanced configuration options are used |
| 291 | # | 312 | # |
| 292 | CONFIG_LOWMEM_SIZE=0x30000000 | 313 | CONFIG_LOWMEM_SIZE=0x30000000 |
| 314 | CONFIG_LOWMEM_CAM_NUM=3 | ||
| 293 | CONFIG_PAGE_OFFSET=0xc0000000 | 315 | CONFIG_PAGE_OFFSET=0xc0000000 |
| 294 | CONFIG_KERNEL_START=0xc0000000 | 316 | CONFIG_KERNEL_START=0xc0000000 |
| 295 | CONFIG_PHYSICAL_START=0x00000000 | 317 | CONFIG_PHYSICAL_START=0x00000000 |
| 296 | CONFIG_PHYSICAL_ALIGN=0x10000000 | 318 | CONFIG_PHYSICAL_ALIGN=0x04000000 |
| 297 | CONFIG_TASK_SIZE=0xc0000000 | 319 | CONFIG_TASK_SIZE=0xc0000000 |
| 298 | CONFIG_NET=y | 320 | CONFIG_NET=y |
| 299 | 321 | ||
| 300 | # | 322 | # |
| 301 | # Networking options | 323 | # Networking options |
| 302 | # | 324 | # |
| 303 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 304 | CONFIG_PACKET=y | 325 | CONFIG_PACKET=y |
| 305 | # CONFIG_PACKET_MMAP is not set | 326 | # CONFIG_PACKET_MMAP is not set |
| 306 | CONFIG_UNIX=y | 327 | CONFIG_UNIX=y |
| @@ -388,6 +409,7 @@ CONFIG_SCTP_HMAC_MD5=y | |||
| 388 | # CONFIG_LAPB is not set | 409 | # CONFIG_LAPB is not set |
| 389 | # CONFIG_ECONET is not set | 410 | # CONFIG_ECONET is not set |
| 390 | # CONFIG_WAN_ROUTER is not set | 411 | # CONFIG_WAN_ROUTER is not set |
| 412 | # CONFIG_PHONET is not set | ||
| 391 | # CONFIG_NET_SCHED is not set | 413 | # CONFIG_NET_SCHED is not set |
| 392 | # CONFIG_DCB is not set | 414 | # CONFIG_DCB is not set |
| 393 | 415 | ||
| @@ -400,7 +422,6 @@ CONFIG_SCTP_HMAC_MD5=y | |||
| 400 | # CONFIG_IRDA is not set | 422 | # CONFIG_IRDA is not set |
| 401 | # CONFIG_BT is not set | 423 | # CONFIG_BT is not set |
| 402 | # CONFIG_AF_RXRPC is not set | 424 | # CONFIG_AF_RXRPC is not set |
| 403 | # CONFIG_PHONET is not set | ||
| 404 | CONFIG_FIB_RULES=y | 425 | CONFIG_FIB_RULES=y |
| 405 | CONFIG_WIRELESS=y | 426 | CONFIG_WIRELESS=y |
| 406 | # CONFIG_CFG80211 is not set | 427 | # CONFIG_CFG80211 is not set |
| @@ -431,6 +452,7 @@ CONFIG_EXTRA_FIRMWARE="" | |||
| 431 | # CONFIG_CONNECTOR is not set | 452 | # CONFIG_CONNECTOR is not set |
| 432 | # CONFIG_MTD is not set | 453 | # CONFIG_MTD is not set |
| 433 | CONFIG_OF_DEVICE=y | 454 | CONFIG_OF_DEVICE=y |
| 455 | CONFIG_OF_GPIO=y | ||
| 434 | CONFIG_OF_I2C=y | 456 | CONFIG_OF_I2C=y |
| 435 | # CONFIG_PARPORT is not set | 457 | # CONFIG_PARPORT is not set |
| 436 | CONFIG_BLK_DEV=y | 458 | CONFIG_BLK_DEV=y |
| @@ -454,13 +476,20 @@ CONFIG_BLK_DEV_RAM_SIZE=131072 | |||
| 454 | # CONFIG_BLK_DEV_HD is not set | 476 | # CONFIG_BLK_DEV_HD is not set |
| 455 | CONFIG_MISC_DEVICES=y | 477 | CONFIG_MISC_DEVICES=y |
| 456 | # CONFIG_PHANTOM is not set | 478 | # CONFIG_PHANTOM is not set |
| 457 | # CONFIG_EEPROM_93CX6 is not set | ||
| 458 | # CONFIG_SGI_IOC4 is not set | 479 | # CONFIG_SGI_IOC4 is not set |
| 459 | # CONFIG_TIFM_CORE is not set | 480 | # CONFIG_TIFM_CORE is not set |
| 460 | # CONFIG_ICS932S401 is not set | 481 | # CONFIG_ICS932S401 is not set |
| 461 | # CONFIG_ENCLOSURE_SERVICES is not set | 482 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 462 | # CONFIG_HP_ILO is not set | 483 | # CONFIG_HP_ILO is not set |
| 484 | # CONFIG_ISL29003 is not set | ||
| 463 | # CONFIG_C2PORT is not set | 485 | # CONFIG_C2PORT is not set |
| 486 | |||
| 487 | # | ||
| 488 | # EEPROM support | ||
| 489 | # | ||
| 490 | # CONFIG_EEPROM_AT24 is not set | ||
| 491 | CONFIG_EEPROM_LEGACY=y | ||
| 492 | # CONFIG_EEPROM_93CX6 is not set | ||
| 464 | CONFIG_HAVE_IDE=y | 493 | CONFIG_HAVE_IDE=y |
| 465 | # CONFIG_IDE is not set | 494 | # CONFIG_IDE is not set |
| 466 | 495 | ||
| @@ -519,9 +548,11 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 519 | # CONFIG_MEGARAID_NEWGEN is not set | 548 | # CONFIG_MEGARAID_NEWGEN is not set |
| 520 | # CONFIG_MEGARAID_LEGACY is not set | 549 | # CONFIG_MEGARAID_LEGACY is not set |
| 521 | # CONFIG_MEGARAID_SAS is not set | 550 | # CONFIG_MEGARAID_SAS is not set |
| 551 | # CONFIG_SCSI_MPT2SAS is not set | ||
| 522 | # CONFIG_SCSI_HPTIOP is not set | 552 | # CONFIG_SCSI_HPTIOP is not set |
| 523 | # CONFIG_SCSI_BUSLOGIC is not set | 553 | # CONFIG_SCSI_BUSLOGIC is not set |
| 524 | # CONFIG_LIBFC is not set | 554 | # CONFIG_LIBFC is not set |
| 555 | # CONFIG_LIBFCOE is not set | ||
| 525 | # CONFIG_FCOE is not set | 556 | # CONFIG_FCOE is not set |
| 526 | # CONFIG_SCSI_DMX3191D is not set | 557 | # CONFIG_SCSI_DMX3191D is not set |
| 527 | # CONFIG_SCSI_EATA is not set | 558 | # CONFIG_SCSI_EATA is not set |
| @@ -544,12 +575,13 @@ CONFIG_SCSI_LOWLEVEL=y | |||
| 544 | # CONFIG_SCSI_DEBUG is not set | 575 | # CONFIG_SCSI_DEBUG is not set |
| 545 | # CONFIG_SCSI_SRP is not set | 576 | # CONFIG_SCSI_SRP is not set |
| 546 | # CONFIG_SCSI_DH is not set | 577 | # CONFIG_SCSI_DH is not set |
| 578 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
| 547 | CONFIG_ATA=y | 579 | CONFIG_ATA=y |
| 548 | # CONFIG_ATA_NONSTANDARD is not set | 580 | # CONFIG_ATA_NONSTANDARD is not set |
| 549 | CONFIG_SATA_PMP=y | 581 | CONFIG_SATA_PMP=y |
| 550 | CONFIG_SATA_AHCI=y | 582 | CONFIG_SATA_AHCI=y |
| 551 | # CONFIG_SATA_SIL24 is not set | 583 | # CONFIG_SATA_SIL24 is not set |
| 552 | # CONFIG_SATA_FSL is not set | 584 | CONFIG_SATA_FSL=y |
| 553 | CONFIG_ATA_SFF=y | 585 | CONFIG_ATA_SFF=y |
| 554 | # CONFIG_SATA_SVW is not set | 586 | # CONFIG_SATA_SVW is not set |
| 555 | # CONFIG_ATA_PIIX is not set | 587 | # CONFIG_ATA_PIIX is not set |
| @@ -620,6 +652,7 @@ CONFIG_PATA_ALI=y | |||
| 620 | # CONFIG_I2O is not set | 652 | # CONFIG_I2O is not set |
| 621 | # CONFIG_MACINTOSH_DRIVERS is not set | 653 | # CONFIG_MACINTOSH_DRIVERS is not set |
| 622 | CONFIG_NETDEVICES=y | 654 | CONFIG_NETDEVICES=y |
| 655 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 623 | CONFIG_DUMMY=y | 656 | CONFIG_DUMMY=y |
| 624 | # CONFIG_BONDING is not set | 657 | # CONFIG_BONDING is not set |
| 625 | # CONFIG_MACVLAN is not set | 658 | # CONFIG_MACVLAN is not set |
| @@ -632,11 +665,11 @@ CONFIG_PHYLIB=y | |||
| 632 | # | 665 | # |
| 633 | # MII PHY device drivers | 666 | # MII PHY device drivers |
| 634 | # | 667 | # |
| 635 | # CONFIG_MARVELL_PHY is not set | 668 | CONFIG_MARVELL_PHY=y |
| 636 | # CONFIG_DAVICOM_PHY is not set | 669 | CONFIG_DAVICOM_PHY=y |
| 637 | # CONFIG_QSEMI_PHY is not set | 670 | # CONFIG_QSEMI_PHY is not set |
| 638 | # CONFIG_LXT_PHY is not set | 671 | # CONFIG_LXT_PHY is not set |
| 639 | # CONFIG_CICADA_PHY is not set | 672 | CONFIG_CICADA_PHY=y |
| 640 | CONFIG_VITESSE_PHY=y | 673 | CONFIG_VITESSE_PHY=y |
| 641 | # CONFIG_SMSC_PHY is not set | 674 | # CONFIG_SMSC_PHY is not set |
| 642 | # CONFIG_BROADCOM_PHY is not set | 675 | # CONFIG_BROADCOM_PHY is not set |
| @@ -645,7 +678,7 @@ CONFIG_VITESSE_PHY=y | |||
| 645 | # CONFIG_NATIONAL_PHY is not set | 678 | # CONFIG_NATIONAL_PHY is not set |
| 646 | # CONFIG_STE10XP is not set | 679 | # CONFIG_STE10XP is not set |
| 647 | # CONFIG_LSI_ET1011C_PHY is not set | 680 | # CONFIG_LSI_ET1011C_PHY is not set |
| 648 | # CONFIG_FIXED_PHY is not set | 681 | CONFIG_FIXED_PHY=y |
| 649 | # CONFIG_MDIO_BITBANG is not set | 682 | # CONFIG_MDIO_BITBANG is not set |
| 650 | CONFIG_NET_ETHERNET=y | 683 | CONFIG_NET_ETHERNET=y |
| 651 | CONFIG_MII=y | 684 | CONFIG_MII=y |
| @@ -653,6 +686,8 @@ CONFIG_MII=y | |||
| 653 | # CONFIG_SUNGEM is not set | 686 | # CONFIG_SUNGEM is not set |
| 654 | # CONFIG_CASSINI is not set | 687 | # CONFIG_CASSINI is not set |
| 655 | # CONFIG_NET_VENDOR_3COM is not set | 688 | # CONFIG_NET_VENDOR_3COM is not set |
| 689 | # CONFIG_ETHOC is not set | ||
| 690 | # CONFIG_DNET is not set | ||
| 656 | # CONFIG_NET_TULIP is not set | 691 | # CONFIG_NET_TULIP is not set |
| 657 | # CONFIG_HP100 is not set | 692 | # CONFIG_HP100 is not set |
| 658 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 693 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
| @@ -665,6 +700,10 @@ CONFIG_MII=y | |||
| 665 | # CONFIG_NET_PCI is not set | 700 | # CONFIG_NET_PCI is not set |
| 666 | # CONFIG_B44 is not set | 701 | # CONFIG_B44 is not set |
| 667 | # CONFIG_ATL2 is not set | 702 | # CONFIG_ATL2 is not set |
| 703 | CONFIG_FS_ENET=y | ||
| 704 | CONFIG_FS_ENET_HAS_SCC=y | ||
| 705 | CONFIG_FS_ENET_HAS_FCC=y | ||
| 706 | # CONFIG_FS_ENET_MDIO_FCC is not set | ||
| 668 | CONFIG_NETDEV_1000=y | 707 | CONFIG_NETDEV_1000=y |
| 669 | # CONFIG_ACENIC is not set | 708 | # CONFIG_ACENIC is not set |
| 670 | # CONFIG_DL2K is not set | 709 | # CONFIG_DL2K is not set |
| @@ -672,6 +711,7 @@ CONFIG_NETDEV_1000=y | |||
| 672 | # CONFIG_E1000E is not set | 711 | # CONFIG_E1000E is not set |
| 673 | # CONFIG_IP1000 is not set | 712 | # CONFIG_IP1000 is not set |
| 674 | # CONFIG_IGB is not set | 713 | # CONFIG_IGB is not set |
| 714 | # CONFIG_IGBVF is not set | ||
| 675 | # CONFIG_NS83820 is not set | 715 | # CONFIG_NS83820 is not set |
| 676 | # CONFIG_HAMACHI is not set | 716 | # CONFIG_HAMACHI is not set |
| 677 | # CONFIG_YELLOWFIN is not set | 717 | # CONFIG_YELLOWFIN is not set |
| @@ -682,10 +722,15 @@ CONFIG_NETDEV_1000=y | |||
| 682 | # CONFIG_VIA_VELOCITY is not set | 722 | # CONFIG_VIA_VELOCITY is not set |
| 683 | # CONFIG_TIGON3 is not set | 723 | # CONFIG_TIGON3 is not set |
| 684 | # CONFIG_BNX2 is not set | 724 | # CONFIG_BNX2 is not set |
| 725 | CONFIG_FSL_PQ_MDIO=y | ||
| 685 | CONFIG_GIANFAR=y | 726 | CONFIG_GIANFAR=y |
| 727 | CONFIG_UCC_GETH=y | ||
| 728 | # CONFIG_UGETH_MAGIC_PACKET is not set | ||
| 729 | # CONFIG_UGETH_TX_ON_DEMAND is not set | ||
| 686 | # CONFIG_QLA3XXX is not set | 730 | # CONFIG_QLA3XXX is not set |
| 687 | # CONFIG_ATL1 is not set | 731 | # CONFIG_ATL1 is not set |
| 688 | # CONFIG_ATL1E is not set | 732 | # CONFIG_ATL1E is not set |
| 733 | # CONFIG_ATL1C is not set | ||
| 689 | # CONFIG_JME is not set | 734 | # CONFIG_JME is not set |
| 690 | CONFIG_NETDEV_10000=y | 735 | CONFIG_NETDEV_10000=y |
| 691 | # CONFIG_CHELSIO_T1 is not set | 736 | # CONFIG_CHELSIO_T1 is not set |
| @@ -695,6 +740,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 695 | # CONFIG_IXGBE is not set | 740 | # CONFIG_IXGBE is not set |
| 696 | # CONFIG_IXGB is not set | 741 | # CONFIG_IXGB is not set |
| 697 | # CONFIG_S2IO is not set | 742 | # CONFIG_S2IO is not set |
| 743 | # CONFIG_VXGE is not set | ||
| 698 | # CONFIG_MYRI10GE is not set | 744 | # CONFIG_MYRI10GE is not set |
| 699 | # CONFIG_NETXEN_NIC is not set | 745 | # CONFIG_NETXEN_NIC is not set |
| 700 | # CONFIG_NIU is not set | 746 | # CONFIG_NIU is not set |
| @@ -704,6 +750,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 704 | # CONFIG_BNX2X is not set | 750 | # CONFIG_BNX2X is not set |
| 705 | # CONFIG_QLGE is not set | 751 | # CONFIG_QLGE is not set |
| 706 | # CONFIG_SFC is not set | 752 | # CONFIG_SFC is not set |
| 753 | # CONFIG_BE2NET is not set | ||
| 707 | # CONFIG_TR is not set | 754 | # CONFIG_TR is not set |
| 708 | 755 | ||
| 709 | # | 756 | # |
| @@ -711,7 +758,6 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
| 711 | # | 758 | # |
| 712 | # CONFIG_WLAN_PRE80211 is not set | 759 | # CONFIG_WLAN_PRE80211 is not set |
| 713 | # CONFIG_WLAN_80211 is not set | 760 | # CONFIG_WLAN_80211 is not set |
| 714 | # CONFIG_IWLWIFI_LEDS is not set | ||
| 715 | 761 | ||
| 716 | # | 762 | # |
| 717 | # Enable WiMAX (Networking options) to see the WiMAX drivers | 763 | # Enable WiMAX (Networking options) to see the WiMAX drivers |
| @@ -806,8 +852,10 @@ CONFIG_SERIAL_8250_RSA=y | |||
| 806 | # CONFIG_SERIAL_UARTLITE is not set | 852 | # CONFIG_SERIAL_UARTLITE is not set |
| 807 | CONFIG_SERIAL_CORE=y | 853 | CONFIG_SERIAL_CORE=y |
| 808 | CONFIG_SERIAL_CORE_CONSOLE=y | 854 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 855 | # CONFIG_SERIAL_CPM is not set | ||
| 809 | # CONFIG_SERIAL_JSM is not set | 856 | # CONFIG_SERIAL_JSM is not set |
| 810 | # CONFIG_SERIAL_OF_PLATFORM is not set | 857 | # CONFIG_SERIAL_OF_PLATFORM is not set |
| 858 | CONFIG_SERIAL_QE=m | ||
| 811 | CONFIG_UNIX98_PTYS=y | 859 | CONFIG_UNIX98_PTYS=y |
| 812 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | 860 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set |
| 813 | CONFIG_LEGACY_PTYS=y | 861 | CONFIG_LEGACY_PTYS=y |
| @@ -815,6 +863,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
| 815 | # CONFIG_HVC_UDBG is not set | 863 | # CONFIG_HVC_UDBG is not set |
| 816 | # CONFIG_IPMI_HANDLER is not set | 864 | # CONFIG_IPMI_HANDLER is not set |
| 817 | CONFIG_HW_RANDOM=y | 865 | CONFIG_HW_RANDOM=y |
| 866 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
| 818 | CONFIG_NVRAM=y | 867 | CONFIG_NVRAM=y |
| 819 | # CONFIG_R3964 is not set | 868 | # CONFIG_R3964 is not set |
| 820 | # CONFIG_APPLICOM is not set | 869 | # CONFIG_APPLICOM is not set |
| @@ -851,6 +900,8 @@ CONFIG_I2C_HELPER_AUTO=y | |||
| 851 | # | 900 | # |
| 852 | # I2C system bus drivers (mostly embedded / system-on-chip) | 901 | # I2C system bus drivers (mostly embedded / system-on-chip) |
| 853 | # | 902 | # |
| 903 | CONFIG_I2C_CPM=m | ||
| 904 | # CONFIG_I2C_GPIO is not set | ||
| 854 | CONFIG_I2C_MPC=y | 905 | CONFIG_I2C_MPC=y |
| 855 | # CONFIG_I2C_OCORES is not set | 906 | # CONFIG_I2C_OCORES is not set |
| 856 | # CONFIG_I2C_SIMTEC is not set | 907 | # CONFIG_I2C_SIMTEC is not set |
| @@ -877,12 +928,9 @@ CONFIG_I2C_MPC=y | |||
| 877 | # Miscellaneous I2C Chip support | 928 | # Miscellaneous I2C Chip support |
| 878 | # | 929 | # |
| 879 | # CONFIG_DS1682 is not set | 930 | # CONFIG_DS1682 is not set |
| 880 | # CONFIG_EEPROM_AT24 is not set | ||
| 881 | CONFIG_EEPROM_LEGACY=y | ||
| 882 | # CONFIG_SENSORS_PCF8574 is not set | 931 | # CONFIG_SENSORS_PCF8574 is not set |
| 883 | # CONFIG_PCF8575 is not set | 932 | # CONFIG_PCF8575 is not set |
| 884 | # CONFIG_SENSORS_PCA9539 is not set | 933 | # CONFIG_SENSORS_PCA9539 is not set |
| 885 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 886 | # CONFIG_SENSORS_MAX6875 is not set | 934 | # CONFIG_SENSORS_MAX6875 is not set |
| 887 | # CONFIG_SENSORS_TSL2550 is not set | 935 | # CONFIG_SENSORS_TSL2550 is not set |
| 888 | # CONFIG_I2C_DEBUG_CORE is not set | 936 | # CONFIG_I2C_DEBUG_CORE is not set |
| @@ -891,7 +939,31 @@ CONFIG_EEPROM_LEGACY=y | |||
| 891 | # CONFIG_I2C_DEBUG_CHIP is not set | 939 | # CONFIG_I2C_DEBUG_CHIP is not set |
| 892 | # CONFIG_SPI is not set | 940 | # CONFIG_SPI is not set |
| 893 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 941 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
| 894 | # CONFIG_GPIOLIB is not set | 942 | CONFIG_ARCH_REQUIRE_GPIOLIB=y |
| 943 | CONFIG_GPIOLIB=y | ||
| 944 | # CONFIG_DEBUG_GPIO is not set | ||
| 945 | # CONFIG_GPIO_SYSFS is not set | ||
| 946 | |||
| 947 | # | ||
| 948 | # Memory mapped GPIO expanders: | ||
| 949 | # | ||
| 950 | # CONFIG_GPIO_XILINX is not set | ||
| 951 | |||
| 952 | # | ||
| 953 | # I2C GPIO expanders: | ||
| 954 | # | ||
| 955 | # CONFIG_GPIO_MAX732X is not set | ||
| 956 | # CONFIG_GPIO_PCA953X is not set | ||
| 957 | # CONFIG_GPIO_PCF857X is not set | ||
| 958 | |||
| 959 | # | ||
| 960 | # PCI GPIO expanders: | ||
| 961 | # | ||
| 962 | # CONFIG_GPIO_BT8XX is not set | ||
| 963 | |||
| 964 | # | ||
| 965 | # SPI GPIO expanders: | ||
| 966 | # | ||
| 895 | # CONFIG_W1 is not set | 967 | # CONFIG_W1 is not set |
| 896 | # CONFIG_POWER_SUPPLY is not set | 968 | # CONFIG_POWER_SUPPLY is not set |
| 897 | # CONFIG_HWMON is not set | 969 | # CONFIG_HWMON is not set |
| @@ -911,6 +983,8 @@ CONFIG_SSB_POSSIBLE=y | |||
| 911 | # CONFIG_MFD_CORE is not set | 983 | # CONFIG_MFD_CORE is not set |
| 912 | # CONFIG_MFD_SM501 is not set | 984 | # CONFIG_MFD_SM501 is not set |
| 913 | # CONFIG_HTC_PASIC3 is not set | 985 | # CONFIG_HTC_PASIC3 is not set |
| 986 | # CONFIG_UCB1400_CORE is not set | ||
| 987 | # CONFIG_TPS65010 is not set | ||
| 914 | # CONFIG_TWL4030_CORE is not set | 988 | # CONFIG_TWL4030_CORE is not set |
| 915 | # CONFIG_MFD_TMIO is not set | 989 | # CONFIG_MFD_TMIO is not set |
| 916 | # CONFIG_PMIC_DA903X is not set | 990 | # CONFIG_PMIC_DA903X is not set |
| @@ -935,7 +1009,7 @@ CONFIG_VIDEO_MEDIA=m | |||
| 935 | # | 1009 | # |
| 936 | # CONFIG_MEDIA_ATTACH is not set | 1010 | # CONFIG_MEDIA_ATTACH is not set |
| 937 | CONFIG_MEDIA_TUNER=m | 1011 | CONFIG_MEDIA_TUNER=m |
| 938 | # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set | 1012 | # CONFIG_MEDIA_TUNER_CUSTOMISE is not set |
| 939 | CONFIG_MEDIA_TUNER_SIMPLE=m | 1013 | CONFIG_MEDIA_TUNER_SIMPLE=m |
| 940 | CONFIG_MEDIA_TUNER_TDA8290=m | 1014 | CONFIG_MEDIA_TUNER_TDA8290=m |
| 941 | CONFIG_MEDIA_TUNER_TDA9887=m | 1015 | CONFIG_MEDIA_TUNER_TDA9887=m |
| @@ -944,6 +1018,7 @@ CONFIG_MEDIA_TUNER_TEA5767=m | |||
| 944 | CONFIG_MEDIA_TUNER_MT20XX=m | 1018 | CONFIG_MEDIA_TUNER_MT20XX=m |
| 945 | CONFIG_MEDIA_TUNER_XC2028=m | 1019 | CONFIG_MEDIA_TUNER_XC2028=m |
| 946 | CONFIG_MEDIA_TUNER_XC5000=m | 1020 | CONFIG_MEDIA_TUNER_XC5000=m |
| 1021 | CONFIG_MEDIA_TUNER_MC44S803=m | ||
| 947 | # CONFIG_DVB_DYNAMIC_MINORS is not set | 1022 | # CONFIG_DVB_DYNAMIC_MINORS is not set |
| 948 | CONFIG_DVB_CAPTURE_DRIVERS=y | 1023 | CONFIG_DVB_CAPTURE_DRIVERS=y |
| 949 | 1024 | ||
| @@ -983,103 +1058,7 @@ CONFIG_DVB_CAPTURE_DRIVERS=y | |||
| 983 | # | 1058 | # |
| 984 | # Supported DVB Frontends | 1059 | # Supported DVB Frontends |
| 985 | # | 1060 | # |
| 986 | |||
| 987 | # | ||
| 988 | # Customise DVB Frontends | ||
| 989 | # | ||
| 990 | # CONFIG_DVB_FE_CUSTOMISE is not set | 1061 | # CONFIG_DVB_FE_CUSTOMISE is not set |
| 991 | |||
| 992 | # | ||
| 993 | # Multistandard (satellite) frontends | ||
| 994 | # | ||
| 995 | # CONFIG_DVB_STB0899 is not set | ||
| 996 | # CONFIG_DVB_STB6100 is not set | ||
| 997 | |||
| 998 | # | ||
| 999 | # DVB-S (satellite) frontends | ||
| 1000 | # | ||
| 1001 | # CONFIG_DVB_CX24110 is not set | ||
| 1002 | # CONFIG_DVB_CX24123 is not set | ||
| 1003 | # CONFIG_DVB_MT312 is not set | ||
| 1004 | # CONFIG_DVB_S5H1420 is not set | ||
| 1005 | # CONFIG_DVB_STV0288 is not set | ||
| 1006 | # CONFIG_DVB_STB6000 is not set | ||
| 1007 | # CONFIG_DVB_STV0299 is not set | ||
| 1008 | # CONFIG_DVB_TDA8083 is not set | ||
| 1009 | # CONFIG_DVB_TDA10086 is not set | ||
| 1010 | # CONFIG_DVB_TDA8261 is not set | ||
| 1011 | # CONFIG_DVB_VES1X93 is not set | ||
| 1012 | # CONFIG_DVB_TUNER_ITD1000 is not set | ||
| 1013 | # CONFIG_DVB_TUNER_CX24113 is not set | ||
| 1014 | # CONFIG_DVB_TDA826X is not set | ||
| 1015 | # CONFIG_DVB_TUA6100 is not set | ||
| 1016 | # CONFIG_DVB_CX24116 is not set | ||
| 1017 | # CONFIG_DVB_SI21XX is not set | ||
| 1018 | |||
| 1019 | # | ||
| 1020 | # DVB-T (terrestrial) frontends | ||
| 1021 | # | ||
| 1022 | # CONFIG_DVB_SP8870 is not set | ||
| 1023 | # CONFIG_DVB_SP887X is not set | ||
| 1024 | # CONFIG_DVB_CX22700 is not set | ||
| 1025 | # CONFIG_DVB_CX22702 is not set | ||
| 1026 | # CONFIG_DVB_DRX397XD is not set | ||
| 1027 | # CONFIG_DVB_L64781 is not set | ||
| 1028 | # CONFIG_DVB_TDA1004X is not set | ||
| 1029 | # CONFIG_DVB_NXT6000 is not set | ||
| 1030 | # CONFIG_DVB_MT352 is not set | ||
| 1031 | # CONFIG_DVB_ZL10353 is not set | ||
| 1032 | # CONFIG_DVB_DIB3000MB is not set | ||
| 1033 | # CONFIG_DVB_DIB3000MC is not set | ||
| 1034 | # CONFIG_DVB_DIB7000M is not set | ||
| 1035 | # CONFIG_DVB_DIB7000P is not set | ||
| 1036 | # CONFIG_DVB_TDA10048 is not set | ||
| 1037 | |||
| 1038 | # | ||
| 1039 | # DVB-C (cable) frontends | ||
| 1040 | # | ||
| 1041 | # CONFIG_DVB_VES1820 is not set | ||
| 1042 | # CONFIG_DVB_TDA10021 is not set | ||
| 1043 | # CONFIG_DVB_TDA10023 is not set | ||
| 1044 | # CONFIG_DVB_STV0297 is not set | ||
| 1045 | |||
| 1046 | # | ||
| 1047 | # ATSC (North American/Korean Terrestrial/Cable DTV) frontends | ||
| 1048 | # | ||
| 1049 | # CONFIG_DVB_NXT200X is not set | ||
| 1050 | # CONFIG_DVB_OR51211 is not set | ||
| 1051 | # CONFIG_DVB_OR51132 is not set | ||
| 1052 | # CONFIG_DVB_BCM3510 is not set | ||
| 1053 | # CONFIG_DVB_LGDT330X is not set | ||
| 1054 | # CONFIG_DVB_LGDT3304 is not set | ||
| 1055 | # CONFIG_DVB_S5H1409 is not set | ||
| 1056 | # CONFIG_DVB_AU8522 is not set | ||
| 1057 | # CONFIG_DVB_S5H1411 is not set | ||
| 1058 | |||
| 1059 | # | ||
| 1060 | # ISDB-T (terrestrial) frontends | ||
| 1061 | # | ||
| 1062 | # CONFIG_DVB_S921 is not set | ||
| 1063 | |||
| 1064 | # | ||
| 1065 | # Digital terrestrial only tuners/PLL | ||
| 1066 | # | ||
| 1067 | # CONFIG_DVB_PLL is not set | ||
| 1068 | # CONFIG_DVB_TUNER_DIB0070 is not set | ||
| 1069 | |||
| 1070 | # | ||
| 1071 | # SEC control devices for DVB-S | ||
| 1072 | # | ||
| 1073 | # CONFIG_DVB_LNBP21 is not set | ||
| 1074 | # CONFIG_DVB_ISL6405 is not set | ||
| 1075 | # CONFIG_DVB_ISL6421 is not set | ||
| 1076 | # CONFIG_DVB_LGS8GL5 is not set | ||
| 1077 | |||
| 1078 | # | ||
| 1079 | # Tools to develop new frontends | ||
| 1080 | # | ||
| 1081 | # CONFIG_DVB_DUMMY_FE is not set | ||
| 1082 | # CONFIG_DVB_AF9013 is not set | ||
| 1083 | CONFIG_DAB=y | 1062 | CONFIG_DAB=y |
| 1084 | # CONFIG_USB_DABUSB is not set | 1063 | # CONFIG_USB_DABUSB is not set |
| 1085 | 1064 | ||
| @@ -1159,6 +1138,8 @@ CONFIG_SND_PCI=y | |||
| 1159 | # CONFIG_SND_INDIGO is not set | 1138 | # CONFIG_SND_INDIGO is not set |
| 1160 | # CONFIG_SND_INDIGOIO is not set | 1139 | # CONFIG_SND_INDIGOIO is not set |
| 1161 | # CONFIG_SND_INDIGODJ is not set | 1140 | # CONFIG_SND_INDIGODJ is not set |
| 1141 | # CONFIG_SND_INDIGOIOX is not set | ||
| 1142 | # CONFIG_SND_INDIGODJX is not set | ||
| 1162 | # CONFIG_SND_EMU10K1 is not set | 1143 | # CONFIG_SND_EMU10K1 is not set |
| 1163 | # CONFIG_SND_EMU10K1X is not set | 1144 | # CONFIG_SND_EMU10K1X is not set |
| 1164 | # CONFIG_SND_ENS1370 is not set | 1145 | # CONFIG_SND_ENS1370 is not set |
| @@ -1213,15 +1194,17 @@ CONFIG_USB_HID=y | |||
| 1213 | # | 1194 | # |
| 1214 | # Special HID drivers | 1195 | # Special HID drivers |
| 1215 | # | 1196 | # |
| 1216 | CONFIG_HID_COMPAT=y | ||
| 1217 | CONFIG_HID_A4TECH=y | 1197 | CONFIG_HID_A4TECH=y |
| 1218 | CONFIG_HID_APPLE=y | 1198 | CONFIG_HID_APPLE=y |
| 1219 | CONFIG_HID_BELKIN=y | 1199 | CONFIG_HID_BELKIN=y |
| 1220 | CONFIG_HID_CHERRY=y | 1200 | CONFIG_HID_CHERRY=y |
| 1221 | CONFIG_HID_CHICONY=y | 1201 | CONFIG_HID_CHICONY=y |
| 1222 | CONFIG_HID_CYPRESS=y | 1202 | CONFIG_HID_CYPRESS=y |
| 1203 | # CONFIG_DRAGONRISE_FF is not set | ||
| 1223 | CONFIG_HID_EZKEY=y | 1204 | CONFIG_HID_EZKEY=y |
| 1205 | # CONFIG_HID_KYE is not set | ||
| 1224 | CONFIG_HID_GYRATION=y | 1206 | CONFIG_HID_GYRATION=y |
| 1207 | # CONFIG_HID_KENSINGTON is not set | ||
| 1225 | CONFIG_HID_LOGITECH=y | 1208 | CONFIG_HID_LOGITECH=y |
| 1226 | # CONFIG_LOGITECH_FF is not set | 1209 | # CONFIG_LOGITECH_FF is not set |
| 1227 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | 1210 | # CONFIG_LOGIRUMBLEPAD2_FF is not set |
| @@ -1264,9 +1247,9 @@ CONFIG_USB_MON=y | |||
| 1264 | # | 1247 | # |
| 1265 | # CONFIG_USB_C67X00_HCD is not set | 1248 | # CONFIG_USB_C67X00_HCD is not set |
| 1266 | CONFIG_USB_EHCI_HCD=y | 1249 | CONFIG_USB_EHCI_HCD=y |
| 1267 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | 1250 | CONFIG_USB_EHCI_ROOT_HUB_TT=y |
| 1268 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | 1251 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set |
| 1269 | # CONFIG_USB_EHCI_FSL is not set | 1252 | CONFIG_USB_EHCI_FSL=y |
| 1270 | CONFIG_USB_EHCI_HCD_PPC_OF=y | 1253 | CONFIG_USB_EHCI_HCD_PPC_OF=y |
| 1271 | # CONFIG_USB_OXU210HP_HCD is not set | 1254 | # CONFIG_USB_OXU210HP_HCD is not set |
| 1272 | # CONFIG_USB_ISP116X_HCD is not set | 1255 | # CONFIG_USB_ISP116X_HCD is not set |
| @@ -1280,10 +1263,12 @@ CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | |||
| 1280 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 1263 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
| 1281 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | 1264 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y |
| 1282 | # CONFIG_USB_UHCI_HCD is not set | 1265 | # CONFIG_USB_UHCI_HCD is not set |
| 1266 | # CONFIG_USB_FHCI_HCD is not set | ||
| 1283 | # CONFIG_USB_SL811_HCD is not set | 1267 | # CONFIG_USB_SL811_HCD is not set |
| 1284 | # CONFIG_USB_R8A66597_HCD is not set | 1268 | # CONFIG_USB_R8A66597_HCD is not set |
| 1285 | # CONFIG_USB_WHCI_HCD is not set | 1269 | # CONFIG_USB_WHCI_HCD is not set |
| 1286 | # CONFIG_USB_HWA_HCD is not set | 1270 | # CONFIG_USB_HWA_HCD is not set |
| 1271 | # CONFIG_USB_MUSB_HDRC is not set | ||
| 1287 | 1272 | ||
| 1288 | # | 1273 | # |
| 1289 | # USB Device Class drivers | 1274 | # USB Device Class drivers |
| @@ -1294,11 +1279,11 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
| 1294 | # CONFIG_USB_TMC is not set | 1279 | # CONFIG_USB_TMC is not set |
| 1295 | 1280 | ||
| 1296 | # | 1281 | # |
| 1297 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 1282 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
| 1298 | # | 1283 | # |
| 1299 | 1284 | ||
| 1300 | # | 1285 | # |
| 1301 | # see USB_STORAGE Help for more information | 1286 | # also be needed; see USB_STORAGE Help for more info |
| 1302 | # | 1287 | # |
| 1303 | CONFIG_USB_STORAGE=y | 1288 | CONFIG_USB_STORAGE=y |
| 1304 | # CONFIG_USB_STORAGE_DEBUG is not set | 1289 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -1340,7 +1325,6 @@ CONFIG_USB_STORAGE=y | |||
| 1340 | # CONFIG_USB_LED is not set | 1325 | # CONFIG_USB_LED is not set |
| 1341 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1326 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 1342 | # CONFIG_USB_CYTHERM is not set | 1327 | # CONFIG_USB_CYTHERM is not set |
| 1343 | # CONFIG_USB_PHIDGET is not set | ||
| 1344 | # CONFIG_USB_IDMOUSE is not set | 1328 | # CONFIG_USB_IDMOUSE is not set |
| 1345 | # CONFIG_USB_FTDI_ELAN is not set | 1329 | # CONFIG_USB_FTDI_ELAN is not set |
| 1346 | # CONFIG_USB_APPLEDISPLAY is not set | 1330 | # CONFIG_USB_APPLEDISPLAY is not set |
| @@ -1356,13 +1340,24 @@ CONFIG_USB_STORAGE=y | |||
| 1356 | # | 1340 | # |
| 1357 | # OTG and related infrastructure | 1341 | # OTG and related infrastructure |
| 1358 | # | 1342 | # |
| 1343 | # CONFIG_USB_GPIO_VBUS is not set | ||
| 1344 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 1359 | # CONFIG_UWB is not set | 1345 | # CONFIG_UWB is not set |
| 1360 | # CONFIG_MMC is not set | 1346 | # CONFIG_MMC is not set |
| 1361 | # CONFIG_MEMSTICK is not set | 1347 | # CONFIG_MEMSTICK is not set |
| 1362 | # CONFIG_NEW_LEDS is not set | 1348 | # CONFIG_NEW_LEDS is not set |
| 1363 | # CONFIG_ACCESSIBILITY is not set | 1349 | # CONFIG_ACCESSIBILITY is not set |
| 1364 | # CONFIG_INFINIBAND is not set | 1350 | # CONFIG_INFINIBAND is not set |
| 1365 | # CONFIG_EDAC is not set | 1351 | CONFIG_EDAC=y |
| 1352 | |||
| 1353 | # | ||
| 1354 | # Reporting subsystems | ||
| 1355 | # | ||
| 1356 | # CONFIG_EDAC_DEBUG is not set | ||
| 1357 | CONFIG_EDAC_MM_EDAC=y | ||
| 1358 | CONFIG_EDAC_MPC85XX=y | ||
| 1359 | # CONFIG_EDAC_AMD8131 is not set | ||
| 1360 | # CONFIG_EDAC_AMD8111 is not set | ||
| 1366 | CONFIG_RTC_LIB=y | 1361 | CONFIG_RTC_LIB=y |
| 1367 | CONFIG_RTC_CLASS=y | 1362 | CONFIG_RTC_CLASS=y |
| 1368 | CONFIG_RTC_HCTOSYS=y | 1363 | CONFIG_RTC_HCTOSYS=y |
| @@ -1417,8 +1412,22 @@ CONFIG_RTC_DRV_CMOS=y | |||
| 1417 | # | 1412 | # |
| 1418 | # on-CPU RTC drivers | 1413 | # on-CPU RTC drivers |
| 1419 | # | 1414 | # |
| 1420 | # CONFIG_RTC_DRV_PPC is not set | 1415 | # CONFIG_RTC_DRV_GENERIC is not set |
| 1421 | # CONFIG_DMADEVICES is not set | 1416 | CONFIG_DMADEVICES=y |
| 1417 | |||
| 1418 | # | ||
| 1419 | # DMA Devices | ||
| 1420 | # | ||
| 1421 | CONFIG_FSL_DMA=y | ||
| 1422 | CONFIG_DMA_ENGINE=y | ||
| 1423 | |||
| 1424 | # | ||
| 1425 | # DMA Clients | ||
| 1426 | # | ||
| 1427 | # CONFIG_NET_DMA is not set | ||
| 1428 | # CONFIG_ASYNC_TX_DMA is not set | ||
| 1429 | # CONFIG_DMATEST is not set | ||
| 1430 | # CONFIG_AUXDISPLAY is not set | ||
| 1422 | # CONFIG_UIO is not set | 1431 | # CONFIG_UIO is not set |
| 1423 | # CONFIG_STAGING is not set | 1432 | # CONFIG_STAGING is not set |
| 1424 | 1433 | ||
| @@ -1429,11 +1438,13 @@ CONFIG_EXT2_FS=y | |||
| 1429 | # CONFIG_EXT2_FS_XATTR is not set | 1438 | # CONFIG_EXT2_FS_XATTR is not set |
| 1430 | # CONFIG_EXT2_FS_XIP is not set | 1439 | # CONFIG_EXT2_FS_XIP is not set |
| 1431 | CONFIG_EXT3_FS=y | 1440 | CONFIG_EXT3_FS=y |
| 1441 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 1432 | CONFIG_EXT3_FS_XATTR=y | 1442 | CONFIG_EXT3_FS_XATTR=y |
| 1433 | # CONFIG_EXT3_FS_POSIX_ACL is not set | 1443 | # CONFIG_EXT3_FS_POSIX_ACL is not set |
| 1434 | # CONFIG_EXT3_FS_SECURITY is not set | 1444 | # CONFIG_EXT3_FS_SECURITY is not set |
| 1435 | # CONFIG_EXT4_FS is not set | 1445 | # CONFIG_EXT4_FS is not set |
| 1436 | CONFIG_JBD=y | 1446 | CONFIG_JBD=y |
| 1447 | # CONFIG_JBD_DEBUG is not set | ||
| 1437 | CONFIG_FS_MBCACHE=y | 1448 | CONFIG_FS_MBCACHE=y |
| 1438 | # CONFIG_REISERFS_FS is not set | 1449 | # CONFIG_REISERFS_FS is not set |
| 1439 | # CONFIG_JFS_FS is not set | 1450 | # CONFIG_JFS_FS is not set |
| @@ -1452,6 +1463,11 @@ CONFIG_INOTIFY_USER=y | |||
| 1452 | # CONFIG_FUSE_FS is not set | 1463 | # CONFIG_FUSE_FS is not set |
| 1453 | 1464 | ||
| 1454 | # | 1465 | # |
| 1466 | # Caches | ||
| 1467 | # | ||
| 1468 | # CONFIG_FSCACHE is not set | ||
| 1469 | |||
| 1470 | # | ||
| 1455 | # CD-ROM/DVD Filesystems | 1471 | # CD-ROM/DVD Filesystems |
| 1456 | # | 1472 | # |
| 1457 | CONFIG_ISO9660_FS=m | 1473 | CONFIG_ISO9660_FS=m |
| @@ -1506,6 +1522,7 @@ CONFIG_SYSV_FS=m | |||
| 1506 | CONFIG_UFS_FS=m | 1522 | CONFIG_UFS_FS=m |
| 1507 | # CONFIG_UFS_FS_WRITE is not set | 1523 | # CONFIG_UFS_FS_WRITE is not set |
| 1508 | # CONFIG_UFS_DEBUG is not set | 1524 | # CONFIG_UFS_DEBUG is not set |
| 1525 | # CONFIG_NILFS2_FS is not set | ||
| 1509 | CONFIG_NETWORK_FILESYSTEMS=y | 1526 | CONFIG_NETWORK_FILESYSTEMS=y |
| 1510 | CONFIG_NFS_FS=y | 1527 | CONFIG_NFS_FS=y |
| 1511 | CONFIG_NFS_V3=y | 1528 | CONFIG_NFS_V3=y |
| @@ -1521,7 +1538,6 @@ CONFIG_EXPORTFS=y | |||
| 1521 | CONFIG_NFS_COMMON=y | 1538 | CONFIG_NFS_COMMON=y |
| 1522 | CONFIG_SUNRPC=y | 1539 | CONFIG_SUNRPC=y |
| 1523 | CONFIG_SUNRPC_GSS=y | 1540 | CONFIG_SUNRPC_GSS=y |
| 1524 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1525 | CONFIG_RPCSEC_GSS_KRB5=y | 1541 | CONFIG_RPCSEC_GSS_KRB5=y |
| 1526 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1542 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1527 | # CONFIG_SMB_FS is not set | 1543 | # CONFIG_SMB_FS is not set |
| @@ -1592,6 +1608,10 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1592 | # CONFIG_NLS_KOI8_U is not set | 1608 | # CONFIG_NLS_KOI8_U is not set |
| 1593 | CONFIG_NLS_UTF8=m | 1609 | CONFIG_NLS_UTF8=m |
| 1594 | # CONFIG_DLM is not set | 1610 | # CONFIG_DLM is not set |
| 1611 | CONFIG_UCC_SLOW=y | ||
| 1612 | CONFIG_UCC_FAST=y | ||
| 1613 | CONFIG_UCC=y | ||
| 1614 | # CONFIG_BINARY_PRINTF is not set | ||
| 1595 | 1615 | ||
| 1596 | # | 1616 | # |
| 1597 | # Library routines | 1617 | # Library routines |
| @@ -1606,11 +1626,12 @@ CONFIG_CRC32=y | |||
| 1606 | # CONFIG_CRC7 is not set | 1626 | # CONFIG_CRC7 is not set |
| 1607 | CONFIG_LIBCRC32C=m | 1627 | CONFIG_LIBCRC32C=m |
| 1608 | CONFIG_ZLIB_INFLATE=y | 1628 | CONFIG_ZLIB_INFLATE=y |
| 1609 | CONFIG_PLIST=y | 1629 | CONFIG_DECOMPRESS_GZIP=y |
| 1610 | CONFIG_HAS_IOMEM=y | 1630 | CONFIG_HAS_IOMEM=y |
| 1611 | CONFIG_HAS_IOPORT=y | 1631 | CONFIG_HAS_IOPORT=y |
| 1612 | CONFIG_HAS_DMA=y | 1632 | CONFIG_HAS_DMA=y |
| 1613 | CONFIG_HAVE_LMB=y | 1633 | CONFIG_HAVE_LMB=y |
| 1634 | CONFIG_NLATTR=y | ||
| 1614 | 1635 | ||
| 1615 | # | 1636 | # |
| 1616 | # Kernel hacking | 1637 | # Kernel hacking |
| @@ -1621,13 +1642,16 @@ CONFIG_ENABLE_MUST_CHECK=y | |||
| 1621 | CONFIG_FRAME_WARN=1024 | 1642 | CONFIG_FRAME_WARN=1024 |
| 1622 | # CONFIG_MAGIC_SYSRQ is not set | 1643 | # CONFIG_MAGIC_SYSRQ is not set |
| 1623 | # CONFIG_UNUSED_SYMBOLS is not set | 1644 | # CONFIG_UNUSED_SYMBOLS is not set |
| 1624 | # CONFIG_DEBUG_FS is not set | 1645 | CONFIG_DEBUG_FS=y |
| 1625 | # CONFIG_HEADERS_CHECK is not set | 1646 | # CONFIG_HEADERS_CHECK is not set |
| 1626 | CONFIG_DEBUG_KERNEL=y | 1647 | CONFIG_DEBUG_KERNEL=y |
| 1627 | # CONFIG_DEBUG_SHIRQ is not set | 1648 | # CONFIG_DEBUG_SHIRQ is not set |
| 1628 | CONFIG_DETECT_SOFTLOCKUP=y | 1649 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1629 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1650 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
| 1630 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1651 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
| 1652 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1653 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1654 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1631 | CONFIG_SCHED_DEBUG=y | 1655 | CONFIG_SCHED_DEBUG=y |
| 1632 | # CONFIG_SCHEDSTATS is not set | 1656 | # CONFIG_SCHEDSTATS is not set |
| 1633 | # CONFIG_TIMER_STATS is not set | 1657 | # CONFIG_TIMER_STATS is not set |
| @@ -1658,9 +1682,12 @@ CONFIG_DEBUG_INFO=y | |||
| 1658 | # CONFIG_FAULT_INJECTION is not set | 1682 | # CONFIG_FAULT_INJECTION is not set |
| 1659 | # CONFIG_LATENCYTOP is not set | 1683 | # CONFIG_LATENCYTOP is not set |
| 1660 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1684 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
| 1685 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1661 | CONFIG_HAVE_FUNCTION_TRACER=y | 1686 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1687 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1662 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1688 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1663 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1689 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1690 | CONFIG_TRACING_SUPPORT=y | ||
| 1664 | 1691 | ||
| 1665 | # | 1692 | # |
| 1666 | # Tracers | 1693 | # Tracers |
| @@ -1668,22 +1695,26 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | |||
| 1668 | # CONFIG_FUNCTION_TRACER is not set | 1695 | # CONFIG_FUNCTION_TRACER is not set |
| 1669 | # CONFIG_SCHED_TRACER is not set | 1696 | # CONFIG_SCHED_TRACER is not set |
| 1670 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1697 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
| 1698 | # CONFIG_EVENT_TRACER is not set | ||
| 1671 | # CONFIG_BOOT_TRACER is not set | 1699 | # CONFIG_BOOT_TRACER is not set |
| 1672 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1700 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
| 1673 | # CONFIG_STACK_TRACER is not set | 1701 | # CONFIG_STACK_TRACER is not set |
| 1674 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1702 | # CONFIG_KMEMTRACE is not set |
| 1703 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1704 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1705 | # CONFIG_DYNAMIC_DEBUG is not set | ||
| 1675 | # CONFIG_SAMPLES is not set | 1706 | # CONFIG_SAMPLES is not set |
| 1676 | CONFIG_HAVE_ARCH_KGDB=y | 1707 | CONFIG_HAVE_ARCH_KGDB=y |
| 1677 | # CONFIG_KGDB is not set | 1708 | # CONFIG_KGDB is not set |
| 1678 | CONFIG_PRINT_STACK_DEPTH=64 | 1709 | CONFIG_PRINT_STACK_DEPTH=64 |
| 1679 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1710 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
| 1680 | # CONFIG_DEBUG_STACK_USAGE is not set | 1711 | # CONFIG_DEBUG_STACK_USAGE is not set |
| 1681 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
| 1682 | # CONFIG_CODE_PATCHING_SELFTEST is not set | 1712 | # CONFIG_CODE_PATCHING_SELFTEST is not set |
| 1683 | # CONFIG_FTR_FIXUP_SELFTEST is not set | 1713 | # CONFIG_FTR_FIXUP_SELFTEST is not set |
| 1684 | # CONFIG_MSI_BITMAP_SELFTEST is not set | 1714 | # CONFIG_MSI_BITMAP_SELFTEST is not set |
| 1685 | # CONFIG_XMON is not set | 1715 | # CONFIG_XMON is not set |
| 1686 | # CONFIG_IRQSTACKS is not set | 1716 | # CONFIG_IRQSTACKS is not set |
| 1717 | CONFIG_VIRQ_DEBUG=y | ||
| 1687 | # CONFIG_BDI_SWITCH is not set | 1718 | # CONFIG_BDI_SWITCH is not set |
| 1688 | # CONFIG_PPC_EARLY_DEBUG is not set | 1719 | # CONFIG_PPC_EARLY_DEBUG is not set |
| 1689 | 1720 | ||
| @@ -1709,10 +1740,12 @@ CONFIG_CRYPTO_BLKCIPHER2=y | |||
| 1709 | CONFIG_CRYPTO_HASH=y | 1740 | CONFIG_CRYPTO_HASH=y |
| 1710 | CONFIG_CRYPTO_HASH2=y | 1741 | CONFIG_CRYPTO_HASH2=y |
| 1711 | CONFIG_CRYPTO_RNG2=y | 1742 | CONFIG_CRYPTO_RNG2=y |
| 1743 | CONFIG_CRYPTO_PCOMP=y | ||
| 1712 | CONFIG_CRYPTO_MANAGER=y | 1744 | CONFIG_CRYPTO_MANAGER=y |
| 1713 | CONFIG_CRYPTO_MANAGER2=y | 1745 | CONFIG_CRYPTO_MANAGER2=y |
| 1714 | # CONFIG_CRYPTO_GF128MUL is not set | 1746 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1715 | # CONFIG_CRYPTO_NULL is not set | 1747 | # CONFIG_CRYPTO_NULL is not set |
| 1748 | CONFIG_CRYPTO_WORKQUEUE=y | ||
| 1716 | # CONFIG_CRYPTO_CRYPTD is not set | 1749 | # CONFIG_CRYPTO_CRYPTD is not set |
| 1717 | CONFIG_CRYPTO_AUTHENC=y | 1750 | CONFIG_CRYPTO_AUTHENC=y |
| 1718 | # CONFIG_CRYPTO_TEST is not set | 1751 | # CONFIG_CRYPTO_TEST is not set |
| @@ -1781,6 +1814,7 @@ CONFIG_CRYPTO_DES=y | |||
| 1781 | # Compression | 1814 | # Compression |
| 1782 | # | 1815 | # |
| 1783 | # CONFIG_CRYPTO_DEFLATE is not set | 1816 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1817 | # CONFIG_CRYPTO_ZLIB is not set | ||
| 1784 | # CONFIG_CRYPTO_LZO is not set | 1818 | # CONFIG_CRYPTO_LZO is not set |
| 1785 | 1819 | ||
| 1786 | # | 1820 | # |
| @@ -1790,5 +1824,6 @@ CONFIG_CRYPTO_DES=y | |||
| 1790 | CONFIG_CRYPTO_HW=y | 1824 | CONFIG_CRYPTO_HW=y |
| 1791 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 1825 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
| 1792 | CONFIG_CRYPTO_DEV_TALITOS=y | 1826 | CONFIG_CRYPTO_DEV_TALITOS=y |
| 1793 | # CONFIG_PPC_CLOCK is not set | 1827 | CONFIG_PPC_CLOCK=y |
| 1828 | CONFIG_PPC_LIB_RHEAP=y | ||
| 1794 | # CONFIG_VIRTUALIZATION is not set | 1829 | # CONFIG_VIRTUALIZATION is not set |
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index 1a856b15226e..d6b4a12cdeff 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h | |||
| @@ -258,7 +258,9 @@ do { \ | |||
| 258 | # define elf_read_implies_exec(ex, exec_stk) (test_thread_flag(TIF_32BIT) ? \ | 258 | # define elf_read_implies_exec(ex, exec_stk) (test_thread_flag(TIF_32BIT) ? \ |
| 259 | (exec_stk != EXSTACK_DISABLE_X) : 0) | 259 | (exec_stk != EXSTACK_DISABLE_X) : 0) |
| 260 | #else | 260 | #else |
| 261 | # define SET_PERSONALITY(ex) set_personality(PER_LINUX) | 261 | # define SET_PERSONALITY(ex) \ |
| 262 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | ||
| 263 | # define elf_read_implies_exec(ex, exec_stk) (exec_stk != EXSTACK_DISABLE_X) | ||
| 262 | #endif /* __powerpc64__ */ | 264 | #endif /* __powerpc64__ */ |
| 263 | 265 | ||
| 264 | extern int dcache_bsize; | 266 | extern int dcache_bsize; |
diff --git a/arch/powerpc/include/asm/futex.h b/arch/powerpc/include/asm/futex.h index 6d406c5c5de4..9696cc36d2dc 100644 --- a/arch/powerpc/include/asm/futex.h +++ b/arch/powerpc/include/asm/futex.h | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | PPC_LONG "1b,4b,2b,4b\n" \ | 27 | PPC_LONG "1b,4b,2b,4b\n" \ |
| 28 | ".previous" \ | 28 | ".previous" \ |
| 29 | : "=&r" (oldval), "=&r" (ret) \ | 29 | : "=&r" (oldval), "=&r" (ret) \ |
| 30 | : "b" (uaddr), "i" (-EFAULT), "1" (oparg) \ | 30 | : "b" (uaddr), "i" (-EFAULT), "r" (oparg) \ |
| 31 | : "cr0", "memory") | 31 | : "cr0", "memory") |
| 32 | 32 | ||
| 33 | static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | 33 | static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) |
| @@ -47,19 +47,19 @@ static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | |||
| 47 | 47 | ||
| 48 | switch (op) { | 48 | switch (op) { |
| 49 | case FUTEX_OP_SET: | 49 | case FUTEX_OP_SET: |
| 50 | __futex_atomic_op("", ret, oldval, uaddr, oparg); | 50 | __futex_atomic_op("mr %1,%4\n", ret, oldval, uaddr, oparg); |
| 51 | break; | 51 | break; |
| 52 | case FUTEX_OP_ADD: | 52 | case FUTEX_OP_ADD: |
| 53 | __futex_atomic_op("add %1,%0,%1\n", ret, oldval, uaddr, oparg); | 53 | __futex_atomic_op("add %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 54 | break; | 54 | break; |
| 55 | case FUTEX_OP_OR: | 55 | case FUTEX_OP_OR: |
| 56 | __futex_atomic_op("or %1,%0,%1\n", ret, oldval, uaddr, oparg); | 56 | __futex_atomic_op("or %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 57 | break; | 57 | break; |
| 58 | case FUTEX_OP_ANDN: | 58 | case FUTEX_OP_ANDN: |
| 59 | __futex_atomic_op("andc %1,%0,%1\n", ret, oldval, uaddr, oparg); | 59 | __futex_atomic_op("andc %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 60 | break; | 60 | break; |
| 61 | case FUTEX_OP_XOR: | 61 | case FUTEX_OP_XOR: |
| 62 | __futex_atomic_op("xor %1,%0,%1\n", ret, oldval, uaddr, oparg); | 62 | __futex_atomic_op("xor %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 63 | break; | 63 | break; |
| 64 | default: | 64 | default: |
| 65 | ret = -ENOSYS; | 65 | ret = -ENOSYS; |
diff --git a/arch/powerpc/include/asm/of_platform.h b/arch/powerpc/include/asm/of_platform.h index 53b46507ffde..d4aaa3489440 100644 --- a/arch/powerpc/include/asm/of_platform.h +++ b/arch/powerpc/include/asm/of_platform.h | |||
| @@ -11,16 +11,6 @@ | |||
| 11 | * | 11 | * |
| 12 | */ | 12 | */ |
| 13 | 13 | ||
| 14 | /* Platform drivers register/unregister */ | ||
| 15 | static inline int of_register_platform_driver(struct of_platform_driver *drv) | ||
| 16 | { | ||
| 17 | return of_register_driver(drv, &of_platform_bus_type); | ||
| 18 | } | ||
| 19 | static inline void of_unregister_platform_driver(struct of_platform_driver *drv) | ||
| 20 | { | ||
| 21 | of_unregister_driver(drv); | ||
| 22 | } | ||
| 23 | |||
| 24 | /* Platform devices and busses creation */ | 14 | /* Platform devices and busses creation */ |
| 25 | extern struct of_device *of_platform_device_create(struct device_node *np, | 15 | extern struct of_device *of_platform_device_create(struct device_node *np, |
| 26 | const char *bus_id, | 16 | const char *bus_id, |
diff --git a/arch/powerpc/include/asm/parport.h b/arch/powerpc/include/asm/parport.h index 414c50e2e881..94942d60ddfd 100644 --- a/arch/powerpc/include/asm/parport.h +++ b/arch/powerpc/include/asm/parport.h | |||
| @@ -29,7 +29,7 @@ static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma) | |||
| 29 | prop = of_get_property(np, "interrupts", NULL); | 29 | prop = of_get_property(np, "interrupts", NULL); |
| 30 | if (!prop) | 30 | if (!prop) |
| 31 | continue; | 31 | continue; |
| 32 | if (parport_pc_probe_port(io1, io2, prop[0], autodma, NULL) != NULL) | 32 | if (parport_pc_probe_port(io1, io2, prop[0], autodma, NULL, 0) != NULL) |
| 33 | count++; | 33 | count++; |
| 34 | } | 34 | } |
| 35 | return count; | 35 | return count; |
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index f4a4db8d5555..640ccbbc0977 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h | |||
| @@ -43,7 +43,7 @@ | |||
| 43 | 43 | ||
| 44 | #define PPC_INST_STSWI 0x7c0005aa | 44 | #define PPC_INST_STSWI 0x7c0005aa |
| 45 | #define PPC_INST_STSWX 0x7c00052a | 45 | #define PPC_INST_STSWX 0x7c00052a |
| 46 | #define PPC_INST_TLBILX 0x7c000626 | 46 | #define PPC_INST_TLBILX 0x7c000024 |
| 47 | #define PPC_INST_WAIT 0x7c00007c | 47 | #define PPC_INST_WAIT 0x7c00007c |
| 48 | 48 | ||
| 49 | /* macros to insert fields into opcodes */ | 49 | /* macros to insert fields into opcodes */ |
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h index f59a66684aed..384d90c9c272 100644 --- a/arch/powerpc/include/asm/ppc_asm.h +++ b/arch/powerpc/include/asm/ppc_asm.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | #ifndef _ASM_POWERPC_PPC_ASM_H | 4 | #ifndef _ASM_POWERPC_PPC_ASM_H |
| 5 | #define _ASM_POWERPC_PPC_ASM_H | 5 | #define _ASM_POWERPC_PPC_ASM_H |
| 6 | 6 | ||
| 7 | #include <linux/init.h> | ||
| 7 | #include <linux/stringify.h> | 8 | #include <linux/stringify.h> |
| 8 | #include <asm/asm-compat.h> | 9 | #include <asm/asm-compat.h> |
| 9 | #include <asm/processor.h> | 10 | #include <asm/processor.h> |
| @@ -189,7 +190,7 @@ name: \ | |||
| 189 | GLUE(.,name): | 190 | GLUE(.,name): |
| 190 | 191 | ||
| 191 | #define _INIT_GLOBAL(name) \ | 192 | #define _INIT_GLOBAL(name) \ |
| 192 | .section ".text.init.refok"; \ | 193 | __REF; \ |
| 193 | .align 2 ; \ | 194 | .align 2 ; \ |
| 194 | .globl name; \ | 195 | .globl name; \ |
| 195 | .globl GLUE(.,name); \ | 196 | .globl GLUE(.,name); \ |
| @@ -229,7 +230,7 @@ name: \ | |||
| 229 | GLUE(.,name): | 230 | GLUE(.,name): |
| 230 | 231 | ||
| 231 | #define _INIT_STATIC(name) \ | 232 | #define _INIT_STATIC(name) \ |
| 232 | .section ".text.init.refok"; \ | 233 | __REF; \ |
| 233 | .align 2 ; \ | 234 | .align 2 ; \ |
| 234 | .section ".opd","aw"; \ | 235 | .section ".opd","aw"; \ |
| 235 | name: \ | 236 | name: \ |
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index cd1b687544f3..f9c40f869c6e 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
| @@ -382,7 +382,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 382 | .icache_bsize = 128, | 382 | .icache_bsize = 128, |
| 383 | .dcache_bsize = 128, | 383 | .dcache_bsize = 128, |
| 384 | .machine_check = machine_check_generic, | 384 | .machine_check = machine_check_generic, |
| 385 | .oprofile_cpu_type = "ppc64/compat-power5+", | 385 | .oprofile_cpu_type = "ppc64/ibm-compat-v1", |
| 386 | .oprofile_type = PPC_OPROFILE_POWER4, | ||
| 386 | .platform = "power5+", | 387 | .platform = "power5+", |
| 387 | }, | 388 | }, |
| 388 | { /* Power6 */ | 389 | { /* Power6 */ |
| @@ -416,7 +417,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 416 | .icache_bsize = 128, | 417 | .icache_bsize = 128, |
| 417 | .dcache_bsize = 128, | 418 | .dcache_bsize = 128, |
| 418 | .machine_check = machine_check_generic, | 419 | .machine_check = machine_check_generic, |
| 419 | .oprofile_cpu_type = "ppc64/compat-power6", | 420 | .oprofile_cpu_type = "ppc64/ibm-compat-v1", |
| 421 | .oprofile_type = PPC_OPROFILE_POWER4, | ||
| 420 | .platform = "power6", | 422 | .platform = "power6", |
| 421 | }, | 423 | }, |
| 422 | { /* 2.06-compliant processor, i.e. Power7 "architected" mode */ | 424 | { /* 2.06-compliant processor, i.e. Power7 "architected" mode */ |
| @@ -429,7 +431,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 429 | .icache_bsize = 128, | 431 | .icache_bsize = 128, |
| 430 | .dcache_bsize = 128, | 432 | .dcache_bsize = 128, |
| 431 | .machine_check = machine_check_generic, | 433 | .machine_check = machine_check_generic, |
| 432 | .oprofile_cpu_type = "ppc64/compat-power7", | 434 | .oprofile_type = PPC_OPROFILE_POWER4, |
| 435 | .oprofile_cpu_type = "ppc64/ibm-compat-v1", | ||
| 433 | .platform = "power7", | 436 | .platform = "power7", |
| 434 | }, | 437 | }, |
| 435 | { /* Power7 */ | 438 | { /* Power7 */ |
| @@ -1833,8 +1836,10 @@ static void __init setup_cpu_spec(unsigned long offset, struct cpu_spec *s) | |||
| 1833 | * and, in that case, keep the current value for | 1836 | * and, in that case, keep the current value for |
| 1834 | * oprofile_cpu_type. | 1837 | * oprofile_cpu_type. |
| 1835 | */ | 1838 | */ |
| 1836 | if (old.oprofile_cpu_type == NULL) | 1839 | if (old.oprofile_cpu_type == NULL) { |
| 1837 | t->oprofile_cpu_type = s->oprofile_cpu_type; | 1840 | t->oprofile_cpu_type = old.oprofile_cpu_type; |
| 1841 | t->oprofile_type = old.oprofile_type; | ||
| 1842 | } | ||
| 1838 | } | 1843 | } |
| 1839 | 1844 | ||
| 1840 | *PTRRELOC(&cur_cpu_spec) = &the_cpu_spec; | 1845 | *PTRRELOC(&cur_cpu_spec) = &the_cpu_spec; |
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 54e68c11ae15..c01467f952d3 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | * | 21 | * |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <linux/init.h> | ||
| 24 | #include <asm/reg.h> | 25 | #include <asm/reg.h> |
| 25 | #include <asm/page.h> | 26 | #include <asm/page.h> |
| 26 | #include <asm/mmu.h> | 27 | #include <asm/mmu.h> |
| @@ -50,7 +51,7 @@ | |||
| 50 | mtspr SPRN_DBAT##n##L,RB; \ | 51 | mtspr SPRN_DBAT##n##L,RB; \ |
| 51 | 1: | 52 | 1: |
| 52 | 53 | ||
| 53 | .section .text.head, "ax" | 54 | __HEAD |
| 54 | .stabs "arch/powerpc/kernel/",N_SO,0,0,0f | 55 | .stabs "arch/powerpc/kernel/",N_SO,0,0,0f |
| 55 | .stabs "head_32.S",N_SO,0,0,0f | 56 | .stabs "head_32.S",N_SO,0,0,0f |
| 56 | 0: | 57 | 0: |
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S index 56d8e5d90c5b..0c96911d4299 100644 --- a/arch/powerpc/kernel/head_40x.S +++ b/arch/powerpc/kernel/head_40x.S | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | * | 31 | * |
| 32 | */ | 32 | */ |
| 33 | 33 | ||
| 34 | #include <linux/init.h> | ||
| 34 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
| 35 | #include <asm/page.h> | 36 | #include <asm/page.h> |
| 36 | #include <asm/mmu.h> | 37 | #include <asm/mmu.h> |
| @@ -52,7 +53,7 @@ | |||
| 52 | * | 53 | * |
| 53 | * This is all going to change RSN when we add bi_recs....... -- Dan | 54 | * This is all going to change RSN when we add bi_recs....... -- Dan |
| 54 | */ | 55 | */ |
| 55 | .section .text.head, "ax" | 56 | __HEAD |
| 56 | _ENTRY(_stext); | 57 | _ENTRY(_stext); |
| 57 | _ENTRY(_start); | 58 | _ENTRY(_start); |
| 58 | 59 | ||
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index b56fecc93a16..18d8a1677c4d 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | * option) any later version. | 28 | * option) any later version. |
| 29 | */ | 29 | */ |
| 30 | 30 | ||
| 31 | #include <linux/init.h> | ||
| 31 | #include <asm/processor.h> | 32 | #include <asm/processor.h> |
| 32 | #include <asm/page.h> | 33 | #include <asm/page.h> |
| 33 | #include <asm/mmu.h> | 34 | #include <asm/mmu.h> |
| @@ -50,7 +51,7 @@ | |||
| 50 | * r7 - End of kernel command line string | 51 | * r7 - End of kernel command line string |
| 51 | * | 52 | * |
| 52 | */ | 53 | */ |
| 53 | .section .text.head, "ax" | 54 | __HEAD |
| 54 | _ENTRY(_stext); | 55 | _ENTRY(_stext); |
| 55 | _ENTRY(_start); | 56 | _ENTRY(_start); |
| 56 | /* | 57 | /* |
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 3c9452d4308b..52ff8c53b93c 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | * | 19 | * |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <linux/init.h> | ||
| 22 | #include <asm/processor.h> | 23 | #include <asm/processor.h> |
| 23 | #include <asm/page.h> | 24 | #include <asm/page.h> |
| 24 | #include <asm/mmu.h> | 25 | #include <asm/mmu.h> |
| @@ -38,7 +39,7 @@ | |||
| 38 | #else | 39 | #else |
| 39 | #define DO_8xx_CPU6(val, reg) | 40 | #define DO_8xx_CPU6(val, reg) |
| 40 | #endif | 41 | #endif |
| 41 | .section .text.head, "ax" | 42 | __HEAD |
| 42 | _ENTRY(_stext); | 43 | _ENTRY(_stext); |
| 43 | _ENTRY(_start); | 44 | _ENTRY(_start); |
| 44 | 45 | ||
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index 4c22620d009b..5bdcc06d294c 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | * option) any later version. | 30 | * option) any later version. |
| 31 | */ | 31 | */ |
| 32 | 32 | ||
| 33 | #include <linux/init.h> | ||
| 33 | #include <linux/threads.h> | 34 | #include <linux/threads.h> |
| 34 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
| 35 | #include <asm/page.h> | 36 | #include <asm/page.h> |
| @@ -53,7 +54,7 @@ | |||
| 53 | * r7 - End of kernel command line string | 54 | * r7 - End of kernel command line string |
| 54 | * | 55 | * |
| 55 | */ | 56 | */ |
| 56 | .section .text.head, "ax" | 57 | __HEAD |
| 57 | _ENTRY(_stext); | 58 | _ENTRY(_stext); |
| 58 | _ENTRY(_start); | 59 | _ENTRY(_start); |
| 59 | /* | 60 | /* |
diff --git a/arch/powerpc/kernel/prom_parse.c b/arch/powerpc/kernel/prom_parse.c index 8f0856f312da..8362620c9e6f 100644 --- a/arch/powerpc/kernel/prom_parse.c +++ b/arch/powerpc/kernel/prom_parse.c | |||
| @@ -971,7 +971,7 @@ int of_irq_map_one(struct device_node *device, int index, struct of_irq *out_irq | |||
| 971 | struct device_node *p; | 971 | struct device_node *p; |
| 972 | const u32 *intspec, *tmp, *addr; | 972 | const u32 *intspec, *tmp, *addr; |
| 973 | u32 intsize, intlen; | 973 | u32 intsize, intlen; |
| 974 | int res; | 974 | int res = -EINVAL; |
| 975 | 975 | ||
| 976 | DBG("of_irq_map_one: dev=%s, index=%d\n", device->full_name, index); | 976 | DBG("of_irq_map_one: dev=%s, index=%d\n", device->full_name, index); |
| 977 | 977 | ||
| @@ -995,21 +995,20 @@ int of_irq_map_one(struct device_node *device, int index, struct of_irq *out_irq | |||
| 995 | 995 | ||
| 996 | /* Get size of interrupt specifier */ | 996 | /* Get size of interrupt specifier */ |
| 997 | tmp = of_get_property(p, "#interrupt-cells", NULL); | 997 | tmp = of_get_property(p, "#interrupt-cells", NULL); |
| 998 | if (tmp == NULL) { | 998 | if (tmp == NULL) |
| 999 | of_node_put(p); | 999 | goto out; |
| 1000 | return -EINVAL; | ||
| 1001 | } | ||
| 1002 | intsize = *tmp; | 1000 | intsize = *tmp; |
| 1003 | 1001 | ||
| 1004 | DBG(" intsize=%d intlen=%d\n", intsize, intlen); | 1002 | DBG(" intsize=%d intlen=%d\n", intsize, intlen); |
| 1005 | 1003 | ||
| 1006 | /* Check index */ | 1004 | /* Check index */ |
| 1007 | if ((index + 1) * intsize > intlen) | 1005 | if ((index + 1) * intsize > intlen) |
| 1008 | return -EINVAL; | 1006 | goto out; |
| 1009 | 1007 | ||
| 1010 | /* Get new specifier and map it */ | 1008 | /* Get new specifier and map it */ |
| 1011 | res = of_irq_map_raw(p, intspec + index * intsize, intsize, | 1009 | res = of_irq_map_raw(p, intspec + index * intsize, intsize, |
| 1012 | addr, out_irq); | 1010 | addr, out_irq); |
| 1011 | out: | ||
| 1013 | of_node_put(p); | 1012 | of_node_put(p); |
| 1014 | return res; | 1013 | return res; |
| 1015 | } | 1014 | } |
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 926ea864e34f..48571ac56fb7 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
| @@ -77,7 +77,7 @@ | |||
| 77 | #include <linux/clockchips.h> | 77 | #include <linux/clockchips.h> |
| 78 | #include <linux/clocksource.h> | 78 | #include <linux/clocksource.h> |
| 79 | 79 | ||
| 80 | static cycle_t rtc_read(void); | 80 | static cycle_t rtc_read(struct clocksource *); |
| 81 | static struct clocksource clocksource_rtc = { | 81 | static struct clocksource clocksource_rtc = { |
| 82 | .name = "rtc", | 82 | .name = "rtc", |
| 83 | .rating = 400, | 83 | .rating = 400, |
| @@ -88,7 +88,7 @@ static struct clocksource clocksource_rtc = { | |||
| 88 | .read = rtc_read, | 88 | .read = rtc_read, |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | static cycle_t timebase_read(void); | 91 | static cycle_t timebase_read(struct clocksource *); |
| 92 | static struct clocksource clocksource_timebase = { | 92 | static struct clocksource clocksource_timebase = { |
| 93 | .name = "timebase", | 93 | .name = "timebase", |
| 94 | .rating = 400, | 94 | .rating = 400, |
| @@ -766,12 +766,12 @@ unsigned long read_persistent_clock(void) | |||
| 766 | } | 766 | } |
| 767 | 767 | ||
| 768 | /* clocksource code */ | 768 | /* clocksource code */ |
| 769 | static cycle_t rtc_read(void) | 769 | static cycle_t rtc_read(struct clocksource *cs) |
| 770 | { | 770 | { |
| 771 | return (cycle_t)get_rtc(); | 771 | return (cycle_t)get_rtc(); |
| 772 | } | 772 | } |
| 773 | 773 | ||
| 774 | static cycle_t timebase_read(void) | 774 | static cycle_t timebase_read(struct clocksource *cs) |
| 775 | { | 775 | { |
| 776 | return (cycle_t)get_tb(); | 776 | return (cycle_t)get_tb(); |
| 777 | } | 777 | } |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index b9ef1644a722..a047a6cfca4d 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
| @@ -52,9 +52,10 @@ SECTIONS | |||
| 52 | /* Text and gots */ | 52 | /* Text and gots */ |
| 53 | .text : AT(ADDR(.text) - LOAD_OFFSET) { | 53 | .text : AT(ADDR(.text) - LOAD_OFFSET) { |
| 54 | ALIGN_FUNCTION(); | 54 | ALIGN_FUNCTION(); |
| 55 | *(.text.head) | 55 | HEAD_TEXT |
| 56 | _text = .; | 56 | _text = .; |
| 57 | *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*) | 57 | /* careful! __ftr_alt_* sections need to be close to .text */ |
| 58 | *(.text .fixup __ftr_alt_* .ref.text) | ||
| 58 | SCHED_TEXT | 59 | SCHED_TEXT |
| 59 | LOCK_TEXT | 60 | LOCK_TEXT |
| 60 | KPROBES_TEXT | 61 | KPROBES_TEXT |
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index db556d25c3a7..1ade7eb6ae00 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c | |||
| @@ -753,7 +753,7 @@ void __init early_init_mmu(void) | |||
| 753 | } | 753 | } |
| 754 | 754 | ||
| 755 | #ifdef CONFIG_SMP | 755 | #ifdef CONFIG_SMP |
| 756 | void __init early_init_mmu_secondary(void) | 756 | void __cpuinit early_init_mmu_secondary(void) |
| 757 | { | 757 | { |
| 758 | /* Initialize hash table for that CPU */ | 758 | /* Initialize hash table for that CPU */ |
| 759 | if (!firmware_has_feature(FW_FEATURE_LPAR)) | 759 | if (!firmware_has_feature(FW_FEATURE_LPAR)) |
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c index 7af72970faed..ad2eb4d34dd4 100644 --- a/arch/powerpc/mm/tlb_nohash.c +++ b/arch/powerpc/mm/tlb_nohash.c | |||
| @@ -125,7 +125,6 @@ static void do_flush_tlb_page_ipi(void *param) | |||
| 125 | 125 | ||
| 126 | void flush_tlb_mm(struct mm_struct *mm) | 126 | void flush_tlb_mm(struct mm_struct *mm) |
| 127 | { | 127 | { |
| 128 | cpumask_t cpu_mask; | ||
| 129 | unsigned int pid; | 128 | unsigned int pid; |
| 130 | 129 | ||
| 131 | preempt_disable(); | 130 | preempt_disable(); |
diff --git a/arch/powerpc/mm/tlb_nohash_low.S b/arch/powerpc/mm/tlb_nohash_low.S index 788b87c36f77..3037911279b1 100644 --- a/arch/powerpc/mm/tlb_nohash_low.S +++ b/arch/powerpc/mm/tlb_nohash_low.S | |||
| @@ -191,6 +191,6 @@ ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) | |||
| 191 | isync | 191 | isync |
| 192 | 1: wrtee r10 | 192 | 1: wrtee r10 |
| 193 | blr | 193 | blr |
| 194 | #elif | 194 | #else |
| 195 | #error Unsupported processor type ! | 195 | #error Unsupported processor type ! |
| 196 | #endif | 196 | #endif |
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig index 40e24c39ad06..50f17bdd3c16 100644 --- a/arch/powerpc/platforms/cell/Kconfig +++ b/arch/powerpc/platforms/cell/Kconfig | |||
| @@ -13,7 +13,6 @@ config PPC_CELL_COMMON | |||
| 13 | config PPC_CELL_NATIVE | 13 | config PPC_CELL_NATIVE |
| 14 | bool | 14 | bool |
| 15 | select PPC_CELL_COMMON | 15 | select PPC_CELL_COMMON |
| 16 | select PPC_OF_PLATFORM_PCI | ||
| 17 | select MPIC | 16 | select MPIC |
| 18 | select IBM_NEW_EMAC_EMAC4 | 17 | select IBM_NEW_EMAC_EMAC4 |
| 19 | select IBM_NEW_EMAC_RGMII | 18 | select IBM_NEW_EMAC_RGMII |
| @@ -25,6 +24,8 @@ config PPC_IBM_CELL_BLADE | |||
| 25 | bool "IBM Cell Blade" | 24 | bool "IBM Cell Blade" |
| 26 | depends on PPC64 && PPC_BOOK3S | 25 | depends on PPC64 && PPC_BOOK3S |
| 27 | select PPC_CELL_NATIVE | 26 | select PPC_CELL_NATIVE |
| 27 | select PPC_OF_PLATFORM_PCI | ||
| 28 | select PCI | ||
| 28 | select MMIO_NVRAM | 29 | select MMIO_NVRAM |
| 29 | select PPC_UDBG_16550 | 30 | select PPC_UDBG_16550 |
| 30 | select UDBG_RTAS_CONSOLE | 31 | select UDBG_RTAS_CONSOLE |
| @@ -33,6 +34,8 @@ config PPC_CELLEB | |||
| 33 | bool "Toshiba's Cell Reference Set 'Celleb' Architecture" | 34 | bool "Toshiba's Cell Reference Set 'Celleb' Architecture" |
| 34 | depends on PPC64 && PPC_BOOK3S | 35 | depends on PPC64 && PPC_BOOK3S |
| 35 | select PPC_CELL_NATIVE | 36 | select PPC_CELL_NATIVE |
| 37 | select PPC_OF_PLATFORM_PCI | ||
| 38 | select PCI | ||
| 36 | select HAS_TXX9_SERIAL | 39 | select HAS_TXX9_SERIAL |
| 37 | select PPC_UDBG_BEAT | 40 | select PPC_UDBG_BEAT |
| 38 | select USB_OHCI_BIG_ENDIAN_MMIO | 41 | select USB_OHCI_BIG_ENDIAN_MMIO |
diff --git a/arch/powerpc/platforms/fsl_uli1575.c b/arch/powerpc/platforms/fsl_uli1575.c index 1db6b9e037fc..65a35f38e062 100644 --- a/arch/powerpc/platforms/fsl_uli1575.c +++ b/arch/powerpc/platforms/fsl_uli1575.c | |||
| @@ -275,11 +275,6 @@ static void __devinit hpcd_quirk_uli5288(struct pci_dev *dev) | |||
| 275 | if (!machine_is(mpc86xx_hpcd)) | 275 | if (!machine_is(mpc86xx_hpcd)) |
| 276 | return; | 276 | return; |
| 277 | 277 | ||
| 278 | /* Interrupt Disable, Needed when SATA disabled */ | ||
| 279 | pci_read_config_word(dev, PCI_COMMAND, &temp); | ||
| 280 | temp |= 1<<10; | ||
| 281 | pci_write_config_word(dev, PCI_COMMAND, temp); | ||
| 282 | |||
| 283 | pci_read_config_byte(dev, 0x83, &c); | 278 | pci_read_config_byte(dev, 0x83, &c); |
| 284 | c |= 0x80; | 279 | c |= 0x80; |
| 285 | pci_write_config_byte(dev, 0x83, c); | 280 | pci_write_config_byte(dev, 0x83, c); |
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index c64fb5bfb37e..153051eb6d93 100644 --- a/arch/powerpc/platforms/pasemi/setup.c +++ b/arch/powerpc/platforms/pasemi/setup.c | |||
| @@ -44,10 +44,6 @@ | |||
| 44 | 44 | ||
| 45 | #include "pasemi.h" | 45 | #include "pasemi.h" |
| 46 | 46 | ||
| 47 | #if !defined(CONFIG_SMP) | ||
| 48 | static void smp_send_stop(void) {} | ||
| 49 | #endif | ||
| 50 | |||
| 51 | /* SDC reset register, must be pre-mapped at reset time */ | 47 | /* SDC reset register, must be pre-mapped at reset time */ |
| 52 | static void __iomem *reset_reg; | 48 | static void __iomem *reset_reg; |
| 53 | 49 | ||
diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c index 86e392b1b049..cf1cd0f8c18f 100644 --- a/arch/powerpc/platforms/ps3/os-area.c +++ b/arch/powerpc/platforms/ps3/os-area.c | |||
| @@ -578,7 +578,7 @@ static void os_area_db_init(struct os_area_db *db) | |||
| 578 | * | 578 | * |
| 579 | */ | 579 | */ |
| 580 | 580 | ||
| 581 | static void update_flash_db(void) | 581 | static void __maybe_unused update_flash_db(void) |
| 582 | { | 582 | { |
| 583 | int result; | 583 | int result; |
| 584 | int file; | 584 | int file; |
diff --git a/arch/powerpc/platforms/ps3/setup.c b/arch/powerpc/platforms/ps3/setup.c index 66181821322a..1a7b5ae0c83e 100644 --- a/arch/powerpc/platforms/ps3/setup.c +++ b/arch/powerpc/platforms/ps3/setup.c | |||
| @@ -45,10 +45,6 @@ | |||
| 45 | DEFINE_MUTEX(ps3_gpu_mutex); | 45 | DEFINE_MUTEX(ps3_gpu_mutex); |
| 46 | EXPORT_SYMBOL_GPL(ps3_gpu_mutex); | 46 | EXPORT_SYMBOL_GPL(ps3_gpu_mutex); |
| 47 | 47 | ||
| 48 | #if !defined(CONFIG_SMP) | ||
| 49 | static void smp_send_stop(void) {} | ||
| 50 | #endif | ||
| 51 | |||
| 52 | static union ps3_firmware_version ps3_firmware_version; | 48 | static union ps3_firmware_version ps3_firmware_version; |
| 53 | 49 | ||
| 54 | void ps3_get_firmware_version(union ps3_firmware_version *v) | 50 | void ps3_get_firmware_version(union ps3_firmware_version *v) |
diff --git a/arch/powerpc/platforms/pseries/dtl.c b/arch/powerpc/platforms/pseries/dtl.c index fafcaa0e81ef..ab69925d579b 100644 --- a/arch/powerpc/platforms/pseries/dtl.c +++ b/arch/powerpc/platforms/pseries/dtl.c | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include <asm/smp.h> | 25 | #include <asm/smp.h> |
| 26 | #include <asm/system.h> | 26 | #include <asm/system.h> |
| 27 | #include <asm/uaccess.h> | 27 | #include <asm/uaccess.h> |
| 28 | #include <asm/firmware.h> | ||
| 28 | 29 | ||
| 29 | #include "plpar_wrappers.h" | 30 | #include "plpar_wrappers.h" |
| 30 | 31 | ||
diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 380420f8c400..9a2a6e32f00f 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c | |||
| @@ -182,6 +182,8 @@ static void eeh_report_reset(struct pci_dev *dev, void *userdata) | |||
| 182 | if (!driver) | 182 | if (!driver) |
| 183 | return; | 183 | return; |
| 184 | 184 | ||
| 185 | dev->error_state = pci_channel_io_normal; | ||
| 186 | |||
| 185 | eeh_enable_irq(dev); | 187 | eeh_enable_irq(dev); |
| 186 | 188 | ||
| 187 | if (!driver->err_handler || | 189 | if (!driver->err_handler || |
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index a0fa4ebb39c6..abdb124e1e2f 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
| 19 | #include <linux/dma-mapping.h> | 19 | #include <linux/dma-mapping.h> |
| 20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
| 21 | #include <linux/device.h> | ||
| 21 | #include <linux/rio.h> | 22 | #include <linux/rio.h> |
| 22 | #include <linux/rio_drv.h> | 23 | #include <linux/rio_drv.h> |
| 23 | #include <linux/of_platform.h> | 24 | #include <linux/of_platform.h> |
| @@ -159,6 +160,7 @@ struct rio_msg_rx_ring { | |||
| 159 | }; | 160 | }; |
| 160 | 161 | ||
| 161 | struct rio_priv { | 162 | struct rio_priv { |
| 163 | struct device *dev; | ||
| 162 | void __iomem *regs_win; | 164 | void __iomem *regs_win; |
| 163 | struct rio_atmu_regs __iomem *atmu_regs; | 165 | struct rio_atmu_regs __iomem *atmu_regs; |
| 164 | struct rio_atmu_regs __iomem *maint_atmu_regs; | 166 | struct rio_atmu_regs __iomem *maint_atmu_regs; |
| @@ -484,13 +486,13 @@ int rio_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entr | |||
| 484 | 486 | ||
| 485 | for (i = 0; i < priv->msg_tx_ring.size; i++) { | 487 | for (i = 0; i < priv->msg_tx_ring.size; i++) { |
| 486 | priv->msg_tx_ring.virt_buffer[i] = | 488 | priv->msg_tx_ring.virt_buffer[i] = |
| 487 | dma_alloc_coherent(NULL, RIO_MSG_BUFFER_SIZE, | 489 | dma_alloc_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, |
| 488 | &priv->msg_tx_ring.phys_buffer[i], GFP_KERNEL); | 490 | &priv->msg_tx_ring.phys_buffer[i], GFP_KERNEL); |
| 489 | if (!priv->msg_tx_ring.virt_buffer[i]) { | 491 | if (!priv->msg_tx_ring.virt_buffer[i]) { |
| 490 | rc = -ENOMEM; | 492 | rc = -ENOMEM; |
| 491 | for (j = 0; j < priv->msg_tx_ring.size; j++) | 493 | for (j = 0; j < priv->msg_tx_ring.size; j++) |
| 492 | if (priv->msg_tx_ring.virt_buffer[j]) | 494 | if (priv->msg_tx_ring.virt_buffer[j]) |
| 493 | dma_free_coherent(NULL, | 495 | dma_free_coherent(priv->dev, |
| 494 | RIO_MSG_BUFFER_SIZE, | 496 | RIO_MSG_BUFFER_SIZE, |
| 495 | priv->msg_tx_ring. | 497 | priv->msg_tx_ring. |
| 496 | virt_buffer[j], | 498 | virt_buffer[j], |
| @@ -501,7 +503,7 @@ int rio_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entr | |||
| 501 | } | 503 | } |
| 502 | 504 | ||
| 503 | /* Initialize outbound message descriptor ring */ | 505 | /* Initialize outbound message descriptor ring */ |
| 504 | priv->msg_tx_ring.virt = dma_alloc_coherent(NULL, | 506 | priv->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, |
| 505 | priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, | 507 | priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, |
| 506 | &priv->msg_tx_ring.phys, GFP_KERNEL); | 508 | &priv->msg_tx_ring.phys, GFP_KERNEL); |
| 507 | if (!priv->msg_tx_ring.virt) { | 509 | if (!priv->msg_tx_ring.virt) { |
| @@ -549,12 +551,13 @@ int rio_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entr | |||
| 549 | return rc; | 551 | return rc; |
| 550 | 552 | ||
| 551 | out_irq: | 553 | out_irq: |
| 552 | dma_free_coherent(NULL, priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, | 554 | dma_free_coherent(priv->dev, |
| 555 | priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, | ||
| 553 | priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); | 556 | priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); |
| 554 | 557 | ||
| 555 | out_dma: | 558 | out_dma: |
| 556 | for (i = 0; i < priv->msg_tx_ring.size; i++) | 559 | for (i = 0; i < priv->msg_tx_ring.size; i++) |
| 557 | dma_free_coherent(NULL, RIO_MSG_BUFFER_SIZE, | 560 | dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, |
| 558 | priv->msg_tx_ring.virt_buffer[i], | 561 | priv->msg_tx_ring.virt_buffer[i], |
| 559 | priv->msg_tx_ring.phys_buffer[i]); | 562 | priv->msg_tx_ring.phys_buffer[i]); |
| 560 | 563 | ||
| @@ -576,7 +579,8 @@ void rio_close_outb_mbox(struct rio_mport *mport, int mbox) | |||
| 576 | out_be32(&priv->msg_regs->omr, 0); | 579 | out_be32(&priv->msg_regs->omr, 0); |
| 577 | 580 | ||
| 578 | /* Free ring */ | 581 | /* Free ring */ |
| 579 | dma_free_coherent(NULL, priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, | 582 | dma_free_coherent(priv->dev, |
| 583 | priv->msg_tx_ring.size * RIO_MSG_DESC_SIZE, | ||
| 580 | priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); | 584 | priv->msg_tx_ring.virt, priv->msg_tx_ring.phys); |
| 581 | 585 | ||
| 582 | /* Free interrupt */ | 586 | /* Free interrupt */ |
| @@ -654,7 +658,7 @@ int rio_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entri | |||
| 654 | priv->msg_rx_ring.virt_buffer[i] = NULL; | 658 | priv->msg_rx_ring.virt_buffer[i] = NULL; |
| 655 | 659 | ||
| 656 | /* Initialize inbound message ring */ | 660 | /* Initialize inbound message ring */ |
| 657 | priv->msg_rx_ring.virt = dma_alloc_coherent(NULL, | 661 | priv->msg_rx_ring.virt = dma_alloc_coherent(priv->dev, |
| 658 | priv->msg_rx_ring.size * RIO_MAX_MSG_SIZE, | 662 | priv->msg_rx_ring.size * RIO_MAX_MSG_SIZE, |
| 659 | &priv->msg_rx_ring.phys, GFP_KERNEL); | 663 | &priv->msg_rx_ring.phys, GFP_KERNEL); |
| 660 | if (!priv->msg_rx_ring.virt) { | 664 | if (!priv->msg_rx_ring.virt) { |
| @@ -673,7 +677,7 @@ int rio_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entri | |||
| 673 | rc = request_irq(IRQ_RIO_RX(mport), fsl_rio_rx_handler, 0, | 677 | rc = request_irq(IRQ_RIO_RX(mport), fsl_rio_rx_handler, 0, |
| 674 | "msg_rx", (void *)mport); | 678 | "msg_rx", (void *)mport); |
| 675 | if (rc < 0) { | 679 | if (rc < 0) { |
| 676 | dma_free_coherent(NULL, RIO_MSG_BUFFER_SIZE, | 680 | dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, |
| 677 | priv->msg_tx_ring.virt_buffer[i], | 681 | priv->msg_tx_ring.virt_buffer[i], |
| 678 | priv->msg_tx_ring.phys_buffer[i]); | 682 | priv->msg_tx_ring.phys_buffer[i]); |
| 679 | goto out; | 683 | goto out; |
| @@ -713,7 +717,7 @@ void rio_close_inb_mbox(struct rio_mport *mport, int mbox) | |||
| 713 | out_be32(&priv->msg_regs->imr, 0); | 717 | out_be32(&priv->msg_regs->imr, 0); |
| 714 | 718 | ||
| 715 | /* Free ring */ | 719 | /* Free ring */ |
| 716 | dma_free_coherent(NULL, priv->msg_rx_ring.size * RIO_MAX_MSG_SIZE, | 720 | dma_free_coherent(priv->dev, priv->msg_rx_ring.size * RIO_MAX_MSG_SIZE, |
| 717 | priv->msg_rx_ring.virt, priv->msg_rx_ring.phys); | 721 | priv->msg_rx_ring.virt, priv->msg_rx_ring.phys); |
| 718 | 722 | ||
| 719 | /* Free interrupt */ | 723 | /* Free interrupt */ |
| @@ -890,7 +894,7 @@ static int fsl_rio_doorbell_init(struct rio_mport *mport) | |||
| 890 | } | 894 | } |
| 891 | 895 | ||
| 892 | /* Initialize inbound doorbells */ | 896 | /* Initialize inbound doorbells */ |
| 893 | priv->dbell_ring.virt = dma_alloc_coherent(NULL, 512 * | 897 | priv->dbell_ring.virt = dma_alloc_coherent(priv->dev, 512 * |
| 894 | DOORBELL_MESSAGE_SIZE, &priv->dbell_ring.phys, GFP_KERNEL); | 898 | DOORBELL_MESSAGE_SIZE, &priv->dbell_ring.phys, GFP_KERNEL); |
| 895 | if (!priv->dbell_ring.virt) { | 899 | if (!priv->dbell_ring.virt) { |
| 896 | printk(KERN_ERR "RIO: unable allocate inbound doorbell ring\n"); | 900 | printk(KERN_ERR "RIO: unable allocate inbound doorbell ring\n"); |
| @@ -911,7 +915,7 @@ static int fsl_rio_doorbell_init(struct rio_mport *mport) | |||
| 911 | "dbell_rx", (void *)mport); | 915 | "dbell_rx", (void *)mport); |
| 912 | if (rc < 0) { | 916 | if (rc < 0) { |
| 913 | iounmap(priv->dbell_win); | 917 | iounmap(priv->dbell_win); |
| 914 | dma_free_coherent(NULL, 512 * DOORBELL_MESSAGE_SIZE, | 918 | dma_free_coherent(priv->dev, 512 * DOORBELL_MESSAGE_SIZE, |
| 915 | priv->dbell_ring.virt, priv->dbell_ring.phys); | 919 | priv->dbell_ring.virt, priv->dbell_ring.phys); |
| 916 | printk(KERN_ERR | 920 | printk(KERN_ERR |
| 917 | "MPC85xx RIO: unable to request inbound doorbell irq"); | 921 | "MPC85xx RIO: unable to request inbound doorbell irq"); |
| @@ -1087,6 +1091,8 @@ int fsl_rio_setup(struct of_device *dev) | |||
| 1087 | rio_init_mbox_res(&port->riores[RIO_OUTB_MBOX_RESOURCE], 0, 0); | 1091 | rio_init_mbox_res(&port->riores[RIO_OUTB_MBOX_RESOURCE], 0, 0); |
| 1088 | strcpy(port->name, "RIO0 mport"); | 1092 | strcpy(port->name, "RIO0 mport"); |
| 1089 | 1093 | ||
| 1094 | priv->dev = &dev->dev; | ||
| 1095 | |||
| 1090 | port->ops = ops; | 1096 | port->ops = ops; |
| 1091 | port->host_deviceid = fsl_rio_get_hdid(port->id); | 1097 | port->host_deviceid = fsl_rio_get_hdid(port->id); |
| 1092 | 1098 | ||
