mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
powerpc/85xx: add SerDes bank 4 lanes
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>
This commit is contained in:
parent
7d83b79c2b
commit
ca9131c056
@ -103,6 +103,10 @@ static const struct {
|
|||||||
{ 22, 168, FSL_SRDS_BANK_3 },
|
{ 22, 168, FSL_SRDS_BANK_3 },
|
||||||
{ 23, 169, FSL_SRDS_BANK_3 },
|
{ 23, 169, FSL_SRDS_BANK_3 },
|
||||||
#endif
|
#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)
|
int serdes_get_lane_idx(int lane)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user