generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Mar 2022 09:05:44 +0000 (10:05 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 22 Apr 2022 08:35:14 +0000 (10:35 +0200)
commite81782ab883552dd48f5109ba41327b879a92498
tree50d7182e1a70fbf18aebf32363217758b8bf184a
parent570eaadac05c131288335248e4611e663b85c278
generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/

Allow to disable PHY driver in SPL because it checks the CONFIG_SPL_PHY
variable for SPL builds.

The same change was done for usb by commit fd09c205fc57 ("usb:
s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/").

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/generic-phy.h