]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: add user io config data structure
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 19 Jan 2021 11:26:44 +0000 (13:26 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 22 Jan 2021 13:09:59 +0000 (15:09 +0200)
commitf757b1b69b7468802714c28a07bbb7045383c90c
tree80840a5a557208c3cea6e34385404f91db1ef2c9
parent8c419b4a0f60062d446f8afb46c463e6851e025b
net: macb: add user io config data structure

Different implementation of USER IO register needs different
mapping for bit fields of this register. Add implementation
for this and, since clken is part of USER IO and it needs to
be activated based on per SoC capabilities, add caps in
macb_config where clken specific information needs to be filled.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
drivers/net/macb.c