summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm926ejs/mx25/Makefile
diff options
context:
space:
mode:
authorMatthias Weisser <weisserm@arcor.de>2011-07-06 00:28:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-07-14 15:41:24 +0200
commit23210d8e1b369404c27ec6cc4a44ed069c4bb5ac (patch)
tree08db1b8173e06f9836fc197c44f3d0a91d7c7cb7 /arch/arm/cpu/arm926ejs/mx25/Makefile
parentdddb7c9ffdb3813c1242aa43b935dd3484c53a35 (diff)
downloadtalos-obmc-uboot-23210d8e1b369404c27ec6cc4a44ed069c4bb5ac.tar.gz
talos-obmc-uboot-23210d8e1b369404c27ec6cc4a44ed069c4bb5ac.zip
imx: Add auto generation of asm-offsets.h for imx25
Offsets to registers may be needed in asm code. This patch adds automated generation of these offsets form C structures. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx25/Makefile')
-rw-r--r--arch/arm/cpu/arm926ejs/mx25/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx25/Makefile b/arch/arm/cpu/arm926ejs/mx25/Makefile
index 3c2a65ed79..9219c062b0 100644
--- a/arch/arm/cpu/arm926ejs/mx25/Makefile
+++ b/arch/arm/cpu/arm926ejs/mx25/Makefile
@@ -34,6 +34,8 @@ all: $(obj).depend $(LIB)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
+$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
+
#########################################################################
# defines $(obj).depend target
OpenPOWER on IntegriCloud