projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570eaad
)
generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 9 Mar 2022 09:05:44 +0000
(10:05 +0100)
committer
Marek Vasut
<marex@denx.de>
Fri, 22 Apr 2022 08:35:14 +0000
(10:35 +0200)
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
patch
|
blob
|
history
diff --git
a/include/generic-phy.h
b/include/generic-phy.h
index
ff48b37
..
d40ce58
100644
(file)
--- a/
include/generic-phy.h
+++ b/
include/generic-phy.h
@@
-155,7
+155,7
@@
struct phy_bulk {
unsigned int count;
};
-#if
def CONFIG_PHY
+#if
CONFIG_IS_ENABLED(PHY)
/**
* generic_phy_init() - initialize the PHY port