diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 388c431c745..43b5f797e71 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -49,8 +49,11 @@ | |||
49 | #include "mux.h" | 49 | #include "mux.h" |
50 | #include "hsmmc.h" | 50 | #include "hsmmc.h" |
51 | #include "pm.h" | 51 | #include "pm.h" |
52 | #include "board-flash.h" | ||
52 | #include "common-board-devices.h" | 53 | #include "common-board-devices.h" |
53 | 54 | ||
55 | #define NAND_CS 0 | ||
56 | |||
54 | /* | 57 | /* |
55 | * OMAP3 Beagle revision | 58 | * OMAP3 Beagle revision |
56 | * Run time detection of Beagle revision is done by reading GPIO. | 59 | * Run time detection of Beagle revision is done by reading GPIO. |
@@ -512,8 +515,9 @@ static void __init omap3_beagle_init(void) | |||
512 | 515 | ||
513 | usb_musb_init(NULL); | 516 | usb_musb_init(NULL); |
514 | usbhs_init(&usbhs_bdata); | 517 | usbhs_init(&usbhs_bdata); |
515 | omap_nand_flash_init(NAND_BUSWIDTH_16, omap3beagle_nand_partitions, | 518 | board_nand_init(omap3beagle_nand_partitions, |
516 | ARRAY_SIZE(omap3beagle_nand_partitions)); | 519 | ARRAY_SIZE(omap3beagle_nand_partitions), NAND_CS, |
520 | NAND_BUSWIDTH_16, NULL); | ||
517 | omap_twl4030_audio_init("omap3beagle"); | 521 | omap_twl4030_audio_init("omap3beagle"); |
518 | 522 | ||
519 | /* Ensure msecure is mux'd to be able to set the RTC. */ | 523 | /* Ensure msecure is mux'd to be able to set the RTC. */ |