From: Vicente Bergas <vicencb@gmail.com>
To: barebox@lists.infradead.org
Cc: Vicente Bergas <vicencb@gmail.com>
Subject: [PATCH 2/2] OMAP4: fix omap4_bootsource regression
Date: Sat, 23 Nov 2013 20:58:24 +0100 [thread overview]
Message-ID: <1385236704-2309-2-git-send-email-vicencb@gmail.com> (raw)
In-Reply-To: <1385236704-2309-1-git-send-email-vicencb@gmail.com>
---
arch/arm/mach-omap/omap4_generic.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c
index 64b0024..6da5cae 100644
--- a/arch/arm/mach-omap/omap4_generic.c
+++ b/arch/arm/mach-omap/omap4_generic.c
@@ -499,20 +499,18 @@ static int omap_vector_init(void)
return 0;
}
-#define OMAP4_TRACING_VECTOR3 0x4030d048
-
static int omap4_bootsource(void)
{
- enum bootsource src = BOOTSOURCE_UNKNOWN;
+ enum bootsource src;
switch (omap_bootinfo[2] & 0xFF) {
- case 0x03:
+ case OMAP44XX_SAR_BOOT_NAND:
src = BOOTSOURCE_NAND;
break;
- case 0x05:
+ case OMAP44XX_SAR_BOOT_MMC1:
src = BOOTSOURCE_MMC;
break;
- case 0x20:
+ case OMAP44XX_SAR_BOOT_USB_1:
src = BOOTSOURCE_USB;
break;
default:
--
1.8.4.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-11-23 19:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 19:58 [PATCH 1/2] OMAP4: fix writel data/address swap regression Vicente Bergas
2013-11-23 19:58 ` Vicente Bergas [this message]
2013-11-24 17:51 ` [PATCH 2/2] OMAP4: fix omap4_bootsource regression Jean-Christophe PLAGNIOL-VILLARD
2013-11-24 8:37 ` [PATCH 1/2] OMAP4: fix writel data/address swap regression Alexander Aring
2013-11-25 7:31 ` Sascha Hauer
2013-11-25 7:34 ` Alexander Aring
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=1385236704-2309-2-git-send-email-vicencb@gmail.com \
--to=vicencb@gmail.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