1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-20 18:12:11 +02:00

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>
This commit is contained in:
Sonic Zhang
2014-07-17 19:00:29 +08:00
parent 9f9a65c80a
commit c49eabeffc
12 changed files with 341 additions and 493 deletions

View File

@@ -0,0 +1,11 @@
/*
* U-boot - section.c
*
* Copyright (c) 2014 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
char __bss_start[0] __attribute__((section(".__bss_start")));
char __bss_end[0] __attribute__((section(".__bss_end")));
char __init_end[0] __attribute__((section(".__init_end")));