summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/cpu/bootrom-asm-offsets.c.in
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-29 15:34:16 +0900
committerSonic Zhang <sonic.zhang@analog.com>2013-12-06 16:06:51 +0800
commit985e18d14e0cb3933311945d30de6357cf8be9df (patch)
treec0ebb57feb9481f1010f9422e7db3af2c4c9ad11 /arch/blackfin/cpu/bootrom-asm-offsets.c.in
parent9bac8f77698771165def23b9eebad536d5b5cd6d (diff)
downloadtalos-obmc-uboot-985e18d14e0cb3933311945d30de6357cf8be9df.tar.gz
talos-obmc-uboot-985e18d14e0cb3933311945d30de6357cf8be9df.zip
blackfin: Do not generate unused header bootrom-asm-offsets.h
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin/cpu/bootrom-asm-offsets.c.in')
-rw-r--r--arch/blackfin/cpu/bootrom-asm-offsets.c.in12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/blackfin/cpu/bootrom-asm-offsets.c.in b/arch/blackfin/cpu/bootrom-asm-offsets.c.in
deleted file mode 100644
index 64c2f24120..0000000000
--- a/arch/blackfin/cpu/bootrom-asm-offsets.c.in
+++ /dev/null
@@ -1,12 +0,0 @@
-/* A little trick taken from the kernel asm-offsets.h where we convert
- * the C structures automatically into a bunch of defines for use in
- * the assembly files.
- */
-
-#include <linux/stddef.h>
-#include <asm/mach-common/bits/bootrom.h>
-
-#define _DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-#define DEFINE(s, m) _DEFINE(offset_##s##_##m, offsetof(s, m))
-
-int main(int argc, char * const argv[])
OpenPOWER on IntegriCloud