mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
add support for IXP42x Rev. B1 and newer
Signed-off-by: Michael Schwingen <michael@schwingen.org>
This commit is contained in:
parent
c3dc3dfb7e
commit
20f172815d
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue