diff options
author | Codrin Ciubotariu <codrin.ciubotariu@freescale.com> | 2015-01-12 14:08:30 +0200 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-01-16 09:32:20 -0800 |
commit | 7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf (patch) | |
tree | 0e5d50dadb468794f00df009687cd35287fb14ac /Licenses | |
parent | 6798c324ed5f0831040324af6c60cc0786b2b36f (diff) | |
download | talos-obmc-uboot-7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf.tar.gz talos-obmc-uboot-7d33a87d9ddb7a862a12c50d1c83a2f7853cc1bf.zip |
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 'Licenses')
0 files changed, 0 insertions, 0 deletions