diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 11:45:16 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 11:45:16 -0800 | 
| commit | 8287361abca36504da813638310d2547469283eb (patch) | |
| tree | 8d98e9a910885efdb09ae5390a3ae44040557e2f /arch/arm/mach-omap2/board-omap3beagle.c | |
| parent | 2989950cea13711f0cc573c26cde8fe08a36be03 (diff) | |
| parent | 8556650dd3370a927217f16444aac5cc0c71e61b (diff) | |
| download | olio-linux-3.10-8287361abca36504da813638310d2547469283eb.tar.xz olio-linux-3.10-8287361abca36504da813638310d2547469283eb.zip  | |
Merge tag 'headers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC Header cleanups from Olof Johansson:
 "This is a collection of header file cleanups, mostly for OMAP and
  AT91, that keeps moving the platforms in the direction of
  multiplatform by removing the need for mach-dependent header files
  used in drivers and other places."
Fix up mostly trivial conflicts as per Olof.
* tag 'headers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (106 commits)
  ARM: OMAP2+: Move iommu/iovmm headers to platform_data
  ARM: OMAP2+: Make some definitions local
  ARM: OMAP2+: Move iommu2 to drivers/iommu/omap-iommu2.c
  ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h
  ARM: OMAP2+: Move iopgtable header to drivers/iommu/
  ARM: OMAP: Merge iommu2.h into iommu.h
  atmel: move ATMEL_MAX_UART to platform_data/atmel.h
  ARM: OMAP: Remove omap_init_consistent_dma_size()
  arm: at91: move at91rm9200 rtc header in drivers/rtc
  arm: at91: move reset controller header to arm/arm/mach-at91
  arm: at91: move pit define to the driver
  arm: at91: move at91_shdwc.h to arch/arm/mach-at91
  arm: at91: move board header to arch/arm/mach-at91
  arn: at91: move at91_tc.h to arch/arm/mach-at91
  arm: at91 move at91_aic.h to arch/arm/mach-at91
  arm: at91 move board.h to arch/arm/mach-at91
  arm: at91: move platfarm_data to include/linux/platform_data/atmel.h
  arm: at91: drop machine defconfig
  ARM: OMAP: Remove NEED_MACH_GPIO_H
  ARM: OMAP: Remove unnecessary mach and plat includes
  ...
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 16 | 
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index d41ab98890f..5a3800da903 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -39,19 +39,22 @@  #include <asm/mach/map.h>  #include <asm/mach/flash.h> -#include "common.h"  #include <video/omapdss.h>  #include <video/omap-panel-tfp410.h> -#include <plat/gpmc.h>  #include <linux/platform_data/mtd-nand-omap2.h> -#include <plat/usb.h> -#include <plat/omap_device.h> +#include "common.h" +#include "omap_device.h" +#include "gpmc.h" +#include "soc.h"  #include "mux.h"  #include "hsmmc.h"  #include "pm.h" +#include "board-flash.h"  #include "common-board-devices.h" +#define	NAND_CS	0 +  /*   * OMAP3 Beagle revision   * Run time detection of Beagle revision is done by reading GPIO. @@ -518,8 +521,9 @@ static void __init omap3_beagle_init(void)  	usb_musb_init(NULL);  	usbhs_init(&usbhs_bdata); -	omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions, -			     ARRAY_SIZE(omap3beagle_nand_partitions)); +	board_nand_init(omap3beagle_nand_partitions, +			ARRAY_SIZE(omap3beagle_nand_partitions), NAND_CS, +			NAND_BUSWIDTH_16, NULL);  	omap_twl4030_audio_init("omap3beagle");  	/* Ensure msecure is mux'd to be able to set the RTC. */  |