]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/85xx: add SerDes bank 4 lanes
authorTimur Tabi <timur@tabi.org>
Mon, 25 Mar 2013 07:30:08 +0000 (07:30 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 2 May 2013 21:56:45 +0000 (16:56 -0500)
Only some chips have four SerDes banks, so don't define lanes for a bank
that doesn't exist.

Signed-off-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c

index 825a29238db2b5fad6e69d8e5cbdb5f612434a12..b621adf4af516bb9e5599bd0ce675af0437fb64b 100644 (file)
@@ -103,6 +103,10 @@ static const struct {
        { 22, 168, FSL_SRDS_BANK_3 },
        { 23, 169, FSL_SRDS_BANK_3 },
 #endif
+#if SRDS_MAX_BANK > 3
+       { 24, 175, FSL_SRDS_BANK_4 },
+       { 25, 176, FSL_SRDS_BANK_4 },
+#endif
 };
 
 int serdes_get_lane_idx(int lane)