mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
9f9a65c80a
commit
c49eabeffc
12 changed files with 341 additions and 493 deletions
|
@ -25,9 +25,12 @@ typedef struct bd_info {
|
|||
unsigned long bi_vco;
|
||||
unsigned long bi_cclk;
|
||||
unsigned long bi_sclk;
|
||||
unsigned char bi_enetaddr[6];
|
||||
} bd_t;
|
||||
|
||||
/* For image.h:image_check_target_arch() */
|
||||
#define IH_ARCH_DEFAULT IH_ARCH_BLACKFIN
|
||||
|
||||
int arch_misc_init(void);
|
||||
|
||||
#endif /* _U_BOOT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue