]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_sh/config.mk
push LOAD_ADDR out to arch mk files
[karo-tx-uboot.git] / lib_sh / config.mk
index 67d7e9e6cc00084923ff8961165133d025e1486d..fa5369fd0843db5d6c6737f04bf60a91e1edf87d 100644 (file)
 
 CROSS_COMPILE ?= sh4-linux-
 
+STANDALONE_LOAD_ADDR = 0x8C000000
+ifeq ($(CPU),sh2)
+STANDALONE_LOAD_ADDR += -EB
+endif
+
 PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
 PLATFORM_LDFLAGS += -e $(TEXT_BASE) --defsym reloc_dst=$(TEXT_BASE)