diff mbox series

[U-Boot,RFC,v3,07/15] phy: add support for internal phys

Message ID 20180221161040.22246-8-noltari@gmail.com
State Superseded, archived
Headers show
Series bmips: add bcm6348-enet support | expand

Commit Message

Álvaro Fernández Rojas Feb. 21, 2018, 4:10 p.m. UTC
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 v3: no changes
 v2: no changes

 include/phy.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/phy.h b/include/phy.h
index 0543ec10c2..8f3e53db01 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -50,6 +50,7 @@ 
 
 
 typedef enum {
+	PHY_INTERFACE_MODE_INTERNAL,
 	PHY_INTERFACE_MODE_MII,
 	PHY_INTERFACE_MODE_GMII,
 	PHY_INTERFACE_MODE_SGMII,
@@ -72,6 +73,7 @@  typedef enum {
 } phy_interface_t;
 
 static const char *phy_interface_strings[] = {
+	[PHY_INTERFACE_MODE_INTERNAL]		= "internal",
 	[PHY_INTERFACE_MODE_MII]		= "mii",
 	[PHY_INTERFACE_MODE_GMII]		= "gmii",
 	[PHY_INTERFACE_MODE_SGMII]		= "sgmii",