diff options
| author | Tom Rini <[email protected]> | 2022-12-04 10:13:28 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-23 10:14:51 -0500 |
| commit | 52d596eabbd3ce80c2e1ce0e860d588cd219bd0b (patch) | |
| tree | 25c0d8cd7d8200390716b15cc6dc158cb707d0e0 | |
| parent | e9212bffe3cfcfb7baee5233f8de06f2d4e500f6 (diff) | |
global: Migrate CONFIG_PHY_ID to CFG
Perform a simple rename of CONFIG_PHY_ID to CFG_PHY_ID
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | board/egnite/ethernut5/ethernut5.c | 2 | ||||
| -rw-r--r-- | include/configs/ethernut5.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/egnite/ethernut5/ethernut5.c b/board/egnite/ethernut5/ethernut5.c index ceb0d2cf0aa..9953df017e1 100644 --- a/board/egnite/ethernut5/ethernut5.c +++ b/board/egnite/ethernut5/ethernut5.c @@ -160,7 +160,7 @@ int board_eth_init(struct bd_info *bis) /* Set peripheral pins. */ at91_macb_hw_init(); /* Basic EMAC initialization. */ - if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CONFIG_PHY_ID)) + if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CFG_PHY_ID)) return -1; /* * Early board revisions have a pull-down at the PHY's MODE0 diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index 3fd58d6bd4a..182369def91 100644 --- a/include/configs/ethernut5.h +++ b/include/configs/ethernut5.h @@ -48,7 +48,7 @@ /* JFFS2 */ /* Ethernet */ -#define CONFIG_PHY_ID 0 +#define CFG_PHY_ID 0 /* MMC */ #ifdef CONFIG_CMD_MMC |
