summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia')
-rw-r--r--src/soc/nvidia/tegra124/lp0/Makefile2
-rw-r--r--src/soc/nvidia/tegra210/lp0/Makefile2
-rw-r--r--src/soc/nvidia/tegra210/mmu_operations.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/nvidia/tegra124/lp0/Makefile b/src/soc/nvidia/tegra124/lp0/Makefile
index 884f8b2768..e82edaa8c8 100644
--- a/src/soc/nvidia/tegra124/lp0/Makefile
+++ b/src/soc/nvidia/tegra124/lp0/Makefile
@@ -34,7 +34,7 @@ all: tegra_lp0_resume.fw
tegra_lp0_resume.elf: tegra_lp0_resume.ld tegra_lp0_resume.c
$(CC) -marm -march=armv4t -mno-unaligned-access -nostdlib -static \
-Os -fpie -Wl,--build-id=none -ggdb3 -T tegra_lp0_resume.ld \
- -include ../../../../arch/arm/include/stdint.h \
+ -include ../../../../include/stdint.h \
-include ../../../../commonlib/include/commonlib/compiler.h \
-o $@ $(filter %.c,$+)
diff --git a/src/soc/nvidia/tegra210/lp0/Makefile b/src/soc/nvidia/tegra210/lp0/Makefile
index 884f8b2768..e82edaa8c8 100644
--- a/src/soc/nvidia/tegra210/lp0/Makefile
+++ b/src/soc/nvidia/tegra210/lp0/Makefile
@@ -34,7 +34,7 @@ all: tegra_lp0_resume.fw
tegra_lp0_resume.elf: tegra_lp0_resume.ld tegra_lp0_resume.c
$(CC) -marm -march=armv4t -mno-unaligned-access -nostdlib -static \
-Os -fpie -Wl,--build-id=none -ggdb3 -T tegra_lp0_resume.ld \
- -include ../../../../arch/arm/include/stdint.h \
+ -include ../../../../include/stdint.h \
-include ../../../../commonlib/include/commonlib/compiler.h \
-o $@ $(filter %.c,$+)
diff --git a/src/soc/nvidia/tegra210/mmu_operations.c b/src/soc/nvidia/tegra210/mmu_operations.c
index 9cee6b2f29..86328a32b2 100644
--- a/src/soc/nvidia/tegra210/mmu_operations.c
+++ b/src/soc/nvidia/tegra210/mmu_operations.c
@@ -23,7 +23,7 @@
static void tegra210_mmu_config(void)
{
- uint64_t start,end;
+ uintptr_t start, end;
const unsigned long devmem = MA_DEV | MA_S | MA_RW;
const unsigned long cachedmem = MA_MEM | MA_NS | MA_RW;
const unsigned long secure_mem = MA_MEM | MA_S | MA_RW;