]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Add pixis_set_sgmii command
authorAndy Fleming <afleming@freescale.com>
Sun, 31 Aug 2008 21:33:30 +0000 (16:33 -0500)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 3 Sep 2008 04:18:15 +0000 (21:18 -0700)
commit5a8a163ac394d9f4f7ff57f415d82bd673b0068c
treeb0363871b5e73d52f553867e6df7ec8ad6877072
parent216f2a7156a5fde7b47adc40ad553c888a9cbaa7
Add pixis_set_sgmii command

The 8544DS and 8572DS platforms support an optional SGMII riser card to
expose ethernet over an SGMII interface.  Once the card is in, it is also
necessary to configure the board such that it uses the card, rather than
the on-board ethernet ports.  This can either be done by flipping dip switches
on the motherboard, or by modifying registers in the pixis.  Either way
requires a reboot.

This adds a command to allow users to choose which ports are routed through
the SGMII card, and which through the onboard ports.  It also allows users
to revert to the current switch settings.

This code does not work on the 8572, as the PIXIS is different.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
board/freescale/common/pixis.c
include/configs/MPC8544DS.h