summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-07-19 00:29:57 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-25 21:13:31 +0300
commitf6297c06928879127c9de481a4c79824a83c2bd1 (patch)
tree57cd4ad404c0ec269ca6eff0719eda7794c0bfcf /include
parentb7be776776b0739d78ed42a52b1bc8b5b0bc6e13 (diff)
downloadu-boot-f6297c06928879127c9de481a4c79824a83c2bd1.tar.xz
net: tsec: Common handling of MAC station address for DM_ETH
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@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions