* [PATCH] ARM: atmel: at91sam9n12ek: correct udc device name
@ 2015-02-04 10:04 Bo Shen
2015-02-04 11:55 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2015-02-04 10:04 UTC (permalink / raw)
To: s.hauer, plagnioj; +Cc: barebox
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: atmel: at91sam9n12ek: correct udc device name
2015-02-04 10:04 [PATCH] ARM: atmel: at91sam9n12ek: correct udc device name Bo Shen
@ 2015-02-04 11:55 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-02-04 11:55 UTC (permalink / raw)
To: Bo Shen; +Cc: barebox
On Wed, Feb 04, 2015 at 06:04:37PM +0800, Bo Shen wrote:
> The created device name for atmel udc is at91_udc while not
> at91_udc0.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-04 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 10:04 [PATCH] ARM: atmel: at91sam9n12ek: correct udc device name Bo Shen
2015-02-04 11:55 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox