forked from OERV-BSP/u-boot
global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is defined as CONFIG_... are in fairly odd locations. While as much dead code has been removed as possible, some of these locations are simply less obvious at first. In other cases, this code is used, but was defined in such a way as to have been missed by earlier checks. Perform a rename of all such remaining symbols to be CFG_... rather than CONFIG_... Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
#define QE_UEC_DRIVER_NAME "ucc_geth"
|
||||
|
||||
/* Default UTBIPAR SMI address */
|
||||
#ifndef CONFIG_UTBIPAR_INIT_TBIPA
|
||||
#define CONFIG_UTBIPAR_INIT_TBIPA 0x1F
|
||||
#ifndef CFG_UTBIPAR_INIT_TBIPA
|
||||
#define CFG_UTBIPAR_INIT_TBIPA 0x1F
|
||||
#endif
|
||||
|
||||
static int uec_mac_enable(struct uec_priv *uec, comm_dir_e mode)
|
||||
@@ -840,10 +840,10 @@ static int uec_startup(struct udevice *dev)
|
||||
utbipar = in_be32(&uec_regs->utbipar);
|
||||
utbipar &= ~UTBIPAR_PHY_ADDRESS_MASK;
|
||||
|
||||
/* Initialize UTBIPAR address to CONFIG_UTBIPAR_INIT_TBIPA for ALL UEC.
|
||||
/* Initialize UTBIPAR address to CFG_UTBIPAR_INIT_TBIPA for ALL UEC.
|
||||
* This frees up the remaining SMI addresses for use.
|
||||
*/
|
||||
utbipar |= CONFIG_UTBIPAR_INIT_TBIPA << UTBIPAR_PHY_ADDRESS_SHIFT;
|
||||
utbipar |= CFG_UTBIPAR_INIT_TBIPA << UTBIPAR_PHY_ADDRESS_SHIFT;
|
||||
out_be32(&uec_regs->utbipar, utbipar);
|
||||
|
||||
/* Allocate Tx BDs */
|
||||
|
||||
Reference in New Issue
Block a user