Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eef58fdd authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/



<generated/ti-emif-asm-offsets.h> is only generated and included
by drivers/memory/, so it does not need to reside in the globally
visible include/generated/.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
parent 9637d517
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
ti-emif-asm-offsets.h
+3 −2
Original line number Original line Diff line number Diff line
@@ -28,9 +28,10 @@ ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o


AFLAGS_ti-emif-sram-pm.o	:=-Wa,-march=armv7-a
AFLAGS_ti-emif-sram-pm.o	:=-Wa,-march=armv7-a


drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h
$(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h


include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE
$(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
	$(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
	$(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)


targets += emif-asm-offsets.s
targets += emif-asm-offsets.s
clean-files += ti-emif-asm-offsets.h
+1 −1
Original line number Original line Diff line number Diff line
@@ -14,12 +14,12 @@
 * GNU General Public License for more details.
 * GNU General Public License for more details.
 */
 */


#include <generated/ti-emif-asm-offsets.h>
#include <linux/linkage.h>
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/assembler.h>
#include <asm/memory.h>
#include <asm/memory.h>


#include "emif.h"
#include "emif.h"
#include "ti-emif-asm-offsets.h"


#define EMIF_POWER_MGMT_WAIT_SELF_REFRESH_8192_CYCLES	0x00a0
#define EMIF_POWER_MGMT_WAIT_SELF_REFRESH_8192_CYCLES	0x00a0
#define EMIF_POWER_MGMT_SR_TIMER_MASK			0x00f0
#define EMIF_POWER_MGMT_SR_TIMER_MASK			0x00f0