summaryrefslogtreecommitdiff
path: root/include/tsec.h
diff options
context:
space:
mode:
authorZach LeRoy <zleroy@xes-inc.com>2009-05-22 10:26:33 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-06-15 00:13:54 -0700
commit091dc9f6adaf572b067ae91af92c4e7db33d7903 (patch)
tree720664a55f339b1c61143cec9a329dae732a462d /include/tsec.h
parent31f30c9eb60d9ab0bd702e31f66345f99b34bdc6 (diff)
downloadu-boot-imx-091dc9f6adaf572b067ae91af92c4e7db33d7903.zip
u-boot-imx-091dc9f6adaf572b067ae91af92c4e7db33d7903.tar.gz
u-boot-imx-091dc9f6adaf572b067ae91af92c4e7db33d7903.tar.bz2
tsec: Add support for BCM5482S PHY
Signed-off-by: Zach LeRoy <zleroy@xes-inc.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/tsec.h')
-rw-r--r--include/tsec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h
index 9184256..0ac3034 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -152,6 +152,8 @@
#define MIIM_EXT_PAGE_ACCESS 0x1f
/* Broadcom BCM54xx -- taken from linux sungem_phy */
+#define MIIM_BCM54xx_AUXCNTL 0x18
+#define MIIM_BCM54xx_AUXCNTL_ENCODE(val) ((val & 0x7) << 12)|(val & 0x7)
#define MIIM_BCM54xx_AUXSTATUS 0x19
#define MIIM_BCM54xx_AUXSTATUS_LINKMODE_MASK 0x0700
#define MIIM_BCM54xx_AUXSTATUS_LINKMODE_SHIFT 8