From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TgGBX-0001bz-EL for barebox@lists.infradead.org; Wed, 05 Dec 2012 14:42:52 +0000 From: Wolfram Sang Date: Wed, 5 Dec 2012 15:42:42 +0100 Message-Id: <1354718562-24328-1-git-send-email-w.sang@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] mxs: tx28: fix NAND usage To: barebox@lists.infradead.org Cc: Wolfram Sang Pinmuxing was wrong and no GPMI device was created. Signed-off-by: Wolfram Sang --- arch/arm/boards/karo-tx28/tx28.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boards/karo-tx28/tx28.c b/arch/arm/boards/karo-tx28/tx28.c index a62cb82..6e8da15 100644 --- a/arch/arm/boards/karo-tx28/tx28.c +++ b/arch/arm/boards/karo-tx28/tx28.c @@ -35,11 +35,12 @@ static const uint32_t tx28_pad_setup[] = { GPMI_D6 | VE_3_3V | PULLUP(1), GPMI_D7 | VE_3_3V | PULLUP(1), GPMI_READY0 | VE_3_3V | PULLUP(0), /* external PU */ + GPMI_CE0N | VE_3_3V | PULLUP(1), GPMI_RDN | VE_3_3V | PULLUP(1), GPMI_WRN | VE_3_3V | BITKEEPER(1), GPMI_ALE | VE_3_3V | PULLUP(1), GPMI_CLE | VE_3_3V | PULLUP(1), - GPMI_RESETN_GPIO | VE_3_3V | GPIO_IN, /* act as WP, external PU */ + GPMI_RESETN | VE_3_3V | PULLUP(0), /* external PU */ /* Network interface */ @@ -91,6 +92,9 @@ static int tx28_devices_init(void) base_board_init(); + add_generic_device("mxs_nand", 0, NULL, MXS_GPMI_BASE, 0x2000, + IORESOURCE_MEM, NULL); + return 0; } -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox