diff options
author | Furquan Shaikh <furquan@google.com> | 2014-06-09 13:20:04 -0700 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-03-02 21:17:21 +0100 |
commit | 732b83ed3667d7c3066d2c16406ab6acdd8f32b9 (patch) | |
tree | c8b7252aeab5fe29c175b50e17201e23340daa33 /src/soc/nvidia/tegra132/Kconfig | |
parent | 280a29d5bb5ea53ae92380a95cf8eb4543f96749 (diff) | |
download | coreboot-732b83ed3667d7c3066d2c16406ab6acdd8f32b9.tar.xz |
tegra132: Enable bootblock support in tegra132 including UART support
BUG=None
BRANCH=None
TEST=Compiles successfully
Original-Change-Id: Ia9420cfec5333dd5477f04cf080bdad8a37db025
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/203143
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit a1037f203c6a07cb116eeb1632cb7200ad022cd3)
This cherry-pick was modified to match the tegra124 uart.c, which
uses the idx and base address calculations instead of Kconfig settings.
This driver could use the 8250MEM driver when the ARM vs x86 IO
calling convention is worked out.
Change-Id: I6e439359b8bb541db4679ac144c519cf251ffed6
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/8517
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/soc/nvidia/tegra132/Kconfig')
-rw-r--r-- | src/soc/nvidia/tegra132/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/Kconfig b/src/soc/nvidia/tegra132/Kconfig index d90b8aaa8a..23f7c6e7f2 100644 --- a/src/soc/nvidia/tegra132/Kconfig +++ b/src/soc/nvidia/tegra132/Kconfig @@ -7,9 +7,21 @@ config SOC_NVIDIA_TEGRA132 select ARCH_RAMSTAGE_ARMV8_64 select ARM_LPAE select DYNAMIC_CBMEM + select BOOTBLOCK_CONSOLE + select HAVE_UART_SPECIAL + select HAVE_UART_MEMORY_MAPPED + select ARM_BOOTBLOCK_CUSTOM if SOC_NVIDIA_TEGRA132 +config BOOTBLOCK_CPU_INIT + string + default "soc/nvidia/tegra132/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. + config BOOTBLOCK_ROM_OFFSET hex default 0x0 @@ -22,4 +34,24 @@ config CBFS_ROM_OFFSET hex "offset of CBFS data in ROM" default 0x40080 +config BOOTBLOCK_BASE + hex + default 0x40020000 + +config ROMSTAGE_BASE + hex + default 0x4002c000 + +config RAMSTAGE_BASE + hex + default 0x80200000 + +config STACK_TOP + hex + default 0x40020000 + +config STACK_BOTTOM + hex + default 0x4001c000 + endif |