]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: Unify Tegra186 builds
authorThierry Reding <treding@nvidia.com>
Mon, 15 Apr 2019 09:32:28 +0000 (11:32 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Jun 2019 16:16:34 +0000 (09:16 -0700)
commita0dbc1314c3275c3af3591fc6f4762ff3367a4fd
treeae28f02b13babccb6eea7b0252d71007f5da4e7d
parent8e90c8d64bfe3c7b89a6bf1bf42d902c0633881a
ARM: tegra: Unify Tegra186 builds

Tegra186 build are currently dealt with in very special ways, which is
because Tegra186 is fundamentally different in many respects. It is no
longer necessary to do many of the low-level programming because early
boot firmware will already have taken care of it.

Unfortunately, separating Tegra186 builds from the rest in this way
makes it difficult to share code with prior generations of Tegra. With
all of the low-level programming code behind Kconfig guards, the build
for Tegra186 can again be unified.

As a side-effect, and partial reason for this change, other Tegra SoC
generations can now make use of the code that deals with taking over a
boot from earlier bootloaders. This used to be nvtboot, but has been
replaced by cboot nowadays. Rename the files and functions related to
this to avoid confusion. The implemented protocols are unchanged.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/cboot.h [new file with mode: 0644]
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board.c
arch/arm/mach-tegra/board186.c [deleted file]
arch/arm/mach-tegra/board2.c
arch/arm/mach-tegra/cboot.c [moved from arch/arm/mach-tegra/tegra186/nvtboot_board.c with 56% similarity]
arch/arm/mach-tegra/cboot_ll.S [moved from arch/arm/mach-tegra/tegra186/nvtboot_ll.S with 57% similarity]
arch/arm/mach-tegra/tegra186/Makefile
arch/arm/mach-tegra/tegra186/nvtboot_mem.c [deleted file]
board/nvidia/p2771-0000/p2771-0000.c