[U-Boot] [PATCH 5/8] net: tsec: Common handling of MAC station address for DM_ETH

Joe Hershberger joe.hershberger at ni.com
Fri Jul 12 19:06:46 UTC 2019


On Sun, Jun 23, 2019 at 12:52 PM Vladimir Oltean <olteanv at gmail.com> wrote:
>
> In tsec_init, the MAC address is retrieved from 2 different structures
> depending on whether DM_ETH is enabled or not.
>
> But since the field name is the same inside both structures, we can
> conditionally define the structure of the correct type and simplify the
> assignments.
>
> Signed-off-by: Vladimir Oltean <olteanv at gmail.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list