Hi Tim, On Wed, Mar 25, 2015 at 6:55 AM, Tim James <tim.ja...@macltd.com> wrote: > > When accessing PHY registers it is often desirable to only update > selected bits, so it is necessary to first read the current value > before writing back an modified value with the relevant bits > updated. > > To simplify this and to allow such operations to be incorporated > into simple shell scripts propose adding a 'modify' option to the > existing mii command, which takes a mask indicating the bits to > be updated in addition to a data value containing the new bits, > ie, <updated> = (<data> & <mask>) | (<current> & ~<mask>). > > Signed-off-by: Tim <tim.ja...@macltd.com> > Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org> > Cc: Joe Hershberger <joe.hershber...@gmail.com> > Cc: Jeroen Hofstee <jer...@myspectrum.nl> > Cc: Tom Rini <tr...@konsulko.com> > Cc: Tim <tim.ja...@macltd.com>
Applied to net/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot