Make pixis_set_sgmii more general to support MPC85xx boards.
authorLiu Yu <yu.liu@freescale.com>
Fri, 10 Oct 2008 03:40:58 +0000 (11:40 +0800)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:07 +0000 (21:54 +0200)
commitbff188baf9427c35745356439435acf3864d4c65
tree2d3c628de7bcb2f7340250823d4d50162470ea64
parent5e981d683d2363204c76773941c2e9c2044c808f
Make pixis_set_sgmii more general to support MPC85xx boards.

The pixis sgmii command depend on the FPGA support on the board, some 85xx
boards support SGMII riser card but did not support this command, define
CONFIG_PIXIS_SGMII_CMD for those boards which support the sgmii command.

Not like 8544, 8572 has 4 eTsec so that the other two's pixis bits
are not supported by 8544. Therefor, define PIXIS_VSPEED2_MASK and
PIXIS_VCFGEN1_MASK in header file for both boards.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
board/freescale/common/pixis.c
include/configs/MPC8544DS.h