[U-Boot] [PATCH v3 02/11] arch/powerpc: Fix mapping of Freescale SerDes protocols

York Sun yorksun at freescale.com
Fri Jan 23 01:38:22 CET 2015



On 01/12/2015 06:08 AM, Codrin Ciubotariu wrote:
> 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 at freescale.com>
> ---
> 
> Changes for v2: There is no v1 version of this patch;
> 
> Changes for v3:
> 	- replaced 'int' type of seredesX_prtcl_map[] with 'u8';
> 	- removed "Change-id" line from comment;
> 

Applied to u-boot-mpc85xx master branch, awaiting upstream.

York



More information about the U-Boot mailing list