]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: tegra: align carveout size
authorStephen Warren <swarren@nvidia.com>
Tue, 31 Jul 2018 18:38:27 +0000 (12:38 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 2 Aug 2018 00:06:10 +0000 (20:06 -0400)
commitaa59111f1f200d88a2b4af531f1e6eb7b0eb3a99
treee2cae64abf3683a916118d9fb3655d7658206aa0
parente83f34f1d9889c35160ccf6c5c6c740c62d3cb29
ARM: tegra: align carveout size

Align the size of the carveout region to 2M. This ensures that the size
can be accurately represented by an LPAE page table that uses sections.

This solves a bug (hang at boot time soon after printing the DRAM size)
that only shows up when the following two commits are merged together:
38b7f95ca432 ARM: HYP/non-sec: enable ARMV7_LPAE if HYP mode is supported
d10904f589b5 ARM: tegra: avoid using secure carveout RAM

Cc: Mark Kettenis <kettenis@openbsd.org>
Cc: Alexander Graf <agraf@suse.de>
Acked-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board2.c