From: Bo Shen <voice.shen@atmel.com>
To: s.hauer@pengutronix.de, plagnioj@jcrosoft.com
Cc: barebox@lists.infradead.org
Subject: [PATCH] ARM: atmel: at91sam9n12ek: correct udc device name
Date: Wed, 4 Feb 2015 18:04:37 +0800 [thread overview]
Message-ID: <1423044277-24529-1-git-send-email-voice.shen@atmel.com> (raw)
The created device name for atmel udc is at91_udc while not
at91_udc0.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
arch/arm/boards/at91sam9n12ek/env/bin/init_board | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/at91sam9n12ek/env/bin/init_board b/arch/arm/boards/at91sam9n12ek/env/bin/init_board
index 6b44044..4931342 100644
--- a/arch/arm/boards/at91sam9n12ek/env/bin/init_board
+++ b/arch/arm/boards/at91sam9n12ek/env/bin/init_board
@@ -12,7 +12,7 @@ button_wait=5
dfu_config="/dev/nand0.barebox.bb(barebox)sr,/dev/nand0.kernel.bb(kernel)r,/dev/nand0.rootfs.bb(rootfs)r"
-if [ $at91_udc0.vbus != 1 ]
+if [ $at91_udc.vbus != 1 ]
then
echo "No USB Device cable plugged, normal boot"
exit
@@ -30,7 +30,7 @@ fi
echo "${button_name} pressed detected wait ${button_wait}s"
timeout -s -a ${button_wait}
-if [ $at91_udc0.vbus != 1 ]
+if [ $at91_udc.vbus != 1 ]
then
echo "No USB Device cable plugged, normal boot"
exit
--
2.3.0.rc0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-02-04 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-04 10:04 Bo Shen [this message]
2015-02-04 11:55 ` 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=1423044277-24529-1-git-send-email-voice.shen@atmel.com \
--to=voice.shen@atmel.com \
--cc=barebox@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
--cc=s.hauer@pengutronix.de \
/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