mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
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 fd09c205fc
("usb:
s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/").
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
570eaadac0
commit
e81782ab88
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ struct phy_bulk {
|
|||
unsigned int count;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PHY
|
||||
#if CONFIG_IS_ENABLED(PHY)
|
||||
|
||||
/**
|
||||
* generic_phy_init() - initialize the PHY port
|
||||
|
|
Loading…
Add table
Reference in a new issue