global: Migrate CONFIG_SH_ETHER_USE_PORT to CFG
Perform a simple rename of CONFIG_SH_ETHER_USE_PORT to CFG_SH_ETHER_USE_PORT Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
85b5511708
commit
97148cb614
2
README
2
README
@ -541,7 +541,7 @@ The following options need to be configured:
|
||||
CONFIG_SH_ETHER
|
||||
Support for Renesas on-chip Ethernet controller
|
||||
|
||||
CONFIG_SH_ETHER_USE_PORT
|
||||
CFG_SH_ETHER_USE_PORT
|
||||
Define the number of ports to be used
|
||||
|
||||
CFG_SH_ETHER_PHY_ADDR
|
||||
|
@ -30,8 +30,8 @@
|
||||
|
||||
#include "sh_eth.h"
|
||||
|
||||
#ifndef CONFIG_SH_ETHER_USE_PORT
|
||||
# error "Please define CONFIG_SH_ETHER_USE_PORT"
|
||||
#ifndef CFG_SH_ETHER_USE_PORT
|
||||
# error "Please define CFG_SH_ETHER_USE_PORT"
|
||||
#endif
|
||||
#ifndef CFG_SH_ETHER_PHY_ADDR
|
||||
# error "Please define CFG_SH_ETHER_PHY_ADDR"
|
||||
@ -693,7 +693,7 @@ static int sh_ether_probe(struct udevice *udev)
|
||||
|
||||
priv->bus = miiphy_get_dev_by_name(udev->name);
|
||||
|
||||
eth->port = CONFIG_SH_ETHER_USE_PORT;
|
||||
eth->port = CFG_SH_ETHER_USE_PORT;
|
||||
eth->port_info[eth->port].phy_addr = CFG_SH_ETHER_PHY_ADDR;
|
||||
eth->port_info[eth->port].iobase =
|
||||
(void __iomem *)(uintptr_t)(BASE_IO_ADDR + 0x800 * eth->port);
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* Environment compatibility */
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512u * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -17,7 +17,7 @@
|
||||
#define CFG_SYS_SDRAM_SIZE (10 * 1024 * 1024)
|
||||
|
||||
/* Network interface */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (1024u * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define RCAR_GEN2_UBOOT_SDRAM_SIZE (512 * 1024 * 1024)
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define CFG_SCIF_A
|
||||
|
||||
/* SH Ether */
|
||||
#define CONFIG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_USE_PORT 0
|
||||
#define CFG_SH_ETHER_PHY_ADDR 0x1
|
||||
#define CFG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
||||
#define CFG_SH_ETHER_CACHE_WRITEBACK
|
||||
|
Loading…
Reference in New Issue
Block a user