diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-07-17 19:00:29 +0800 |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2014-08-07 15:15:14 +0800 |
commit | c49eabeffce351b561d79466a6f7cc4e304c063a (patch) | |
tree | 5212c5c788aa620a9f5ca0ace8dc2d8f4958a5fc /arch/blackfin/include | |
parent | 9f9a65c80a2e435074d5cd5b4a0ce7af591dfd3d (diff) | |
download | u-boot-imx-c49eabeffce351b561d79466a6f7cc4e304c063a.zip u-boot-imx-c49eabeffce351b561d79466a6f7cc4e304c063a.tar.gz u-boot-imx-c49eabeffce351b561d79466a6f7cc4e304c063a.tar.bz2 |
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/include')
-rw-r--r-- | arch/blackfin/include/asm/config.h | 4 | ||||
-rw-r--r-- | arch/blackfin/include/asm/u-boot.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index 1da386e..836658a 100644 --- a/arch/blackfin/include/asm/config.h +++ b/arch/blackfin/include/asm/config.h @@ -174,4 +174,8 @@ } #endif +#define CONFIG_SYS_GENERIC_BOARD +#define CONFIG_DISPLAY_CPUINFO +#define CONFIG_ARCH_MISC_INIT + #endif diff --git a/arch/blackfin/include/asm/u-boot.h b/arch/blackfin/include/asm/u-boot.h index acaeee9..7b5cf6a 100644 --- a/arch/blackfin/include/asm/u-boot.h +++ b/arch/blackfin/include/asm/u-boot.h @@ -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_ */ |