aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3beagle.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 388c431c745a..a5497ce0a6c8 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -41,16 +41,20 @@
41#include "common.h" 41#include "common.h"
42#include <video/omapdss.h> 42#include <video/omapdss.h>
43#include <video/omap-panel-tfp410.h> 43#include <video/omap-panel-tfp410.h>
44#include <plat/gpmc.h> 44#include "gpmc.h"
45#include <linux/platform_data/mtd-nand-omap2.h> 45#include <linux/platform_data/mtd-nand-omap2.h>
46#include <plat/usb.h> 46#include <plat/usb.h>
47#include <plat/omap_device.h> 47#include "omap_device.h"
48 48
49#include "soc.h"
49#include "mux.h" 50#include "mux.h"
50#include "hsmmc.h" 51#include "hsmmc.h"
51#include "pm.h" 52#include "pm.h"
53#include "board-flash.h"
52#include "common-board-devices.h" 54#include "common-board-devices.h"
53 55
56#define NAND_CS 0
57
54/* 58/*
55 * OMAP3 Beagle revision 59 * OMAP3 Beagle revision
56 * Run time detection of Beagle revision is done by reading GPIO. 60 * Run time detection of Beagle revision is done by reading GPIO.
@@ -512,8 +516,9 @@ static void __init omap3_beagle_init(void)
512 516
513 usb_musb_init(NULL); 517 usb_musb_init(NULL);
514 usbhs_init(&usbhs_bdata); 518 usbhs_init(&usbhs_bdata);
515 omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions, 519 board_nand_init(omap3beagle_nand_partitions,
516 ARRAY_SIZE(omap3beagle_nand_partitions)); 520 ARRAY_SIZE(omap3beagle_nand_partitions), NAND_CS,
521 NAND_BUSWIDTH_16, NULL);
517 omap_twl4030_audio_init("omap3beagle"); 522 omap_twl4030_audio_init("omap3beagle");
518 523
519 /* Ensure msecure is mux'd to be able to set the RTC. */ 524 /* Ensure msecure is mux'd to be able to set the RTC. */