aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-07-30 01:55:02 -0400
committerPaul Mackerras <paulus@samba.org>2007-08-16 21:01:51 -0400
commit0d279d47612d1b63155a1d9637a6fc5143dad594 (patch)
treedbe42e6da4aacd499ea3deacccdf9294c7d98006
parent9420dc65ff9e6b67c032286efde823aeb8684670 (diff)
[POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of
This patch contains a handful of small fixes to allow the Ebony's flash to be exposed as MTD devices via the physmap_of driver. Specifically it: - Makes a small addition to the device tree and zImage wrapper to record the correct address for the flash in the device tree based on the board switches as reported via an FPGA register. - Prohibits building the old hard-coded "Ebony" flash map on arch/powerpc kernels, in favour of using physmap_of's device tree based approach. - Enables MTD and physmap_of in the Ebony defconfig. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/boot/dts/ebony.dts1
-rw-r--r--arch/powerpc/boot/ebony.c39
-rw-r--r--arch/powerpc/configs/ebony_defconfig246
-rw-r--r--drivers/mtd/maps/Kconfig2
4 files changed, 162 insertions, 126 deletions
diff --git a/arch/powerpc/boot/dts/ebony.dts b/arch/powerpc/boot/dts/ebony.dts
index c5f99613fc7b..27a1463b6ab0 100644
--- a/arch/powerpc/boot/dts/ebony.dts
+++ b/arch/powerpc/boot/dts/ebony.dts
@@ -175,6 +175,7 @@
175 fpga@7,0 { 175 fpga@7,0 {
176 compatible = "Ebony-FPGA"; 176 compatible = "Ebony-FPGA";
177 reg = <7 0 10>; 177 reg = <7 0 10>;
178 virtual-reg = <e8300000>;
178 }; 179 };
179 }; 180 };
180 181
diff --git a/arch/powerpc/boot/ebony.c b/arch/powerpc/boot/ebony.c
index 75daedafd0a4..eaf0b9bb68d6 100644
--- a/arch/powerpc/boot/ebony.c
+++ b/arch/powerpc/boot/ebony.c
@@ -24,6 +24,7 @@
24#include "page.h" 24#include "page.h"
25#include "ops.h" 25#include "ops.h"
26#include "reg.h" 26#include "reg.h"
27#include "io.h"
27#include "dcr.h" 28#include "dcr.h"
28#include "44x.h" 29#include "44x.h"
29 30
@@ -92,6 +93,43 @@ void ibm440gp_fixup_clocks(unsigned int sysclk, unsigned int ser_clk)
92 dt_fixup_clock("/plb/opb/serial@40000300", uart1); 93 dt_fixup_clock("/plb/opb/serial@40000300", uart1);
93} 94}
94 95
96#define EBONY_FPGA_PATH "/plb/opb/ebc/fpga"
97#define EBONY_FPGA_FLASH_SEL 0x01
98#define EBONY_SMALL_FLASH_PATH "/plb/opb/ebc/small-flash"
99
100static void ebony_flashsel_fixup(void)
101{
102 void *devp;
103 u32 reg[3] = {0x0, 0x0, 0x80000};
104 u8 *fpga;
105 u8 fpga_reg0 = 0x0;
106
107 devp = finddevice(EBONY_FPGA_PATH);
108 if (!devp)
109 fatal("Couldn't locate FPGA node %s\n\r", EBONY_FPGA_PATH);
110
111 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga))
112 fatal("%s has missing or invalid virtual-reg property\n\r",
113 EBONY_FPGA_PATH);
114
115 fpga_reg0 = in_8(fpga);
116
117 devp = finddevice(EBONY_SMALL_FLASH_PATH);
118 if (!devp)
119 fatal("Couldn't locate small flash node %s\n\r",
120 EBONY_SMALL_FLASH_PATH);
121
122 if (getprop(devp, "reg", reg, sizeof(reg)) != sizeof(reg))
123 fatal("%s has reg property of unexpected size\n\r",
124 EBONY_SMALL_FLASH_PATH);
125
126 /* Invert address bit 14 (IBM-endian) if FLASH_SEL fpga bit is set */
127 if (fpga_reg0 & EBONY_FPGA_FLASH_SEL)
128 reg[1] ^= 0x80000;
129
130 setprop(devp, "reg", reg, sizeof(reg));
131}
132
95static void ebony_fixups(void) 133static void ebony_fixups(void)
96{ 134{
97 // FIXME: sysclk should be derived by reading the FPGA registers 135 // FIXME: sysclk should be derived by reading the FPGA registers
@@ -101,6 +139,7 @@ static void ebony_fixups(void)
101 ibm44x_fixup_memsize(); 139 ibm44x_fixup_memsize();
102 dt_fixup_mac_addresses(ebony_mac0, ebony_mac1); 140 dt_fixup_mac_addresses(ebony_mac0, ebony_mac1);
103 ibm4xx_fixup_ebc_ranges("/plb/opb/ebc"); 141 ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
142 ebony_flashsel_fixup();
104} 143}
105 144
106void ebony_init(void *mac0, void *mac1) 145void ebony_init(void *mac0, void *mac1)
diff --git a/arch/powerpc/configs/ebony_defconfig b/arch/powerpc/configs/ebony_defconfig
index 5762cddfc148..d8dc7e63aab5 100644
--- a/arch/powerpc/configs/ebony_defconfig
+++ b/arch/powerpc/configs/ebony_defconfig
@@ -1,9 +1,25 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.22-rc6 3# Linux kernel version: 2.6.23-rc1-powerpc-ebony-mtd
4# Tue Jun 26 12:38:33 2007 4# Mon Jul 30 15:47:59 2007
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7
8#
9# Processor support
10#
11# CONFIG_6xx is not set
12# CONFIG_PPC_85xx is not set
13# CONFIG_PPC_8xx is not set
14# CONFIG_40x is not set
15CONFIG_44x=y
16# CONFIG_E200 is not set
17CONFIG_4xx=y
18CONFIG_BOOKE=y
19CONFIG_PTE_64BIT=y
20CONFIG_PHYS_64BIT=y
21# CONFIG_PPC_MM_SLICES is not set
22CONFIG_NOT_COHERENT_CACHE=y
7CONFIG_PPC32=y 23CONFIG_PPC32=y
8CONFIG_PPC_MERGE=y 24CONFIG_PPC_MERGE=y
9CONFIG_MMU=y 25CONFIG_MMU=y
@@ -14,39 +30,22 @@ CONFIG_ARCH_HAS_ILOG2_U32=y
14CONFIG_GENERIC_HWEIGHT=y 30CONFIG_GENERIC_HWEIGHT=y
15CONFIG_GENERIC_CALIBRATE_DELAY=y 31CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_FIND_NEXT_BIT=y 32CONFIG_GENERIC_FIND_NEXT_BIT=y
33# CONFIG_ARCH_NO_VIRT_TO_BUS is not set
17CONFIG_PPC=y 34CONFIG_PPC=y
18CONFIG_EARLY_PRINTK=y 35CONFIG_EARLY_PRINTK=y
19CONFIG_GENERIC_NVRAM=y 36CONFIG_GENERIC_NVRAM=y
20CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y 37CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
21CONFIG_ARCH_MAY_HAVE_PC_FDC=y 38CONFIG_ARCH_MAY_HAVE_PC_FDC=y
22CONFIG_PPC_OF=y 39CONFIG_PPC_OF=y
40CONFIG_OF=y
23# CONFIG_PPC_UDBG_16550 is not set 41# CONFIG_PPC_UDBG_16550 is not set
24# CONFIG_GENERIC_TBSYNC is not set 42# CONFIG_GENERIC_TBSYNC is not set
25CONFIG_AUDIT_ARCH=y 43CONFIG_AUDIT_ARCH=y
26CONFIG_GENERIC_BUG=y 44CONFIG_GENERIC_BUG=y
27# CONFIG_DEFAULT_UIMAGE is not set 45# CONFIG_DEFAULT_UIMAGE is not set
28
29#
30# Processor support
31#
32# CONFIG_CLASSIC32 is not set
33# CONFIG_PPC_82xx is not set
34# CONFIG_PPC_83xx is not set
35# CONFIG_PPC_85xx is not set
36# CONFIG_PPC_86xx is not set
37# CONFIG_PPC_8xx is not set
38# CONFIG_40x is not set
39CONFIG_44x=y
40# CONFIG_E200 is not set
41CONFIG_PPC_DCR_NATIVE=y 46CONFIG_PPC_DCR_NATIVE=y
42# CONFIG_PPC_DCR_MMIO is not set 47# CONFIG_PPC_DCR_MMIO is not set
43CONFIG_PPC_DCR=y 48CONFIG_PPC_DCR=y
44CONFIG_4xx=y
45CONFIG_BOOKE=y
46CONFIG_PTE_64BIT=y
47CONFIG_PHYS_64BIT=y
48# CONFIG_PPC_MM_SLICES is not set
49CONFIG_NOT_COHERENT_CACHE=y
50CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 49CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
51 50
52# 51#
@@ -63,12 +62,11 @@ CONFIG_LOCALVERSION=""
63CONFIG_LOCALVERSION_AUTO=y 62CONFIG_LOCALVERSION_AUTO=y
64CONFIG_SWAP=y 63CONFIG_SWAP=y
65CONFIG_SYSVIPC=y 64CONFIG_SYSVIPC=y
66# CONFIG_IPC_NS is not set
67CONFIG_SYSVIPC_SYSCTL=y 65CONFIG_SYSVIPC_SYSCTL=y
68CONFIG_POSIX_MQUEUE=y 66CONFIG_POSIX_MQUEUE=y
69# CONFIG_BSD_PROCESS_ACCT is not set 67# CONFIG_BSD_PROCESS_ACCT is not set
70# CONFIG_TASKSTATS is not set 68# CONFIG_TASKSTATS is not set
71# CONFIG_UTS_NS is not set 69# CONFIG_USER_NS is not set
72# CONFIG_AUDIT is not set 70# CONFIG_AUDIT is not set
73# CONFIG_IKCONFIG is not set 71# CONFIG_IKCONFIG is not set
74CONFIG_LOG_BUF_SHIFT=14 72CONFIG_LOG_BUF_SHIFT=14
@@ -102,24 +100,17 @@ CONFIG_SLAB=y
102CONFIG_RT_MUTEXES=y 100CONFIG_RT_MUTEXES=y
103# CONFIG_TINY_SHMEM is not set 101# CONFIG_TINY_SHMEM is not set
104CONFIG_BASE_SMALL=0 102CONFIG_BASE_SMALL=0
105
106#
107# Loadable module support
108#
109CONFIG_MODULES=y 103CONFIG_MODULES=y
110CONFIG_MODULE_UNLOAD=y 104CONFIG_MODULE_UNLOAD=y
111# CONFIG_MODULE_FORCE_UNLOAD is not set 105# CONFIG_MODULE_FORCE_UNLOAD is not set
112# CONFIG_MODVERSIONS is not set 106# CONFIG_MODVERSIONS is not set
113# CONFIG_MODULE_SRCVERSION_ALL is not set 107# CONFIG_MODULE_SRCVERSION_ALL is not set
114CONFIG_KMOD=y 108CONFIG_KMOD=y
115
116#
117# Block layer
118#
119CONFIG_BLOCK=y 109CONFIG_BLOCK=y
120CONFIG_LBD=y 110CONFIG_LBD=y
121# CONFIG_BLK_DEV_IO_TRACE is not set 111# CONFIG_BLK_DEV_IO_TRACE is not set
122# CONFIG_LSF is not set 112# CONFIG_LSF is not set
113# CONFIG_BLK_DEV_BSG is not set
123 114
124# 115#
125# IO Schedulers 116# IO Schedulers
@@ -184,6 +175,8 @@ CONFIG_FLAT_NODE_MEM_MAP=y
184CONFIG_SPLIT_PTLOCK_CPUS=4 175CONFIG_SPLIT_PTLOCK_CPUS=4
185CONFIG_RESOURCES_64BIT=y 176CONFIG_RESOURCES_64BIT=y
186CONFIG_ZONE_DMA_FLAG=1 177CONFIG_ZONE_DMA_FLAG=1
178CONFIG_BOUNCE=y
179CONFIG_VIRT_TO_BUS=y
187CONFIG_PROC_DEVICETREE=y 180CONFIG_PROC_DEVICETREE=y
188# CONFIG_CMDLINE_BOOL is not set 181# CONFIG_CMDLINE_BOOL is not set
189CONFIG_SECCOMP=y 182CONFIG_SECCOMP=y
@@ -196,9 +189,9 @@ CONFIG_ISA_DMA_API=y
196# 189#
197CONFIG_ZONE_DMA=y 190CONFIG_ZONE_DMA=y
198CONFIG_PPC_INDIRECT_PCI=y 191CONFIG_PPC_INDIRECT_PCI=y
199# CONFIG_PPC_INDIRECT_PCI_BE is not set
200CONFIG_PCI=y 192CONFIG_PCI=y
201CONFIG_PCI_DOMAINS=y 193CONFIG_PCI_DOMAINS=y
194CONFIG_PCI_SYSCALL=y
202# CONFIG_PCIEPORTBUS is not set 195# CONFIG_PCIEPORTBUS is not set
203CONFIG_ARCH_SUPPORTS_MSI=y 196CONFIG_ARCH_SUPPORTS_MSI=y
204# CONFIG_PCI_MSI is not set 197# CONFIG_PCI_MSI is not set
@@ -306,6 +299,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
306# CONFIG_MAC80211 is not set 299# CONFIG_MAC80211 is not set
307# CONFIG_IEEE80211 is not set 300# CONFIG_IEEE80211 is not set
308# CONFIG_RFKILL is not set 301# CONFIG_RFKILL is not set
302# CONFIG_NET_9P is not set
309 303
310# 304#
311# Device Drivers 305# Device Drivers
@@ -320,27 +314,85 @@ CONFIG_FW_LOADER=y
320# CONFIG_DEBUG_DRIVER is not set 314# CONFIG_DEBUG_DRIVER is not set
321# CONFIG_DEBUG_DEVRES is not set 315# CONFIG_DEBUG_DEVRES is not set
322# CONFIG_SYS_HYPERVISOR is not set 316# CONFIG_SYS_HYPERVISOR is not set
317CONFIG_CONNECTOR=y
318CONFIG_PROC_EVENTS=y
319CONFIG_MTD=y
320# CONFIG_MTD_DEBUG is not set
321# CONFIG_MTD_CONCAT is not set
322CONFIG_MTD_PARTITIONS=y
323# CONFIG_MTD_REDBOOT_PARTS is not set
324# CONFIG_MTD_CMDLINE_PARTS is not set
323 325
324# 326#
325# Connector - unified userspace <-> kernelspace linker 327# User Modules And Translation Layers
326# 328#
327CONFIG_CONNECTOR=y 329CONFIG_MTD_CHAR=y
328CONFIG_PROC_EVENTS=y 330CONFIG_MTD_BLKDEVS=y
329# CONFIG_MTD is not set 331CONFIG_MTD_BLOCK=y
332# CONFIG_FTL is not set
333# CONFIG_NFTL is not set
334# CONFIG_INFTL is not set
335# CONFIG_RFD_FTL is not set
336# CONFIG_SSFDC is not set
330 337
331# 338#
332# Parallel port support 339# RAM/ROM/Flash chip drivers
333# 340#
334# CONFIG_PARPORT is not set 341CONFIG_MTD_CFI=y
342CONFIG_MTD_JEDECPROBE=y
343CONFIG_MTD_GEN_PROBE=y
344# CONFIG_MTD_CFI_ADV_OPTIONS is not set
345CONFIG_MTD_MAP_BANK_WIDTH_1=y
346CONFIG_MTD_MAP_BANK_WIDTH_2=y
347CONFIG_MTD_MAP_BANK_WIDTH_4=y
348# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
349# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
350# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
351CONFIG_MTD_CFI_I1=y
352CONFIG_MTD_CFI_I2=y
353# CONFIG_MTD_CFI_I4 is not set
354# CONFIG_MTD_CFI_I8 is not set
355# CONFIG_MTD_CFI_INTELEXT is not set
356CONFIG_MTD_CFI_AMDSTD=y
357# CONFIG_MTD_CFI_STAA is not set
358CONFIG_MTD_CFI_UTIL=y
359# CONFIG_MTD_RAM is not set
360# CONFIG_MTD_ROM is not set
361# CONFIG_MTD_ABSENT is not set
362
363#
364# Mapping drivers for chip access
365#
366# CONFIG_MTD_COMPLEX_MAPPINGS is not set
367# CONFIG_MTD_PHYSMAP is not set
368CONFIG_MTD_PHYSMAP_OF=y
369# CONFIG_MTD_PLATRAM is not set
370
371#
372# Self-contained MTD device drivers
373#
374# CONFIG_MTD_PMC551 is not set
375# CONFIG_MTD_SLRAM is not set
376# CONFIG_MTD_PHRAM is not set
377# CONFIG_MTD_MTDRAM is not set
378# CONFIG_MTD_BLOCK2MTD is not set
335 379
336# 380#
337# Plug and Play support 381# Disk-On-Chip Device Drivers
338# 382#
339# CONFIG_PNPACPI is not set 383# CONFIG_MTD_DOC2000 is not set
384# CONFIG_MTD_DOC2001 is not set
385# CONFIG_MTD_DOC2001PLUS is not set
386# CONFIG_MTD_NAND is not set
387# CONFIG_MTD_ONENAND is not set
340 388
341# 389#
342# Block devices 390# UBI - Unsorted block images
343# 391#
392# CONFIG_MTD_UBI is not set
393CONFIG_OF_DEVICE=y
394# CONFIG_PARPORT is not set
395CONFIG_BLK_DEV=y
344# CONFIG_BLK_DEV_FD is not set 396# CONFIG_BLK_DEV_FD is not set
345# CONFIG_BLK_CPQ_DA is not set 397# CONFIG_BLK_CPQ_DA is not set
346# CONFIG_BLK_CPQ_CISS_DA is not set 398# CONFIG_BLK_CPQ_CISS_DA is not set
@@ -356,14 +408,12 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
356CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 408CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
357# CONFIG_CDROM_PKTCDVD is not set 409# CONFIG_CDROM_PKTCDVD is not set
358# CONFIG_ATA_OVER_ETH is not set 410# CONFIG_ATA_OVER_ETH is not set
359 411# CONFIG_XILINX_SYSACE is not set
360# 412CONFIG_MISC_DEVICES=y
361# Misc devices
362#
363# CONFIG_PHANTOM is not set 413# CONFIG_PHANTOM is not set
414# CONFIG_EEPROM_93CX6 is not set
364# CONFIG_SGI_IOC4 is not set 415# CONFIG_SGI_IOC4 is not set
365# CONFIG_TIFM_CORE is not set 416# CONFIG_TIFM_CORE is not set
366# CONFIG_BLINK is not set
367# CONFIG_IDE is not set 417# CONFIG_IDE is not set
368 418
369# 419#
@@ -371,12 +421,9 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
371# 421#
372# CONFIG_RAID_ATTRS is not set 422# CONFIG_RAID_ATTRS is not set
373# CONFIG_SCSI is not set 423# CONFIG_SCSI is not set
424# CONFIG_SCSI_DMA is not set
374# CONFIG_SCSI_NETLINK is not set 425# CONFIG_SCSI_NETLINK is not set
375# CONFIG_ATA is not set 426# CONFIG_ATA is not set
376
377#
378# Multi-device support (RAID and LVM)
379#
380# CONFIG_MD is not set 427# CONFIG_MD is not set
381 428
382# 429#
@@ -389,35 +436,17 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
389# 436#
390# CONFIG_FIREWIRE is not set 437# CONFIG_FIREWIRE is not set
391# CONFIG_IEEE1394 is not set 438# CONFIG_IEEE1394 is not set
392
393#
394# I2O device support
395#
396# CONFIG_I2O is not set 439# CONFIG_I2O is not set
397# CONFIG_MACINTOSH_DRIVERS is not set 440# CONFIG_MACINTOSH_DRIVERS is not set
398
399#
400# Network device support
401#
402CONFIG_NETDEVICES=y 441CONFIG_NETDEVICES=y
442# CONFIG_NETDEVICES_MULTIQUEUE is not set
403# CONFIG_DUMMY is not set 443# CONFIG_DUMMY is not set
404# CONFIG_BONDING is not set 444# CONFIG_BONDING is not set
445# CONFIG_MACVLAN is not set
405# CONFIG_EQUALIZER is not set 446# CONFIG_EQUALIZER is not set
406# CONFIG_TUN is not set 447# CONFIG_TUN is not set
407# CONFIG_ARCNET is not set 448# CONFIG_ARCNET is not set
408
409#
410# Ethernet (10 or 100Mbit)
411#
412# CONFIG_NET_ETHERNET is not set 449# CONFIG_NET_ETHERNET is not set
413CONFIG_IBM_EMAC=y
414CONFIG_IBM_EMAC_RXB=128
415CONFIG_IBM_EMAC_TXB=64
416CONFIG_IBM_EMAC_POLL_WEIGHT=32
417CONFIG_IBM_EMAC_RX_COPY_THRESHOLD=256
418CONFIG_IBM_EMAC_RX_SKB_HEADROOM=0
419# CONFIG_IBM_EMAC_DEBUG is not set
420CONFIG_IBM_EMAC_ZMII=y
421CONFIG_NETDEV_1000=y 450CONFIG_NETDEV_1000=y
422# CONFIG_ACENIC is not set 451# CONFIG_ACENIC is not set
423# CONFIG_DL2K is not set 452# CONFIG_DL2K is not set
@@ -429,7 +458,6 @@ CONFIG_NETDEV_1000=y
429# CONFIG_SIS190 is not set 458# CONFIG_SIS190 is not set
430# CONFIG_SKGE is not set 459# CONFIG_SKGE is not set
431# CONFIG_SKY2 is not set 460# CONFIG_SKY2 is not set
432# CONFIG_SK98LIN is not set
433# CONFIG_VIA_VELOCITY is not set 461# CONFIG_VIA_VELOCITY is not set
434# CONFIG_TIGON3 is not set 462# CONFIG_TIGON3 is not set
435# CONFIG_BNX2 is not set 463# CONFIG_BNX2 is not set
@@ -459,15 +487,7 @@ CONFIG_NETDEV_10000=y
459# CONFIG_NETCONSOLE is not set 487# CONFIG_NETCONSOLE is not set
460# CONFIG_NETPOLL is not set 488# CONFIG_NETPOLL is not set
461# CONFIG_NET_POLL_CONTROLLER is not set 489# CONFIG_NET_POLL_CONTROLLER is not set
462
463#
464# ISDN subsystem
465#
466# CONFIG_ISDN is not set 490# CONFIG_ISDN is not set
467
468#
469# Telephony Support
470#
471# CONFIG_PHONE is not set 491# CONFIG_PHONE is not set
472 492
473# 493#
@@ -512,10 +532,6 @@ CONFIG_SERIAL_OF_PLATFORM=y
512CONFIG_UNIX98_PTYS=y 532CONFIG_UNIX98_PTYS=y
513CONFIG_LEGACY_PTYS=y 533CONFIG_LEGACY_PTYS=y
514CONFIG_LEGACY_PTY_COUNT=256 534CONFIG_LEGACY_PTY_COUNT=256
515
516#
517# IPMI
518#
519# CONFIG_IPMI_HANDLER is not set 535# CONFIG_IPMI_HANDLER is not set
520# CONFIG_WATCHDOG is not set 536# CONFIG_WATCHDOG is not set
521# CONFIG_HW_RANDOM is not set 537# CONFIG_HW_RANDOM is not set
@@ -526,10 +542,6 @@ CONFIG_LEGACY_PTY_COUNT=256
526# CONFIG_AGP is not set 542# CONFIG_AGP is not set
527# CONFIG_DRM is not set 543# CONFIG_DRM is not set
528# CONFIG_RAW_DRIVER is not set 544# CONFIG_RAW_DRIVER is not set
529
530#
531# TPM devices
532#
533# CONFIG_TCG_TPM is not set 545# CONFIG_TCG_TPM is not set
534CONFIG_DEVPORT=y 546CONFIG_DEVPORT=y
535# CONFIG_I2C is not set 547# CONFIG_I2C is not set
@@ -539,11 +551,8 @@ CONFIG_DEVPORT=y
539# 551#
540# CONFIG_SPI is not set 552# CONFIG_SPI is not set
541# CONFIG_SPI_MASTER is not set 553# CONFIG_SPI_MASTER is not set
542
543#
544# Dallas's 1-wire bus
545#
546# CONFIG_W1 is not set 554# CONFIG_W1 is not set
555# CONFIG_POWER_SUPPLY is not set
547# CONFIG_HWMON is not set 556# CONFIG_HWMON is not set
548 557
549# 558#
@@ -568,6 +577,7 @@ CONFIG_DEVPORT=y
568# 577#
569# CONFIG_DISPLAY_SUPPORT is not set 578# CONFIG_DISPLAY_SUPPORT is not set
570# CONFIG_VGASTATE is not set 579# CONFIG_VGASTATE is not set
580# CONFIG_VIDEO_OUTPUT_CONTROL is not set
571# CONFIG_FB is not set 581# CONFIG_FB is not set
572# CONFIG_FB_IBM_GXT4500 is not set 582# CONFIG_FB_IBM_GXT4500 is not set
573 583
@@ -575,10 +585,7 @@ CONFIG_DEVPORT=y
575# Sound 585# Sound
576# 586#
577# CONFIG_SOUND is not set 587# CONFIG_SOUND is not set
578 588CONFIG_USB_SUPPORT=y
579#
580# USB support
581#
582CONFIG_USB_ARCH_HAS_HCD=y 589CONFIG_USB_ARCH_HAS_HCD=y
583CONFIG_USB_ARCH_HAS_OHCI=y 590CONFIG_USB_ARCH_HAS_OHCI=y
584CONFIG_USB_ARCH_HAS_EHCI=y 591CONFIG_USB_ARCH_HAS_EHCI=y
@@ -593,28 +600,9 @@ CONFIG_USB_ARCH_HAS_EHCI=y
593# 600#
594# CONFIG_USB_GADGET is not set 601# CONFIG_USB_GADGET is not set
595# CONFIG_MMC is not set 602# CONFIG_MMC is not set
596
597#
598# LED devices
599#
600# CONFIG_NEW_LEDS is not set 603# CONFIG_NEW_LEDS is not set
601
602#
603# LED drivers
604#
605
606#
607# LED Triggers
608#
609
610#
611# InfiniBand support
612#
613# CONFIG_INFINIBAND is not set 604# CONFIG_INFINIBAND is not set
614 605# CONFIG_EDAC is not set
615#
616# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
617#
618 606
619# 607#
620# Real Time Clock 608# Real Time Clock
@@ -635,6 +623,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
635# 623#
636 624
637# 625#
626# Userspace I/O
627#
628# CONFIG_UIO is not set
629
630#
638# File systems 631# File systems
639# 632#
640CONFIG_EXT2_FS=y 633CONFIG_EXT2_FS=y
@@ -694,6 +687,15 @@ CONFIG_RAMFS=y
694# CONFIG_BEFS_FS is not set 687# CONFIG_BEFS_FS is not set
695# CONFIG_BFS_FS is not set 688# CONFIG_BFS_FS is not set
696# CONFIG_EFS_FS is not set 689# CONFIG_EFS_FS is not set
690CONFIG_JFFS2_FS=y
691CONFIG_JFFS2_FS_DEBUG=0
692CONFIG_JFFS2_FS_WRITEBUFFER=y
693# CONFIG_JFFS2_SUMMARY is not set
694# CONFIG_JFFS2_FS_XATTR is not set
695# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
696CONFIG_JFFS2_ZLIB=y
697CONFIG_JFFS2_RTIME=y
698# CONFIG_JFFS2_RUBIN is not set
697CONFIG_CRAMFS=y 699CONFIG_CRAMFS=y
698# CONFIG_VXFS_FS is not set 700# CONFIG_VXFS_FS is not set
699# CONFIG_HPFS_FS is not set 701# CONFIG_HPFS_FS is not set
@@ -723,7 +725,6 @@ CONFIG_SUNRPC=y
723# CONFIG_NCP_FS is not set 725# CONFIG_NCP_FS is not set
724# CONFIG_CODA_FS is not set 726# CONFIG_CODA_FS is not set
725# CONFIG_AFS_FS is not set 727# CONFIG_AFS_FS is not set
726# CONFIG_9P_FS is not set
727 728
728# 729#
729# Partition Types 730# Partition Types
@@ -750,8 +751,10 @@ CONFIG_BITREVERSE=y
750# CONFIG_CRC16 is not set 751# CONFIG_CRC16 is not set
751# CONFIG_CRC_ITU_T is not set 752# CONFIG_CRC_ITU_T is not set
752CONFIG_CRC32=y 753CONFIG_CRC32=y
754# CONFIG_CRC7 is not set
753# CONFIG_LIBCRC32C is not set 755# CONFIG_LIBCRC32C is not set
754CONFIG_ZLIB_INFLATE=y 756CONFIG_ZLIB_INFLATE=y
757CONFIG_ZLIB_DEFLATE=y
755CONFIG_PLIST=y 758CONFIG_PLIST=y
756CONFIG_HAS_IOMEM=y 759CONFIG_HAS_IOMEM=y
757CONFIG_HAS_IOPORT=y 760CONFIG_HAS_IOPORT=y
@@ -774,6 +777,7 @@ CONFIG_MAGIC_SYSRQ=y
774CONFIG_DEBUG_KERNEL=y 777CONFIG_DEBUG_KERNEL=y
775# CONFIG_DEBUG_SHIRQ is not set 778# CONFIG_DEBUG_SHIRQ is not set
776CONFIG_DETECT_SOFTLOCKUP=y 779CONFIG_DETECT_SOFTLOCKUP=y
780CONFIG_SCHED_DEBUG=y
777# CONFIG_SCHEDSTATS is not set 781# CONFIG_SCHEDSTATS is not set
778# CONFIG_TIMER_STATS is not set 782# CONFIG_TIMER_STATS is not set
779# CONFIG_DEBUG_SLAB is not set 783# CONFIG_DEBUG_SLAB is not set
@@ -796,7 +800,6 @@ CONFIG_FORCED_INLINING=y
796# CONFIG_DEBUG_PAGEALLOC is not set 800# CONFIG_DEBUG_PAGEALLOC is not set
797# CONFIG_DEBUGGER is not set 801# CONFIG_DEBUGGER is not set
798# CONFIG_BDI_SWITCH is not set 802# CONFIG_BDI_SWITCH is not set
799# CONFIG_BOOTX_TEXT is not set
800# CONFIG_PPC_EARLY_DEBUG is not set 803# CONFIG_PPC_EARLY_DEBUG is not set
801 804
802# 805#
@@ -804,10 +807,6 @@ CONFIG_FORCED_INLINING=y
804# 807#
805# CONFIG_KEYS is not set 808# CONFIG_KEYS is not set
806# CONFIG_SECURITY is not set 809# CONFIG_SECURITY is not set
807
808#
809# Cryptographic options
810#
811CONFIG_CRYPTO=y 810CONFIG_CRYPTO=y
812CONFIG_CRYPTO_ALGAPI=y 811CONFIG_CRYPTO_ALGAPI=y
813CONFIG_CRYPTO_BLKCIPHER=y 812CONFIG_CRYPTO_BLKCIPHER=y
@@ -845,7 +844,4 @@ CONFIG_CRYPTO_DES=y
845# CONFIG_CRYPTO_CRC32C is not set 844# CONFIG_CRYPTO_CRC32C is not set
846# CONFIG_CRYPTO_CAMELLIA is not set 845# CONFIG_CRYPTO_CAMELLIA is not set
847# CONFIG_CRYPTO_TEST is not set 846# CONFIG_CRYPTO_TEST is not set
848 847CONFIG_CRYPTO_HW=y
849#
850# Hardware crypto devices
851#
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index cc6c73442435..6cd132c75187 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -362,7 +362,7 @@ config MTD_WALNUT
362 362
363config MTD_EBONY 363config MTD_EBONY
364 tristate "Flash devices mapped on IBM 440GP Ebony" 364 tristate "Flash devices mapped on IBM 440GP Ebony"
365 depends on MTD_JEDECPROBE && EBONY 365 depends on MTD_JEDECPROBE && EBONY && !PPC_MERGE
366 help 366 help
367 This enables access routines for the flash chips on the IBM 440GP 367 This enables access routines for the flash chips on the IBM 440GP
368 Ebony board. If you have one of these boards and would like to 368 Ebony board. If you have one of these boards and would like to