From: Vicente Bergas <vicencb@gmail.com>
To: barebox@lists.infradead.org
Cc: Vicente Bergas <vicencb@gmail.com>
Subject: [PATCH] omap4 regression: set correct boot source
Date: Tue, 16 Apr 2013 23:32:01 +0200 [thread overview]
Message-ID: <1366147921-23073-1-git-send-email-vicencb@gmail.com> (raw)
Signed-off-by: Vicente Bergas <vicencb@gmail.com>
---
arch/arm/mach-omap/omap4_generic.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c
index b33ed60..3d6ec25 100644
--- a/arch/arm/mach-omap/omap4_generic.c
+++ b/arch/arm/mach-omap/omap4_generic.c
@@ -507,11 +507,11 @@ static int omap4_bootsource(void)
u32 bootsrc = readl(OMAP4_TRACING_VECTOR3);
if (bootsrc & (1 << 5))
- return BOOTSOURCE_MMC;
+ src = BOOTSOURCE_MMC;
if (bootsrc & (1 << 3))
- return BOOTSOURCE_NAND;
+ src = BOOTSOURCE_NAND;
if (bootsrc & (1<<20))
- return BOOTSOURCE_USB;
+ src = BOOTSOURCE_USB;
bootsource_set(src);
bootsource_set_instance(0);
--
1.8.2.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-04-16 21:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-16 21:32 Vicente Bergas [this message]
2013-04-17 7:30 ` Jan Lübbe
2013-04-18 6:04 ` Sascha Hauer
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=1366147921-23073-1-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