Skip to contentSkip to conversation

Mapping drivers - update for PowerPC

PATCH Gary Thomas 1 participant 1 message Aug 28, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

The PowerPC tree(s) are quite out of sync with the current MTD tree, at least as far as mapping drivers are concerned.

I'd like to propose these changes to bring them closer together. I'll commit the changes if you approve.

Thanks.

Signature · 8 lines
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <[email protected]>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------

Index: drivers/mtd/maps/Config.in
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/Config.in,v retrieving revision 1.54

mtd/maps/Config.in +14 -3
diff -u -5 -p -r1.54 Config.in
@@ -38,22 +38,33 @@ if [ "$CONFIG_X86" = "y" ]; then
    dep_tristate '  CFI Flash device mapped on SnapGear/SecureEdge' CONFIG_MTD_NETtel $CONFIG_MTD_PARTITIONS
    dep_tristate '  BIOS flash chip on Intel SCB2 boards' CONFIG_MTD_SCB2_FLASH $CONFIG_MTD_GEN_PROBE
 fi
 
 if [ "$CONFIG_PPC32" = "y" ]; then
+  if [ "$CONFIG_6xx" = "y" -a "$CONFIG_8260" = "n" ]; then
+     dep_tristate '  CFI Flash device mapped on Momentum PUMA-A (PPC 750FX)' CONFIG_MTD_PUMA_A $CONFIG_MTD_CFI $CONFIG_PUMA_A
+#    dep_tristate '  CFI Flash device mapped on Motorola MVP' CONFIG_MTD_MOT_MVP $CONFIG_MTD_CFI $CONFIG_MOT_MVP
+     dep_tristate '  CFI Flash devices mapped on Motorola Computer Group HXEB100' CONFIG_MTD_HXEB100 $CONFIG_HXEB100 $CONFIG_MTD_CFI
+     if [ "$CONFIG_MTD_HXEB100" = "y" -o "$CONFIG_MTD_HXEB100" = "m" ]; then
+        bool '    Map bootflash (Bank B) (Dangerous)' CONFIG_MTD_HXEB100_BANK_B_FLASH
+     fi
+     dep_tristate '  CFI Flash device mapped on Force Computers PPMC260 board' CONFIG_MTD_PPMC260 $CONFIG_PPMC260 $CONFIG_MTD_CFI
+  fi
+  if [ "$CONFIG_6xx" = "y" -a "$CONFIG_8260" = "y" ]; then
+    dep_tristate '  CFI Flash device mapped on A&M Rattler' CONFIG_MTD_AM8XX $CONFIG_MTD_CFI $CONFIG_AM_RATTLER
+  fi
   if [ "$CONFIG_8xx" = "y" ]; then
     if [ "$CONFIG_TQM8xxL" = "y" ]; then
       dep_tristate '  CFI Flash device mapped on TQM8XXL' CONFIG_MTD_TQM8XXL $CONFIG_MTD_CFI
     fi
     if [ "$CONFIG_RPXLITE" = "y" -o "$CONFIG_RPXCLASSIC" = "y" ]; then
       dep_tristate '  CFI Flash device mapped on RPX Lite or CLLF' CONFIG_MTD_RPXLITE $CONFIG_MTD_CFI
     fi
-    if [ "$CONFIG_MBX" = "y" ]; then
-      dep_tristate '  System flash on MBX860 board' CONFIG_MTD_MBX860 $CONFIG_MTD_CFI
-    fi
+    dep_tristate '  System flash on MBX860 board' CONFIG_MTD_MBX860 $CONFIG_MTD_CFI
     dep_tristate '  CFI Flash device mapped on D-Box2' CONFIG_MTD_DBOX2 $CONFIG_MTD_CFI
     dep_tristate '  CFI Flash device mapping on FlagaDM' CONFIG_MTD_CFI_FLAGADM $CONFIG_MTD_CFI
+    dep_tristate '  CFI Flash device mapped on A&M Adder-II' CONFIG_MTD_AM8XX $CONFIG_MTD_CFI $CONFIG_AM8XX
   fi
   if [ "$CONFIG_4xx" = "y" ]; then
     if [ "$CONFIG_40x" = "y" ]; then
       if [ "$CONFIG_REDWOOD_4" = "y" -o "$CONFIG_REDWOOD_5" = "y" -o "$CONFIG_REDWOOD_6" = "y" ]; then
         dep_tristate '  CFI Flash device mapped on IBM Redwood' CONFIG_MTD_REDWOOD $CONFIG_MTD_CFI

Index: drivers/mtd/maps/am8xx.c
===================================================================
RCS file: drivers/mtd/maps/am8xx.c

mtd/maps/am8xx.c new file +147 -0

147 lines not on this page · raw message

Index: drivers/mtd/maps/pumaA.c
===================================================================
RCS file: drivers/mtd/maps/pumaA.c

mtd/maps/pumaA.c new file +181 -0

181 lines not on this page · raw message