From: Claudio Scordino <[email protected]> This patch adds the inmate support for the Tegra TX1 board.
Signed-off-by: Claudio Scordino <[email protected]> [ralf: move all mach specific definitions to mach.h] Signed-off-by: Ralf Ramsauer <[email protected]> --- inmates/lib/arm64/Makefile.lib | 1 + inmates/lib/arm64/include/mach.h | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/inmates/lib/arm64/Makefile.lib b/inmates/lib/arm64/Makefile.lib index dc470cc977..1d72eec5e2 100644 --- a/inmates/lib/arm64/Makefile.lib +++ b/inmates/lib/arm64/Makefile.lib @@ -29,6 +29,7 @@ endef mach-$(CONFIG_MACH_FOUNDATION_V8) := FOUNDATION_V8 mach-$(CONFIG_MACH_AMD_SEATTLE) := AMD_SEATTLE mach-$(CONFIG_MACH_HI6220) := HI6220 +mach-$(CONFIG_MACH_TEGRA_TX1) := TEGRA_TX1 MACHINE := MACH_$(mach-y) KBUILD_CFLAGS += -D$(MACHINE) diff --git a/inmates/lib/arm64/include/mach.h b/inmates/lib/arm64/include/mach.h index 2f33493fec..de0cfeb78e 100644 --- a/inmates/lib/arm64/include/mach.h +++ b/inmates/lib/arm64/include/mach.h @@ -39,4 +39,13 @@ #define GICC_V2_BASE ((void *)0xf6802000) #define TIMER_IRQ 27 + +#elif defined(MACH_TEGRA_TX1) +#define CON_TYPE "8250" +#define CON_BASE 0x70006000 + +#define GICD_V2_BASE ((void *)0x50041000) +#define GICC_V2_BASE ((void *)0x50042000) + +#define TIMER_IRQ 27 #endif -- 2.11.0 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
