mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sanjeev Premi <premi@ti.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/5] ARM omap3evm: Enable HSMMC device
Date: Wed, 11 Jan 2012 20:27:21 +0530	[thread overview]
Message-ID: <1326293842-3063-5-git-send-email-premi@ti.com> (raw)
In-Reply-To: <s.hauer@pengutronix.de,plagnioj@jcrosoft.com,J.Kilb@phytec.de>

Enable the HSMMC device to fix these errors:

   Board: Texas Instrument's OMAP3EVM
   Malloc space: 0x87bfff10 -> 0x87ffff0f (size  4 MB)
   Stack space : 0x87bf7f10 -> 0x87bfff10 (size 32 kB)
   booting from MMC1
   mounting sd card failed with -22
   booting failed

Signed-off-by: Sanjeev Premi <premi@ti.com>
---

 Did basic boot testing on OMAP3EVM after this
 change.


 arch/arm/boards/omap/board-omap3evm.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/omap/board-omap3evm.c b/arch/arm/boards/omap/board-omap3evm.c
index 9e96bc8..9e292d2 100644
--- a/arch/arm/boards/omap/board-omap3evm.c
+++ b/arch/arm/boards/omap/board-omap3evm.c
@@ -49,6 +49,7 @@
 #include <init.h>
 #include <driver.h>
 #include <io.h>
+#include <sizes.h>
 #include <ns16550.h>
 #include <asm/armlinux.h>
 #include <mach/silicon.h>
@@ -252,6 +253,10 @@ static int omap3evm_init_devices(void)
 	 */
 	gpmc_generic_init(0x10);
 #endif
+#ifdef CONFIG_MCI_OMAP_HSMMC
+	add_generic_device("omap-hsmmc", -1, NULL, OMAP_MMC1_BASE, SZ_4K,
+				IORESOURCE_MEM, NULL);
+#endif
 	return 0;
 }
 device_initcall(omap3evm_init_devices);
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-01-11 14:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s.hauer@pengutronix.de,plagnioj@jcrosoft.com,J.Kilb@phytec.de>
2012-01-11 14:57 ` [PATCH 0/5] ARM omap: Some fixes and enhancements Sanjeev Premi
2012-01-11 17:32   ` Premi, Sanjeev
2012-01-11 17:52     ` Premi, Sanjeev
2012-01-11 14:57 ` [PATCH 1/5] ARM omap: Use updated config option Sanjeev Premi
2012-01-11 14:57 ` [PATCH 2/5] ARM omap3beagle: Fix incorrect base addresses Sanjeev Premi
2012-01-11 14:57 ` [PATCH 3/5] ARM omap3evm: Allow building first stage bootloader Sanjeev Premi
2012-01-11 14:57 ` Sanjeev Premi [this message]
2012-01-11 14:57 ` [PATCH 5/5] ARM omap: Set IFT target as MLO Sanjeev Premi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326293842-3063-5-git-send-email-premi@ti.com \
    --to=premi@ti.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox