]> git.sur5r.net Git - u-boot/commit
powerpc/85xx: get rid of enum board_slots in P4080 MDIO driver
authorTimur Tabi <timur@freescale.com>
Tue, 14 Aug 2012 06:47:25 +0000 (06:47 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:19 +0000 (10:24 -0500)
commit61fc52b660cba005cb73df2c546293f3ba608409
tree8c32ee3a1cf1da2e32c73a7db010be6ee793720c
parent4376b4c00e7ff81d950410a5fffe1e4c495e42d3
powerpc/85xx: get rid of enum board_slots in P4080 MDIO driver

enum board_slots contained six values, where SLOT1 == 1, SLOT2 == 2, and
so on.  This is pointless, so remove it.  Also move the lane_to_slot[]
array to the top of the file so that it can be used by other functions.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/corenet_ds/eth_p4080.c