aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorWolfgang Denk2010-10-29 21:46:08 +0200
committerWolfgang Denk2010-10-29 21:46:08 +0200
commit3388db2cd72d85717596158131b3e48efe2acfea (patch)
tree590ca2d8a11329d6a5ccdfcb6324877fa7c8ee4a /arch/blackfin
parent1ecb758341bac03994ed045821f9c0f7d1686d07 (diff)
parent73520939b41d90c0925d5ea4abaa670b7fce2285 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/config.mk2
-rw-r--r--arch/blackfin/include/asm/config.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/config.mk b/arch/blackfin/config.mk
index a3300841a0c..ab117ca5ad5 100644
--- a/arch/blackfin/config.mk
+++ b/arch/blackfin/config.mk
@@ -26,8 +26,6 @@ CROSS_COMPILE ?= bfin-uclinux-
STANDALONE_LOAD_ADDR = 0x1000 -m elf32bfin
CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
-CONFIG_ENV_OFFSET := $(strip $(subst ",,$(CONFIG_ENV_OFFSET)))
-CONFIG_ENV_SIZE := $(strip $(subst ",,$(CONFIG_ENV_SIZE)))
PLATFORM_RELFLAGS += -ffixed-P3 -fomit-frame-pointer -mno-fdpic
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h
index 388434fea26..04372525cc2 100644
--- a/arch/blackfin/include/asm/config.h
+++ b/arch/blackfin/include/asm/config.h
@@ -9,6 +9,9 @@
#ifndef __ASM_BLACKFIN_CONFIG_POST_H__
#define __ASM_BLACKFIN_CONFIG_POST_H__
+/* Some of our defines use this (like CONFIG_SYS_GBL_DATA_ADDR) */
+#include <asm-offsets.h>
+
#ifndef CONFIG_BFIN_SCRATCH_REG
# define CONFIG_BFIN_SCRATCH_REG retn
#endif