]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
add support for IXP42x Rev. B1 and newer
authorMichael Schwingen <michael@schwingen.org>
Sun, 22 May 2011 21:59:58 +0000 (23:59 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 23 Jun 2011 06:24:55 +0000 (08:24 +0200)
Signed-off-by: Michael Schwingen <michael@schwingen.org>
arch/arm/cpu/ixp/npe/npe.c

index 857bcadc0bf9773e11acdba97ebde3a209e32a15..6d92c53d4c16a0df096344762bb5c692a9a18911 100644 (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)