Skip to content
Snippets Groups Projects
Commit 20f17281 authored by Michael Schwingen's avatar Michael Schwingen Committed by Albert ARIBAUD
Browse files

add support for IXP42x Rev. B1 and newer

parent c3dc3dfb
Branches
Tags
No related merge requests found
...@@ -621,9 +621,12 @@ int npe_initialize(bd_t * bis) ...@@ -621,9 +621,12 @@ int npe_initialize(bd_t * bis)
if (ixFeatureCtrlDeviceRead() == IX_FEATURE_CTRL_DEVICE_TYPE_IXP42X) { if (ixFeatureCtrlDeviceRead() == IX_FEATURE_CTRL_DEVICE_TYPE_IXP42X) {
switch (ixFeatureCtrlProductIdRead() & IX_FEATURE_CTRL_SILICON_STEPPING_MASK) { switch (ixFeatureCtrlProductIdRead() & IX_FEATURE_CTRL_SILICON_STEPPING_MASK) {
case IX_FEATURE_CTRL_SILICON_TYPE_B0: case IX_FEATURE_CTRL_SILICON_TYPE_B0:
default: /* newer than B0 */
/* /*
* If it is B0 Silicon, we only enable port when its corresponding * If it is B0 or newer Silicon, we
* Eth Coprocessor is available. * only enable port when its
* corresponding Eth Coprocessor is
* available.
*/ */
if (ixFeatureCtrlComponentCheck(IX_FEATURECTRL_ETH0) == if (ixFeatureCtrlComponentCheck(IX_FEATURECTRL_ETH0) ==
IX_FEATURE_CTRL_COMPONENT_ENABLED) IX_FEATURE_CTRL_COMPONENT_ENABLED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment