[U-Boot] [PATCH v6 08/14] MIPS: add initial infrastructure for Broadcom MIPS SoCs

Simon Glass sjg at chromium.org
Sat Apr 29 00:27:09 UTC 2017


On 24 April 2017 at 16:39, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
> 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 at gmail.com>
> ---
>  v6: Introduce changes suggested by Daniel Schwierzeck:
>   - Improve BMIPS_BOOT_RAM description.
>   - Remove CONFIG_BAUDRATE (selected in each board defconfig).
>   - Remove CONFIG_REMAKE_ELF (selected in each board include).
>  v5: No changes.
>  v4: No changes.
>  v3: Select CONFIG_REMAKE_ELF.
>  v2: Introduce changes suggested by Daniel Schwierzeck:
>   - Split BMIPS support patches.
>   - Replace initdram with dram_init.
>   - Merge with "fix first CPU check" patch.
>
>  arch/mips/Kconfig              | 10 ++++++++++
>  arch/mips/Makefile             |  1 +
>  arch/mips/cpu/start.S          |  5 +++++
>  arch/mips/mach-bmips/Kconfig   | 23 +++++++++++++++++++++++
>  arch/mips/mach-bmips/Makefile  |  5 +++++
>  arch/mips/mach-bmips/dram.c    | 37 +++++++++++++++++++++++++++++++++++++
>  include/configs/bmips_common.h | 23 +++++++++++++++++++++++
>  7 files changed, 104 insertions(+)
>  create mode 100644 arch/mips/mach-bmips/Kconfig
>  create mode 100644 arch/mips/mach-bmips/Makefile
>  create mode 100644 arch/mips/mach-bmips/dram.c
>  create mode 100644 include/configs/bmips_common.h

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list