aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-09-14 14:54:14 -0400
committerJosh Boyer <jwboyer@gmail.com>2007-09-19 22:13:16 -0400
commit504ca43e5e681b8ed3837f11ea458eb145a82e4e (patch)
tree2b8d1087adfcdb2b2a29cffc438bd18328dde745
parentbf07f32d4332be50f5d4ef06307fb328257fcd1b (diff)
[POWERPC] 4xx: Convert Seqouia flash mappings to new binding
A new binding for flash devices was recently introduced. This updates the Sequoia DTS to use the new binding and enabled MTD in the defconfig. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Stefan Roese <sr@denx.de>
-rw-r--r--arch/powerpc/boot/dts/sequoia.dts38
-rw-r--r--arch/powerpc/configs/sequoia_defconfig91
2 files changed, 115 insertions, 14 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts
index af6a56b4e5b1..b236798ce812 100644
--- a/arch/powerpc/boot/dts/sequoia.dts
+++ b/arch/powerpc/boot/dts/sequoia.dts
@@ -142,19 +142,35 @@
142 interrupt-parent = <&UIC1>; 142 interrupt-parent = <&UIC1>;
143 143
144 nor_flash@0,0 { 144 nor_flash@0,0 {
145 device_type = "rom"; 145 compatible = "amd,s29gl256n", "cfi-flash";
146 compatible = "direct-mapped";
147 probe-type = "CFI";
148 bank-width = <2>; 146 bank-width = <2>;
149 partitions = < 0 180000
150 180000 200000
151 380000 3aa0000
152 3e20000 140000
153 3f60000 40000
154 3fa0000 60000>;
155 partition-names = "Kernel", "ramdisk", "file system",
156 "kozio", "env", "u-boot";
157 reg = <0 000000 4000000>; 147 reg = <0 000000 4000000>;
148 #address-cells = <1>;
149 #size-cells = <1>;
150 partition@0 {
151 label = "Kernel";
152 reg = <0 180000>;
153 };
154 partition@180000 {
155 label = "ramdisk";
156 reg = <180000 200000>;
157 };
158 partition@380000 {
159 label = "file system";
160 reg = <380000 3aa0000>;
161 };
162 partition@3e20000 {
163 label = "kozio";
164 reg = <3e20000 140000>;
165 };
166 partition@3f60000 {
167 label = "env";
168 reg = <3f60000 40000>;
169 };
170 partition@3fa0000 {
171 label = "u-boot";
172 reg = <3fa0000 60000>;
173 };
158 }; 174 };
159 175
160 }; 176 };
diff --git a/arch/powerpc/configs/sequoia_defconfig b/arch/powerpc/configs/sequoia_defconfig
index 58256625b5b8..bc7f5089a894 100644
--- a/arch/powerpc/configs/sequoia_defconfig
+++ b/arch/powerpc/configs/sequoia_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.23-rc3 3# Linux kernel version: 2.6.23-rc6
4# Mon Aug 27 20:19:13 2007 4# Fri Sep 14 13:20:06 2007
5# 5#
6# CONFIG_PPC64 is not set 6# CONFIG_PPC64 is not set
7 7
@@ -146,6 +146,7 @@ CONFIG_440A=y
146# CONFIG_GENERIC_IOMAP is not set 146# CONFIG_GENERIC_IOMAP is not set
147# CONFIG_CPU_FREQ is not set 147# CONFIG_CPU_FREQ is not set
148# CONFIG_CPM2 is not set 148# CONFIG_CPM2 is not set
149# CONFIG_FSL_ULI1575 is not set
149 150
150# 151#
151# Kernel options 152# Kernel options
@@ -317,7 +318,81 @@ CONFIG_FW_LOADER=y
317# CONFIG_SYS_HYPERVISOR is not set 318# CONFIG_SYS_HYPERVISOR is not set
318CONFIG_CONNECTOR=y 319CONFIG_CONNECTOR=y
319CONFIG_PROC_EVENTS=y 320CONFIG_PROC_EVENTS=y
320# CONFIG_MTD is not set 321CONFIG_MTD=y
322# CONFIG_MTD_DEBUG is not set
323# CONFIG_MTD_CONCAT is not set
324CONFIG_MTD_PARTITIONS=y
325# CONFIG_MTD_REDBOOT_PARTS is not set
326CONFIG_MTD_CMDLINE_PARTS=y
327
328#
329# User Modules And Translation Layers
330#
331CONFIG_MTD_CHAR=y
332# CONFIG_MTD_BLKDEVS is not set
333# CONFIG_MTD_BLOCK is not set
334# CONFIG_MTD_BLOCK_RO is not set
335# CONFIG_FTL is not set
336# CONFIG_NFTL is not set
337# CONFIG_INFTL is not set
338# CONFIG_RFD_FTL is not set
339# CONFIG_SSFDC is not set
340
341#
342# RAM/ROM/Flash chip drivers
343#
344CONFIG_MTD_CFI=y
345CONFIG_MTD_JEDECPROBE=y
346CONFIG_MTD_GEN_PROBE=y
347# CONFIG_MTD_CFI_ADV_OPTIONS is not set
348CONFIG_MTD_MAP_BANK_WIDTH_1=y
349CONFIG_MTD_MAP_BANK_WIDTH_2=y
350CONFIG_MTD_MAP_BANK_WIDTH_4=y
351# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
352# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
353# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
354CONFIG_MTD_CFI_I1=y
355CONFIG_MTD_CFI_I2=y
356# CONFIG_MTD_CFI_I4 is not set
357# CONFIG_MTD_CFI_I8 is not set
358CONFIG_MTD_CFI_INTELEXT=y
359CONFIG_MTD_CFI_AMDSTD=y
360# CONFIG_MTD_CFI_STAA is not set
361CONFIG_MTD_CFI_UTIL=y
362# CONFIG_MTD_RAM is not set
363# CONFIG_MTD_ROM is not set
364# CONFIG_MTD_ABSENT is not set
365
366#
367# Mapping drivers for chip access
368#
369# CONFIG_MTD_COMPLEX_MAPPINGS is not set
370# CONFIG_MTD_PHYSMAP is not set
371CONFIG_MTD_PHYSMAP_OF=y
372# CONFIG_MTD_PLATRAM is not set
373
374#
375# Self-contained MTD device drivers
376#
377# CONFIG_MTD_PMC551 is not set
378# CONFIG_MTD_SLRAM is not set
379# CONFIG_MTD_PHRAM is not set
380# CONFIG_MTD_MTDRAM is not set
381# CONFIG_MTD_BLOCK2MTD is not set
382
383#
384# Disk-On-Chip Device Drivers
385#
386# CONFIG_MTD_DOC2000 is not set
387# CONFIG_MTD_DOC2001 is not set
388# CONFIG_MTD_DOC2001PLUS is not set
389# CONFIG_MTD_NAND is not set
390# CONFIG_MTD_ONENAND is not set
391
392#
393# UBI - Unsorted block images
394#
395# CONFIG_MTD_UBI is not set
321CONFIG_OF_DEVICE=y 396CONFIG_OF_DEVICE=y
322# CONFIG_PARPORT is not set 397# CONFIG_PARPORT is not set
323CONFIG_BLK_DEV=y 398CONFIG_BLK_DEV=y
@@ -613,6 +688,15 @@ CONFIG_RAMFS=y
613# CONFIG_BEFS_FS is not set 688# CONFIG_BEFS_FS is not set
614# CONFIG_BFS_FS is not set 689# CONFIG_BFS_FS is not set
615# CONFIG_EFS_FS is not set 690# CONFIG_EFS_FS is not set
691CONFIG_JFFS2_FS=y
692CONFIG_JFFS2_FS_DEBUG=0
693CONFIG_JFFS2_FS_WRITEBUFFER=y
694# CONFIG_JFFS2_SUMMARY is not set
695# CONFIG_JFFS2_FS_XATTR is not set
696# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
697CONFIG_JFFS2_ZLIB=y
698CONFIG_JFFS2_RTIME=y
699# CONFIG_JFFS2_RUBIN is not set
616CONFIG_CRAMFS=y 700CONFIG_CRAMFS=y
617# CONFIG_VXFS_FS is not set 701# CONFIG_VXFS_FS is not set
618# CONFIG_HPFS_FS is not set 702# CONFIG_HPFS_FS is not set
@@ -671,6 +755,7 @@ CONFIG_CRC32=y
671# CONFIG_CRC7 is not set 755# CONFIG_CRC7 is not set
672# CONFIG_LIBCRC32C is not set 756# CONFIG_LIBCRC32C is not set
673CONFIG_ZLIB_INFLATE=y 757CONFIG_ZLIB_INFLATE=y
758CONFIG_ZLIB_DEFLATE=y
674CONFIG_PLIST=y 759CONFIG_PLIST=y
675CONFIG_HAS_IOMEM=y 760CONFIG_HAS_IOMEM=y
676CONFIG_HAS_IOPORT=y 761CONFIG_HAS_IOPORT=y