From: John Hodge Date: Thu, 29 Dec 2011 12:32:36 +0000 (+0800) Subject: Kernel/armv7 - Fidding with tegra2 config X-Git-Tag: rel0.14~22 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=94be93ec5e29d1ca28e773d15174567112b1c5bd;p=tpg%2Facess2.git Kernel/armv7 - Fidding with tegra2 config --- 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