]> git.baikalelectronics.ru Git - uboot.git/commit
phy: Break include cycle
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 17 Jul 2018 20:02:30 +0000 (15:02 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:22 +0000 (14:08 -0500)
commita6402b29e9dbd1b4cf5c234f88635919bfa227bf
tree9ac20100e05d31c95b075011078dbbe54a79c2b8
parentb5b376eefc4cba0ab1533cc31ff3061fc0196a02
phy: Break include cycle

Because some phy wants to export some functions [1], export.h was
including the whole phy subsystem which pulls in lots of stuff that
causes some ordering and redefinition issues. Split out the only part
that is actually needed in export.h and include it there and in phy.h.

[1] commit 95279315076c ("board/ls2085rdb: Export functions for
  standalone AQ FW load apps")

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
include/exports.h
include/phy.h
include/phy_interface.h [new file with mode: 0644]