X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Ftsec.h;h=2f0092ad59888d6502ca245a0da5634b940f558d;hb=991b089d1ce5ad945725e3657a8f106dfa02a38e;hp=422bc6692292bc43b2f6271ed01d2c6fe4a6dbc9;hpb=91e25769771c1164ed63ffca0add49f934ae3343;p=oweals%2Fu-boot.git diff --git a/drivers/tsec.h b/drivers/tsec.h index 422bc66922..2f0092ad59 100644 --- a/drivers/tsec.h +++ b/drivers/tsec.h @@ -7,7 +7,7 @@ * terms of the GNU Public License, Version 2, incorporated * herein by reference. * - * Copyright 2004 Freescale Semiconductor. + * Copyright 2004, 2007 Freescale Semiconductor, Inc. * (C) Copyright 2003, Motorola, Inc. * maintained by Xianghua Xiao (x.xiao@motorola.com) * author Andy Fleming @@ -65,11 +65,14 @@ #define ECNTRL_INIT_SETTINGS 0x00001000 #define ECNTRL_TBI_MODE 0x00000020 #define ECNTRL_R100 0x00000008 +#define ECNTRL_SGMII_MODE 0x00000002 #define miim_end -2 #define miim_read -1 -#define TBIPA_VALUE 0x1f +#ifndef CFG_TBIPA_VALUE + #define CFG_TBIPA_VALUE 0x1f +#endif #define MIIMCFG_INIT_VALUE 0x00000003 #define MIIMCFG_RESET 0x80000000