[PATCH v2 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers
From: tony@atomide.com (Tony Lindgren)
Date: 2017-05-22 14:53:23
Also in:
linux-devicetree, linux-omap, lkml
From: tony@atomide.com (Tony Lindgren)
Date: 2017-05-22 14:53:23
Also in:
linux-devicetree, linux-omap, lkml
* Dave Gerlach [off-list ref] [170519 11:00]:
diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c index 608008229c7d..d728b5660e36 100644 --- a/arch/arm/kernel/asm-offsets.c +++ b/arch/arm/kernel/asm-offsets.c@@ -28,6 +28,7 @@ #include <asm/vdso_datapage.h> #include <asm/hardware/cache-l2x0.h> #include <linux/kbuild.h> +#include <linux/ti-emif-sram.h> /* * Make sure that the compiler and target are compatible.@@ -183,5 +184,10 @@ int main(void) #ifdef CONFIG_VDSO DEFINE(VDSO_DATA_SIZE, sizeof(union vdso_data_store)); #endif +#if defined(CONFIG_SOC_AM33XX) || defined(CONFIG_SOC_AM43XX) + BLANK(); + ti_emif_offsets(); +#endif + return 0; }
Above still needs to be commented by Russell. As far as I'm concerned: Acked-by: Tony Lindgren <tony@atomide.com>