]> git.baikalelectronics.ru Git - kernel.git/commitdiff
memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 12 Apr 2019 03:09:41 +0000 (12:09 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 01:25:10 +0000 (10:25 +0900)
<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: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
drivers/memory/.gitignore [new file with mode: 0644]
drivers/memory/Makefile
drivers/memory/ti-emif-sram-pm.S

diff --git a/drivers/memory/.gitignore b/drivers/memory/.gitignore
new file mode 100644 (file)
index 0000000..cbca8b0
--- /dev/null
@@ -0,0 +1 @@
+ti-emif-asm-offsets.h
index 91ae4eb0e9137423bf75183b4790eb69bd426374..2eb0a5b44bb996c106fd23419cdd930a8eb72a8a 100644 (file)
@@ -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
 
-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__)
 
 targets += emif-asm-offsets.s
+clean-files += ti-emif-asm-offsets.h
index d75ae18efa7dda079da080183f4662af1877dc47..d1c83bd5b98e7abd33b44ecb6632fa71714de91d 100644 (file)
  * GNU General Public License for more details.
  */
 
-#include <generated/ti-emif-asm-offsets.h>
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 #include <asm/memory.h>
 
 #include "emif.h"
+#include "ti-emif-asm-offsets.h"
 
 #define EMIF_POWER_MGMT_WAIT_SELF_REFRESH_8192_CYCLES  0x00a0
 #define EMIF_POWER_MGMT_SR_TIMER_MASK                  0x00f0