aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/board-omap3gta04.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3gta04.c b/arch/arm/mach-omap2/board-omap3gta04.c
index 3e65d66..7162651 100644
--- a/arch/arm/mach-omap2/board-omap3gta04.c
+++ b/arch/arm/mach-omap2/board-omap3gta04.c
@@ -71,11 +71,14 @@
#include "omap_device.h"
#include "mux.h"
#include "hsmmc.h"
+#include "board-flash.h"
#include "pm.h"
#include "common-board-devices.h"
#include "control.h"
#include "soc.h"
+#define NAND_CS 0
+
#define GPMC_CS0_BASE 0x60
#define GPMC_CS_SIZE 0x30
@@ -1407,8 +1410,9 @@ static void __init gta04_init(void)
usb_musb_init(NULL);
usbhs_init(&usbhs_bdata);
- omap_nand_flash_init(NAND_BUSWIDTH_16, gta04_nand_partitions,
- ARRAY_SIZE(gta04_nand_partitions));
+ board_nand_init(gta04_nand_partitions,
+ ARRAY_SIZE(gta04_nand_partitions), NAND_CS,
+ NAND_BUSWIDTH_16, NULL);
/* Ensure SDRC pins are mux'd for self-refresh */
omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);