summaryrefslogtreecommitdiff
path: root/include/mpc5xx.h
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>2015-01-12 14:08:30 +0200
committerYork Sun <yorksun@freescale.com>2015-01-16 09:32:20 -0800
commit7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf (patch)
tree0e5d50dadb468794f00df009687cd35287fb14ac /include/mpc5xx.h
parent6798c324ed5f0831040324af6c60cc0786b2b36f (diff)
downloadu-boot-imx-7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf.zip
u-boot-imx-7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf.tar.gz
u-boot-imx-7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf.tar.bz2
arch/powerpc: Fix mapping of Freescale SerDes protocols
The number of supported serdes protocols on Freescale SoCs has increased over time. Until now, an u64 variable have been initialized on boot with the configured protocols. However, since this number has increased (enum srds_prtcl has more than 64 values), 64 bits are no longer sufficient to hold track of all the configured protocols. This patch replaces the u64 map values with static arrays. To keep track of the number of serdes protocols, the SERDES_PRCTL_COUNT vale has been added at the end of enum srds_prtcl. This value must always be the last one. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/mpc5xx.h')
0 files changed, 0 insertions, 0 deletions