Sfoglia il codice sorgente

Merge branch 'master' of git://git.denx.de/u-boot-blackfin

Wolfgang Denk 14 anni fa
parent
commit
3388db2cd7
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 0 2
      arch/blackfin/config.mk
  2. 3 0
      arch/blackfin/include/asm/config.h

+ 0 - 2
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

+ 3 - 0
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