]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: add initial infrastructure for Broadcom MIPS SoCs
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 24 Apr 2017 22:39:20 +0000 (00:39 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
commitee422142f454d54f0ed39a2cbf083ff12e98a3e1
treeba1a8bc79898349405ecd9955001be20548a4d1d
parent193030e5916960f101e1ba406510980452bc47b6
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>
arch/mips/Kconfig
arch/mips/Makefile
arch/mips/cpu/start.S
arch/mips/mach-bmips/Kconfig [new file with mode: 0644]
arch/mips/mach-bmips/Makefile [new file with mode: 0644]
arch/mips/mach-bmips/dram.c [new file with mode: 0644]
include/configs/bmips_common.h [new file with mode: 0644]