add support for IXP42x Rev. B1 and newer

Signed-off-by: Michael Schwingen <michael@schwingen.org>
This commit is contained in:
Michael Schwingen 2011-05-22 23:59:58 +02:00 committed by Albert ARIBAUD
parent c3dc3dfb7e
commit 20f172815d
1 changed files with 5 additions and 2 deletions

View File

@ -621,9 +621,12 @@ int npe_initialize(bd_t * bis)
if (ixFeatureCtrlDeviceRead() == IX_FEATURE_CTRL_DEVICE_TYPE_IXP42X) {
switch (ixFeatureCtrlProductIdRead() & IX_FEATURE_CTRL_SILICON_STEPPING_MASK) {
case IX_FEATURE_CTRL_SILICON_TYPE_B0:
default: /* newer than B0 */
/*
* If it is B0 Silicon, we only enable port when its corresponding
* Eth Coprocessor is available.
* If it is B0 or newer Silicon, we
* only enable port when its
* corresponding Eth Coprocessor is
* available.
*/
if (ixFeatureCtrlComponentCheck(IX_FEATURECTRL_ETH0) ==
IX_FEATURE_CTRL_COMPONENT_ENABLED)