summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-18 18:39:00 -0500
committerTom Rini <trini@konsulko.com>2017-12-18 18:39:00 -0500
commit1a3fc354b50b2a86361964b6d695ce26058248f5 (patch)
treed4d6fa80b189ff547e8ec320daecdbe4675e7ffe /drivers/net
parent1a1e7072e3f5499c919fadf949ddb5ce654a17a3 (diff)
parent1b7910a37ccc889e1b58a5f6e095a39728564bb8 (diff)
downloadu-boot-1a3fc354b50b2a86361964b6d695ce26058248f5.tar.gz
u-boot-1a3fc354b50b2a86361964b6d695ce26058248f5.tar.bz2
u-boot-1a3fc354b50b2a86361964b6d695ce26058248f5.zip
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/fsl-mc/dpio/qbman_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fsl-mc/dpio/qbman_private.h b/drivers/net/fsl-mc/dpio/qbman_private.h
index 73bbae373e..873323be0f 100644
--- a/drivers/net/fsl-mc/dpio/qbman_private.h
+++ b/drivers/net/fsl-mc/dpio/qbman_private.h
@@ -175,8 +175,8 @@ void qbman_version(u32 *major, u32 *minor)
* LS2080A SoC and its personalities has qbman cotroller version 4.0
* New SoCs like LS2088A, LS1088A has qbman conroller version 4.1
*/
- svr_dev_id = get_svr() >> 16;
- if (svr_dev_id == SVR_DEV_LS2080A) {
+ svr_dev_id = get_svr();
+ if (IS_SVR_DEV(svr_dev_id, SVR_DEV(SVR_LS2080A))) {
*major = 4;
*minor = 0;
} else {