diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-10 21:14:26 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 14:27:54 -0400 |
commit | f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a (patch) | |
tree | 213b74e1c18e5589f8610f83fc4d41527fd03b16 /board/siemens | |
parent | 0c6bdbb97c5c7d233145de594325b9fbe1beb8bb (diff) | |
download | u-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.zip u-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.tar.gz u-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.tar.bz2 |
Rename SPL_ETH_SUPPORT to SPL_ETH
Rename this option so that CONFIG_IS_ENABLED can be used with it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/siemens')
-rw-r--r-- | board/siemens/draco/board.c | 2 | ||||
-rw-r--r-- | board/siemens/pxm2/board.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index 01fdfb5..af35bc1 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -288,7 +288,7 @@ int board_late_init(void) #endif #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \ - (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD)) + (defined(CONFIG_SPL_ETH) && defined(CONFIG_SPL_BUILD)) static void cpsw_control(int enabled) { /* VTP can be added here */ diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index b5e9b42..de52838 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -171,7 +171,7 @@ int read_eeprom(void) } #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \ - (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD)) + (defined(CONFIG_SPL_ETH) && defined(CONFIG_SPL_BUILD)) static void cpsw_control(int enabled) { /* VTP can be added here */ @@ -220,7 +220,7 @@ int board_eth_init(struct bd_info *bis) { int n = 0; #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \ - (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD)) + (defined(CONFIG_SPL_ETH) && defined(CONFIG_SPL_BUILD)) struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; #ifdef CONFIG_FACTORYSET int rv; |