]> Pileus Git - ~andy/linux/commitdiff
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 13:36:25 +0000 (14:36 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 13:36:25 +0000 (14:36 +0100)
1  2 
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/redboot.c
include/linux/mtd/nand.h

index 6b9e423ec4746daaacdb328cfb20c03fde89d66c,0babb645b83c055ea1120706b2344c9c286d3ca2..247e8e7cebea252669e37616047c3a119eb0e9a0
@@@ -199,7 -199,7 +199,7 @@@ void __init at91_add_device_mmc(short m
   * -------------------------------------------------------------------- */
  
  #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE)
 -static struct at91_nand_data nand_data;
 +static struct atmel_nand_data nand_data;
  
  #define NAND_BASE     AT91_CHIPSELECT_3
  
@@@ -211,8 -211,8 +211,8 @@@ static struct resource nand_resources[
        }
  };
  
 -static struct platform_device at91_nand_device = {
 -      .name           = "at91_nand",
 +static struct platform_device atmel_nand_device = {
 +      .name           = "atmel_nand",
        .id             = -1,
        .dev            = {
                                .platform_data  = &nand_data,
        .num_resources  = ARRAY_SIZE(nand_resources),
  };
  
 -void __init at91_add_device_nand(struct at91_nand_data *data)
 +void __init at91_add_device_nand(struct atmel_nand_data *data)
  {
        unsigned long csa, mode;
  
        at91_set_A_periph(AT91_PIN_PC1, 0);             /* NANDWE */
  
        nand_data = *data;
 -      platform_device_register(&at91_nand_device);
 +      platform_device_register(&atmel_nand_device);
  }
  
  #else
 -void __init at91_add_device_nand(struct at91_nand_data *data) {}
 +void __init at91_add_device_nand(struct atmel_nand_data *data) {}
  #endif
  
  
@@@ -544,10 -544,10 +544,10 @@@ void __init at91_add_device_lcdc(struc
                struct resource *fb_res = &lcdc_resources[2];
                size_t fb_len = fb_res->end - fb_res->start + 1;
  
-               fb = ioremap_writecombine(fb_res->start, fb_len);
+               fb = ioremap(fb_res->start, fb_len);
                if (fb) {
                        memset(fb, 0, fb_len);
-                       iounmap(fb, fb_len);
+                       iounmap(fb);
                }
        }
        lcdc_data = *data;
index b21f3339326999cbb23bea140fda826f12311dea,450db304936ffea07453e4319d51fa7b5eb2244b..9945cd25d0ab5f5dc359b7ab47fe96dff6e70536
@@@ -100,7 -100,7 +100,7 @@@ void __init at91_add_device_mmc(short m
   * -------------------------------------------------------------------- */
  
  #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE)
 -static struct at91_nand_data nand_data;
 +static struct atmel_nand_data nand_data;
  
  #define NAND_BASE     AT91_CHIPSELECT_3
  
@@@ -117,8 -117,8 +117,8 @@@ static struct resource nand_resources[
        }
  };
  
 -static struct platform_device at91_nand_device = {
 -      .name           = "at91_nand",
 +static struct platform_device atmel_nand_device = {
 +      .name           = "atmel_nand",
        .id             = -1,
        .dev            = {
                                .platform_data  = &nand_data,
        .num_resources  = ARRAY_SIZE(nand_resources),
  };
  
 -void __init at91_add_device_nand(struct at91_nand_data *data)
 +void __init at91_add_device_nand(struct atmel_nand_data *data)
  {
        unsigned long csa;
  
        at91_set_A_periph(AT91_PIN_PB5, 0);             /* NANDWE */
  
        nand_data = *data;
 -      platform_device_register(&at91_nand_device);
 +      platform_device_register(&atmel_nand_device);
  }
  
  #else
 -void __init at91_add_device_nand(struct at91_nand_data *data) {}
 +void __init at91_add_device_nand(struct atmel_nand_data *data) {}
  #endif
  
  
@@@ -332,13 -332,6 +332,6 @@@ static struct resource lcdc_resources[
                .end    = AT91SAM9RL_ID_LCDC,
                .flags  = IORESOURCE_IRQ,
        },
- #if defined(CONFIG_FB_INTSRAM)
-       [2] = {
-               .start  = AT91SAM9RL_SRAM_BASE,
-               .end    = AT91SAM9RL_SRAM_BASE + AT91SAM9RL_SRAM_SIZE - 1,
-               .flags  = IORESOURCE_MEM,
-       },
- #endif
  };
  
  static struct platform_device at91_lcdc_device = {
@@@ -381,20 -374,6 +374,6 @@@ void __init at91_add_device_lcdc(struc
        at91_set_B_periph(AT91_PIN_PC24, 0);    /* LCDD22 */
        at91_set_B_periph(AT91_PIN_PC25, 0);    /* LCDD23 */
  
- #ifdef CONFIG_FB_INTSRAM
-       {
-               void __iomem *fb;
-               struct resource *fb_res = &lcdc_resources[2];
-               size_t fb_len = fb_res->end - fb_res->start + 1;
-               fb = ioremap_writecombine(fb_res->start, fb_len);
-               if (fb) {
-                       memset(fb, 0, fb_len);
-                       iounmap(fb, fb_len);
-               }
-       }
- #endif
        lcdc_data = *data;
        platform_device_register(&at91_lcdc_device);
  }
diff --combined drivers/mtd/maps/Kconfig
index 02c45e1e24eeb6de7ed7eb9d6e947d3e48faf7ea,17bc87a43ff415d151125673b1cda275c4d7b28d..d2d339a7598d8397dd3d67da1cedadd0aa7ff7b9
@@@ -1,4 -1,5 +1,4 @@@
  # drivers/mtd/maps/Kconfig
 -# $Id: Kconfig,v 1.61 2005/11/07 11:14:26 gleixner Exp $
  
  menu "Mapping drivers for chip access"
        depends on MTD!=n
@@@ -373,7 -374,7 +373,7 @@@ config MTD_REDWOO
  
  config MTD_SOLUTIONENGINE
        tristate "CFI Flash device mapped on Hitachi SolutionEngine"
-       depends on SUPERH && MTD_CFI && MTD_REDBOOT_PARTS
+       depends on SUPERH && SOLUTION_ENGINE && MTD_CFI && MTD_REDBOOT_PARTS
        help
          This enables access to the flash chips on the Hitachi SolutionEngine and
          similar boards. Say 'Y' if you are building a kernel for such a board.
@@@ -479,13 -480,6 +479,6 @@@ config MTD_H720
          This enables access to the flash chips on the Hynix evaluation boards.
          If you have such a board, say 'Y'.
  
- config MTD_MPC1211
-       tristate "CFI Flash device mapped on Interface MPC-1211"
-       depends on SH_MPC1211 && MTD_CFI
-       help
-         This enables access to the flash chips on the Interface MPC-1211(CTP/PCI/MPC-SH02).
-         If you have such a board, say 'Y'.
  config MTD_OMAP_NOR
        tristate "TI OMAP board mappings"
        depends on MTD_CFI && ARCH_OMAP
@@@ -523,17 -517,6 +516,17 @@@ config MTD_PCMCIA_ANONYMOU
  
          If unsure, say N.
  
 +config MTD_BFIN_ASYNC
 +      tristate "Blackfin BF533-STAMP Flash Chip Support"
 +      depends on BFIN533_STAMP && MTD_CFI
 +      select MTD_PARTITIONS
 +      default y
 +      help
 +        Map driver which allows for simultaneous utilization of
 +        ethernet and CFI parallel flash.
 +
 +        If compiled as a module, it will be called bfin-async-flash.
 +
  config MTD_UCLINUX
        tristate "Generic uClinux RAM/ROM filesystem support"
        depends on MTD_PARTITIONS && !MMU
index d6cfce490583399b5fd227ab126e08cfa74e10f0,957fb5f70f5efdc592f18df82a0a43c09e2c6b27..f3b0c59516639ac95fcc4f950d45493497fa1e06
@@@ -1,6 -1,7 +1,6 @@@
  #
  # linux/drivers/maps/Makefile
  #
 -# $Id: Makefile.common,v 1.34 2005/11/07 11:14:26 gleixner Exp $
  
  ifeq ($(CONFIG_MTD_COMPLEX_MAPPINGS),y)
  obj-$(CONFIG_MTD)             += map_funcs.o
@@@ -57,7 -58,6 +57,6 @@@ obj-$(CONFIG_MTD_WALNUT)        += waln
  obj-$(CONFIG_MTD_H720X)               += h720x-flash.o
  obj-$(CONFIG_MTD_SBC8240)     += sbc8240.o
  obj-$(CONFIG_MTD_NOR_TOTO)    += omap-toto-flash.o
- obj-$(CONFIG_MTD_MPC1211)     += mpc1211.o
  obj-$(CONFIG_MTD_IXP4XX)      += ixp4xx.o
  obj-$(CONFIG_MTD_IXP2000)     += ixp2000.o
  obj-$(CONFIG_MTD_WRSBC8260)   += wr_sbc82xx_flash.o
@@@ -67,4 -67,3 +66,4 @@@ obj-$(CONFIG_MTD_PLATRAM)     += plat-ram.
  obj-$(CONFIG_MTD_OMAP_NOR)    += omap_nor.o
  obj-$(CONFIG_MTD_MTX1)                += mtx-1_flash.o
  obj-$(CONFIG_MTD_INTEL_VR_NOR)        += intel_vr_nor.o
 +obj-$(CONFIG_MTD_BFIN_ASYNC)  += bfin-async-flash.o
diff --combined drivers/mtd/redboot.c
index 5afa268c02f1077b5a2bdd54b3df6494d4b0f59b,c5030f94f04e180adeea6eda0af5f0b8994e83cb..2d600a1bf2aa76e804679e2df284d8b7f9be2742
@@@ -1,4 -1,6 +1,4 @@@
  /*
 - * $Id: redboot.c,v 1.21 2006/03/30 18:34:37 bjd Exp $
 - *
   * Parse RedBoot-style Flash Image System (FIS) tables and
   * produce a Linux partition array to match.
   */
@@@ -293,5 -295,5 +293,5 @@@ module_init(redboot_parser_init)
  module_exit(redboot_parser_exit);
  
  MODULE_LICENSE("GPL");
- MODULE_AUTHOR("Red Hat, Inc. - David Woodhouse <dwmw2@cambridge.redhat.com>");
+ MODULE_AUTHOR("David Woodhouse <dwmw2@infradead.org>");
  MODULE_DESCRIPTION("Parsing code for RedBoot Flash Image System (FIS) tables");
diff --combined include/linux/mtd/nand.h
index 1288be7b7740c5e2f0410eaa689a5452556a11d7,53ea3dc8b0e8ac98347d28170533de9a77dd55f7..863e22a0ddb53c5b134ff04a1048cb6b196aabd4
@@@ -1,10 -1,12 +1,10 @@@
  /*
   *  linux/include/linux/mtd/nand.h
   *
-  *  Copyright (c) 2000 David Woodhouse <dwmw2@mvhi.com>
+  *  Copyright (c) 2000 David Woodhouse <dwmw2@infradead.org>
   *                     Steven J. Hill <sjhill@realitydiluted.com>
   *                   Thomas Gleixner <tglx@linutronix.de>
   *
 - * $Id: nand.h,v 1.74 2005/09/15 13:58:50 vwool Exp $
 - *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.