parent
832abd89bb
commit
37e46a66f3
|
@ -45,7 +45,7 @@ typedef unsigned char bool;
|
|||
|
||||
/* from xyzmodem.c */
|
||||
// Validate a hex character
|
||||
__inline__ static bool
|
||||
__inline__ static bool
|
||||
_is_hex(char c)
|
||||
{
|
||||
return (((c >= '0') && (c <= '9')) ||
|
||||
|
@ -55,7 +55,7 @@ _is_hex(char c)
|
|||
|
||||
/* from xyzmodem.c */
|
||||
// Convert a single hex nibble
|
||||
__inline__ static u8
|
||||
__inline__ static u8
|
||||
_from_hex(char c)
|
||||
{
|
||||
u8 ret = 0;
|
||||
|
@ -304,23 +304,23 @@ U_BOOT_CMD(
|
|||
" <wlan0> mac address\n"
|
||||
" mac address 00:aa:bb:cc:dd:ee\n"
|
||||
" nobackup - don't do a backup in the sector before calibration"
|
||||
);
|
||||
);
|
||||
|
||||
U_BOOT_CMD(
|
||||
showmac, 1, 0, do_showmac,
|
||||
"showmac - Show ethernet MAC addresses\n",
|
||||
);
|
||||
);
|
||||
|
||||
U_BOOT_CMD(
|
||||
setserial, 2, 0, do_setserial,
|
||||
"setserial - Set the serial number\n",
|
||||
"setserial serial\n"
|
||||
);
|
||||
);
|
||||
|
||||
U_BOOT_CMD(
|
||||
showserial, 1, 0, do_showserial,
|
||||
"showserial - Show serial number\n",
|
||||
);
|
||||
);
|
||||
|
||||
|
||||
#endif /* CFG_CMD_SETMAC */
|
||||
|
|
Loading…
Reference in New Issue