[U-Boot] [PATCH] armv8: fsl-layerscape: Fix "cpu status" command
york sun
york.sun at nxp.com
Sat Oct 8 19:17:03 CEST 2016
On 09/13/2016 12:40 PM, york sun wrote:
> The core position is not continuous for some SoCs. For example,
> valid cores may present at position 0, 1, 4, 5, 8, 9, etc. Some
> registers (including boot release register) only count existing
> cores. Current implementation of cpu_mask() complies with the
> continuous numbering. However, command "cpu status" queries the
> spin table with actual core position. Add functions to calculate
> core position from core number, to correctly calculate offsets.
>
> Tested on LS2080ARDB and LS1043ARDB.
>
> Signed-off-by: York Sun <york.sun at nxp.com>
> ---
>
Applied to fsl-qoriq master, awaiting upstream.
York
More information about the U-Boot
mailing list