summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia')
-rw-r--r--src/soc/nvidia/tegra132/addressmap.c1
-rw-r--r--src/soc/nvidia/tegra132/mmu_operations.c17
2 files changed, 0 insertions, 18 deletions
diff --git a/src/soc/nvidia/tegra132/addressmap.c b/src/soc/nvidia/tegra132/addressmap.c
index 4933484a7a..d7ade2f6d4 100644
--- a/src/soc/nvidia/tegra132/addressmap.c
+++ b/src/soc/nvidia/tegra132/addressmap.c
@@ -47,7 +47,6 @@ int sdram_size_mb(void)
total_size = (read32(&mc->emem_cfg) >> MC_EMEM_CFG_SIZE_MB_SHIFT) &
MC_EMEM_CFG_SIZE_MB_MASK;
- printk(BIOS_DEBUG, "%s: Total SDRAM (MB): %u\n", __func__, total_size);
return total_size;
}
diff --git a/src/soc/nvidia/tegra132/mmu_operations.c b/src/soc/nvidia/tegra132/mmu_operations.c
index 6d6869849c..b2e1077f99 100644
--- a/src/soc/nvidia/tegra132/mmu_operations.c
+++ b/src/soc/nvidia/tegra132/mmu_operations.c
@@ -21,9 +21,6 @@
#include <stdint.h>
#include <memrange.h>
-#include <cbmem.h>
-#include <console/console.h>
-
#include <arch/mmu.h>
#include "mmu_operations.h"
#include <soc/addressmap.h>
@@ -31,19 +28,6 @@
/* This structure keeps track of all the mmap memory ranges for t132 */
static struct memranges t132_mmap_ranges;
-static void print_memranges(struct memranges *mmap_ranges)
-{
- struct range_entry *mmap_entry;
-
- printk(BIOS_DEBUG,"printing mmap entries\n");
-
- memranges_each_entry(mmap_entry, mmap_ranges) {
- printk(BIOS_DEBUG,"0x%p 0x%p 0x%lx\n",
- (void*)mmap_entry->begin,(void*)mmap_entry->end,mmap_entry->tag);
- }
-
-}
-
static void tegra132_memrange_init(struct memranges *map)
{
uint64_t start,end;
@@ -89,7 +73,6 @@ void tegra132_mmu_init(void)
tegra132_memrange_init(map);
mainboard_add_memory_ranges(map);
- print_memranges(map);
/* Place page tables at the base of the trust zone region. */
carveout_range(CARVEOUT_TZ, &tz_base_mib, &tz_size_mib);
tz_base_mib *= MiB;