8b685398a7
The ARM Makefile was copied from x86 and then modified, and as a result it was carrying a lot of baggage. On top of that, the extra complication made it inflexible, and we need a lot of flexiblity in order to support the fact that the Tegra124 starts on an ARMv4 coprocessor instead of one of the ARMv7 main CPUs. Change-Id: Ia6ddc27619bdb51e152ad0c628ad6f3037c103ce Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/171017 Reviewed-by: Ronald Minnich <rminnich@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> (cherry picked from commit 512d942788336c8d52470135b43ee4e6a1c95f6c) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6709 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: David Hendricks <dhendrix@chromium.org>
65 lines
1.1 KiB
Text
65 lines
1.1 KiB
Text
config SOC_NVIDIA_TEGRA124
|
|
select ARCH_BOOTBLOCK_ARMV7
|
|
select ARCH_ROMSTAGE_ARMV7
|
|
select ARCH_RAMSTAGE_ARMV7
|
|
bool
|
|
default n
|
|
select CPU_HAS_BOOTBLOCK_INIT
|
|
|
|
if SOC_NVIDIA_TEGRA124
|
|
|
|
config BOOTBLOCK_CPU_INIT
|
|
string
|
|
default "soc/nvidia/tegra124/bootblock.c"
|
|
help
|
|
CPU/SoC-specific bootblock code. This is useful if the
|
|
bootblock must load microcode or copy data from ROM before
|
|
searching for the bootblock.
|
|
|
|
# ROM image layout.
|
|
#
|
|
# 0x00000 Combined bootblock and BCT blob
|
|
# 0x18000 Master CBFS header.
|
|
# 0x18080 Free for CBFS data.
|
|
|
|
config BOOTBLOCK_ROM_OFFSET
|
|
hex
|
|
default 0x0
|
|
|
|
config CBFS_HEADER_ROM_OFFSET
|
|
hex "offset of master CBFS header in ROM"
|
|
default 0x18000
|
|
|
|
config CBFS_ROM_OFFSET
|
|
hex "offset of CBFS data in ROM"
|
|
default 0x18080
|
|
|
|
config SYS_SDRAM_BASE
|
|
hex
|
|
default 0x80000000
|
|
|
|
config BOOTBLOCK_BASE
|
|
hex
|
|
default 0x80000000
|
|
|
|
config ROMSTAGE_BASE
|
|
hex
|
|
default 0x80100000
|
|
|
|
config RAMSTAGE_BASE
|
|
hex
|
|
default 0x80200000
|
|
|
|
config STACK_TOP
|
|
hex
|
|
default 0x80400000
|
|
|
|
config STACK_BOTTOM
|
|
hex
|
|
default 0x803f8000
|
|
|
|
config STACK_SIZE
|
|
hex
|
|
default 0x800
|
|
|
|
endif
|