summaryrefslogtreecommitdiff
path: root/arch/blackfin/config.mk
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-07-17 19:00:29 +0800
committerSonic Zhang <sonic.zhang@analog.com>2014-08-07 15:15:14 +0800
commitc49eabeffce351b561d79466a6f7cc4e304c063a (patch)
tree5212c5c788aa620a9f5ca0ace8dc2d8f4958a5fc /arch/blackfin/config.mk
parent9f9a65c80a2e435074d5cd5b4a0ce7af591dfd3d (diff)
blackfin: convert blackfin board_f and board_r to use generic board init functions
- move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add a fake relocate_code function to set up the new stack only Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin/config.mk')
-rw-r--r--arch/blackfin/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/config.mk b/arch/blackfin/config.mk
index 7b17b757438..584b38b17aa 100644
--- a/arch/blackfin/config.mk
+++ b/arch/blackfin/config.mk
@@ -20,6 +20,9 @@ CONFIG_BFIN_CPU := $(strip $(CONFIG_BFIN_CPU:"%"=%))
endif
CONFIG_BFIN_BOOT_MODE := $(strip $(CONFIG_BFIN_BOOT_MODE:"%"=%))
+# Support generic board on Blackfin
+__HAVE_ARCH_GENERIC_BOARD := y
+
PLATFORM_RELFLAGS += -ffixed-P3 -fomit-frame-pointer -mno-fdpic
LDFLAGS_FINAL += --gc-sections