u-boot/arch/mips/mach-bmips
Álvaro Fernández Rojas ee422142f4 MIPS: add initial infrastructure for Broadcom MIPS SoCs
CFE checks CPU Thread in a different way (using register $22):
mfc0	t1, C0_BCM_CONFIG, 3 # $22
li	t2, CP0_CMT_TPID # (1 << 31)
and	t1, t2
bnez	t1, 2f	# if we are running on thread 1, skip init
nop

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-05-10 16:16:09 +02:00
..
dram.c MIPS: add initial infrastructure for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
Kconfig MIPS: add initial infrastructure for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
Makefile MIPS: add initial infrastructure for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00