u-boot-brain/arch/arm/cpu/armv8/fsl-layerscape
York Sun ef9a5fd864 armv8: fsl-layerscape: Fix "cpu status" command
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@nxp.com>
2016-10-06 09:56:57 -07:00
..
doc armv8: fsl_lsch2: Add LS1046A SoC support 2016-07-26 09:02:23 -07:00
cpu.c armv8: fsl-layerscape: Fix "cpu status" command 2016-10-06 09:56:57 -07:00
cpu.h armv8/fsl_lsch3: Change arch to fsl-layerscape 2015-10-29 10:34:00 -07:00
fdt.c ARMv8/Layerscape: switch SMP method accordingly 2016-07-19 11:34:00 -07:00
fsl_lsch2_serdes.c Merge git://git.denx.de/u-boot-fsl-qoriq 2016-09-26 17:10:56 -04:00
fsl_lsch2_speed.c armv8: ls1012a: Convert CONFIG_LS1012A to Kconfig option ARCH_LS1021A 2016-09-26 08:53:07 -07:00
fsl_lsch3_serdes.c Merge git://git.denx.de/u-boot-fsl-qoriq 2016-09-26 17:10:56 -04:00
fsl_lsch3_speed.c Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
Kconfig Convert CONFIG_SYS_FSL_ERRATUM_A010315 to Kconfig option 2016-09-26 08:53:07 -07:00
lowlevel.S armv8: ls1046a: Convert CONFIG_LS1046A to Kconfig option ARCH_LS1046A 2016-09-26 08:53:07 -07:00
ls1012a_serdes.c armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC 2016-06-03 14:12:50 -07:00
ls1043a_serdes.c armv8/ls1043ardb: Add LS1043ARDB board support 2015-10-29 10:34:01 -07:00
ls1046a_serdes.c armv8: fsl_lsch2: Add LS1046A SoC support 2016-07-26 09:02:23 -07:00
ls2080a_serdes.c armv8: fsl-layerscape: Updating entries in Serdes Table 2016-03-21 12:42:13 -07:00
Makefile armv8: ls1012a: Convert CONFIG_LS1012A to Kconfig option ARCH_LS1021A 2016-09-26 08:53:07 -07:00
mp.c armv8: fsl-layerscape: Fix "cpu status" command 2016-10-06 09:56:57 -07:00
ppa.c ls1043ardb: PPA: add PPA validation in case of secure boot 2016-09-14 14:06:39 -07:00
soc.c armv8: fsl-lsch2: enable snoopable sata read and write 2016-10-06 09:52:59 -07:00
spl.c armv8: fsl-layerscape: spl: remove BSS clearing and board_init_r 2016-09-14 14:10:22 -07:00