diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-10-07 16:16:48 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2015-04-04 15:03:37 +0200 |
commit | acbf32a0422555b5edfaa60559dbcaf90adb4167 (patch) | |
tree | 89c425f352b492431d5df197e0271f83cd73cf66 /src/soc/nvidia/tegra132/addressmap.c | |
parent | b6092b7e396d5e7ab55cb7c11375b6a8fec7cd61 (diff) |
tegra132: remove framebuffer reservation
There's no need to reserve the framebuffer within coreboot. If the
payloads need a framebuffer they can allocate one themselves.
BUG=chrome-os-partner:31355
BRANCH=None
TEST=Built and booted on ryu.
Original-Change-Id: I8d8b159e7fdd877e392193c5474a7518e9b3ad21
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/221726
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
(cherry picked from commit 1ff8da9fed414fceeda3f94b296312f4531b320f)
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Change-Id: I4e7c0417824f2be9836b1bc2bb99322c78490ca2
Reviewed-on: http://review.coreboot.org/9256
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/addressmap.c')
-rw-r--r-- | src/soc/nvidia/tegra132/addressmap.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/soc/nvidia/tegra132/addressmap.c b/src/soc/nvidia/tegra132/addressmap.c index d7ade2f6d4..3df15b7841 100644 --- a/src/soc/nvidia/tegra132/addressmap.c +++ b/src/soc/nvidia/tegra132/addressmap.c @@ -22,7 +22,6 @@ #include <stdlib.h> #include <console/console.h> #include <soc/addressmap.h> -#include <soc/display.h> #include <soc/id.h> #include "mc.h" #include "sdram.h" @@ -166,20 +165,6 @@ void memory_in_range_above_4gb(uintptr_t *base_mib, uintptr_t *end_mib) memory_in_range(base_mib, end_mib, 0); } -uintptr_t framebuffer_attributes(size_t *size_mib) -{ - uintptr_t begin; - uintptr_t end; - - /* Place the framebuffer just below the 32-bit addressable limit. */ - memory_in_range_below_4gb(&begin, &end); - - *size_mib = FB_SIZE_MB; - end -= *size_mib; - - return end; -} - void trustzone_region_init(void) { struct tegra_mc_regs * const mc = (void *)(uintptr_t)TEGRA_MC_BASE; |