ARM: atmel: at91sam9n12ek: correct udc device name
The created device name for atmel udc is at91_udc while not at91_udc0. Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ade5b109ac
commit
b3d52d5b9b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue