Skip to contentSkip to conversation

board: mvebu: drop unused ETH_PHY macro definitions

PATCH New Baruch Siach 2 participants 3 messages Jan 2, 2019 – Jan 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: mvebu: drop unused ETH_PHY macro definitions

These macros are not used anywhere in the boards code.

Cc Chris Packham <[email protected]>
Cc Dirk Eibach <[email protected]>
Cc Mario Six <[email protected]>
Cc Dennis Gilmore <[email protected]>
---
 board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4 ----
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 4 ----
 board/gdsys/a38x/controlcenterdc.c            | 4 ----
 board/kobol/helios4/helios4.c                 | 4 ----
 board/solidrun/clearfog/clearfog.c            | 4 ----
 5 files changed, 20 deletions(-)
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +0 -4
index bc18fe6ddf4a..922576e9d599 100644
@@ -16,10 +16,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define ETH_PHY_CTRL_REG		0
-#define ETH_PHY_CTRL_POWER_DOWN_BIT	11
-#define ETH_PHY_CTRL_POWER_DOWN_MASK	(1 << ETH_PHY_CTRL_POWER_DOWN_BIT)
-
 /*
  * Those values and defines are taken from the Marvell U-Boot version
  * "u-boot-2013.01-2016_T1.0.eng_drop_v10"
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +0 -4
index 9368bce26cee..1a0746b9d3d5 100644
@@ -16,10 +16,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define ETH_PHY_CTRL_REG		0
-#define ETH_PHY_CTRL_POWER_DOWN_BIT	11
-#define ETH_PHY_CTRL_POWER_DOWN_MASK	(1 << ETH_PHY_CTRL_POWER_DOWN_BIT)
-
 /*
  * Those values and defines are taken from the Marvell U-Boot version
  * "u-boot-2013.01-2014_T3.0"
board/gdsys/a38x/controlcenterdc.c +0 -4
index 86051aedf8e1..9e448fcd10d9 100644
@@ -22,10 +22,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define ETH_PHY_CTRL_REG		0
-#define ETH_PHY_CTRL_POWER_DOWN_BIT	11
-#define ETH_PHY_CTRL_POWER_DOWN_MASK	(1 << ETH_PHY_CTRL_POWER_DOWN_BIT)
-
 #define DB_GP_88F68XX_GPP_OUT_ENA_LOW	0x7fffffff
 #define DB_GP_88F68XX_GPP_OUT_ENA_MID	0xffffefff
 
board/kobol/helios4/helios4.c +0 -4
index 8c0864bcdd4d..3c3592ecf58b 100644
@@ -17,10 +17,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define ETH_PHY_CTRL_REG		0
-#define ETH_PHY_CTRL_POWER_DOWN_BIT	11
-#define ETH_PHY_CTRL_POWER_DOWN_MASK	BIT(ETH_PHY_CTRL_POWER_DOWN_BIT)
-
 /*
  * Those values and defines are taken from the Marvell U-Boot version
  * "u-boot-2013.01-15t1-helios4" as well as the upstream config for clearfog
board/solidrun/clearfog/clearfog.c +0 -4
index 1742aa8921c9..03724fee10c1 100644
@@ -16,10 +16,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define ETH_PHY_CTRL_REG		0
-#define ETH_PHY_CTRL_POWER_DOWN_BIT	11
-#define ETH_PHY_CTRL_POWER_DOWN_MASK	(1 << ETH_PHY_CTRL_POWER_DOWN_BIT)
-
 /*
  * Those values and defines are taken from the Marvell U-Boot version
  * "u-boot-2013.01-15t1-clearfog"
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 board: mvebu: drop unused ETH_PHY macro definitions

Quoted 7 lines · Baruch Siach

These macros are not used anywhere in the boards code.

Cc Chris Packham <[email protected]>
Cc Dirk Eibach <[email protected]>
Cc Mario Six <[email protected]>
Cc Dennis Gilmore <[email protected]>
Quoted 7 lines
---
  board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4 ----
  board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 4 ----
  board/gdsys/a38x/controlcenterdc.c            | 4 ----
  board/kobol/helios4/helios4.c                 | 4 ----
  board/solidrun/clearfog/clearfog.c            | 4 ----
  5 files changed, 20 deletions(-)

Thanks,
Stefan

#2 lore raw

PATCH 1/1 board: mvebu: drop unused ETH_PHY macro definitions

In reply to Baruch Siach
Quoted 7 lines · Baruch Siach

These macros are not used anywhere in the boards code.

Cc Chris Packham <[email protected]>
Cc Dirk Eibach <[email protected]>
Cc Mario Six <[email protected]>
Cc Dennis Gilmore <[email protected]>
Quoted 7 lines
---
  board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4 ----
  board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 4 ----
  board/gdsys/a38x/controlcenterdc.c            | 4 ----
  board/kobol/helios4/helios4.c                 | 4 ----
  board/solidrun/clearfog/clearfog.c            | 4 ----
  5 files changed, 20 deletions(-)

Applied to u-boot-marvell/master

Thanks,
Stefan