projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: clk: rk3368: remove clk_enable()
[oweals/u-boot.git]
/
cmd
/
mdio.c
diff --git
a/cmd/mdio.c
b/cmd/mdio.c
index add6440813f6f4f759c0d966eb0c8e78d7f818c7..22c8fbe856f37f482eb87f823f7baa03db22aaff 100644
(file)
--- a/
cmd/mdio.c
+++ b/
cmd/mdio.c
@@
-253,12
+253,13
@@
static int do_mdio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
case 'w':
if (pos > 1)
data = simple_strtoul(argv[pos--], NULL, 16);
case 'w':
if (pos > 1)
data = simple_strtoul(argv[pos--], NULL, 16);
+ /* Intentional fall-through - Get reg for read and write */
case 'r':
if (pos > 1)
if (extract_reg_range(argv[pos--], &devadlo, &devadhi,
®lo, ®hi))
return CMD_RET_FAILURE;
case 'r':
if (pos > 1)
if (extract_reg_range(argv[pos--], &devadlo, &devadhi,
®lo, ®hi))
return CMD_RET_FAILURE;
-
+ /* Intentional fall-through - Get phy for all commands */
default:
if (pos > 1)
if (extract_phy_range(&argv[2], pos - 1, &bus,
default:
if (pos > 1)
if (extract_phy_range(&argv[2], pos - 1, &bus,