From 94be93ec5e29d1ca28e773d15174567112b1c5bd Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 29 Dec 2011 20:32:36 +0800 Subject: [PATCH] Kernel/armv7 - Fidding with tegra2 config --- BuildConf/armv7/tegra2.mk | 4 ++++ Kernel/arch/armv7/Makefile | 1 + Kernel/arch/armv7/include/options.h | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 BuildConf/armv7/tegra2.mk diff --git a/BuildConf/armv7/tegra2.mk b/BuildConf/armv7/tegra2.mk new file mode 100644 index 00000000..ad787821 --- /dev/null +++ b/BuildConf/armv7/tegra2.mk @@ -0,0 +1,4 @@ + +include $(ACESSDIR)/BuildConf/armv7/default.mk + +#MODULES += Display/Tegra2 diff --git a/Kernel/arch/armv7/Makefile b/Kernel/arch/armv7/Makefile index 2a86424f..214137a3 100644 --- a/Kernel/arch/armv7/Makefile +++ b/Kernel/arch/armv7/Makefile @@ -15,3 +15,4 @@ A_OBJ += mm_phys.o mm_virt.o proc.o proc.ao main.c: Makefile.BuildNum.$(ARCH) +POSTBUILD = objcopy $(BIN) -F binary $(BIN) diff --git a/Kernel/arch/armv7/include/options.h b/Kernel/arch/armv7/include/options.h index ffbaa127..95345ed6 100644 --- a/Kernel/arch/armv7/include/options.h +++ b/Kernel/arch/armv7/include/options.h @@ -20,10 +20,10 @@ #endif -#if PLATFORM_is_trimslice // Tegra2 +#if PLATFORM_is_tegra2 // Tegra2 # define UART0_PADDR 0x70006000 # define GICD_PADDR 0x50041000 -# define GICI_PADDR 0x60004000 // TODO: Is this actually a GIC-I? +# define GICI_PADDR 0x50040100 //# define PL110_BASE 0x10020000 // Integrator #endif -- 2.20.1