summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/cpu/u-boot.lds
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/cpu/u-boot.lds
parent9f9a65c80a2e435074d5cd5b4a0ce7af591dfd3d (diff)
downloadtalos-obmc-uboot-c49eabeffce351b561d79466a6f7cc4e304c063a.tar.gz
talos-obmc-uboot-c49eabeffce351b561d79466a6f7cc4e304c063a.zip
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/cpu/u-boot.lds')
-rw-r--r--arch/blackfin/cpu/u-boot.lds4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/cpu/u-boot.lds b/arch/blackfin/cpu/u-boot.lds
index 7f0411f612..ae1b813c1f 100644
--- a/arch/blackfin/cpu/u-boot.lds
+++ b/arch/blackfin/cpu/u-boot.lds
@@ -135,6 +135,8 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
} >ram_data
- __bss_vma = ADDR(.bss);
+ __bss_end = .;
+ __bss_start = ADDR(.bss);
__bss_len = SIZEOF(.bss);
+ __init_end = .;
}
OpenPOWER on IntegriCloud