mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
avr32: rename cpu_init() -> arch_cpu_init()
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dbdb5abd07
commit
aa0ea2a553
3 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
int cpu_init(void)
|
int arch_cpu_init(void)
|
||||||
{
|
{
|
||||||
extern void _evba(void);
|
extern void _evba(void);
|
||||||
|
|
||||||
|
|
|
@ -25,4 +25,6 @@ typedef struct bd_info {
|
||||||
/* For image.h:image_check_target_arch() */
|
/* For image.h:image_check_target_arch() */
|
||||||
#define IH_ARCH_DEFAULT IH_ARCH_AVR32
|
#define IH_ARCH_DEFAULT IH_ARCH_AVR32
|
||||||
|
|
||||||
|
int arch_cpu_init(void);
|
||||||
|
|
||||||
#endif /* __ASM_U_BOOT_H__ */
|
#endif /* __ASM_U_BOOT_H__ */
|
||||||
|
|
|
@ -98,7 +98,7 @@ void board_init_f(ulong board_type)
|
||||||
|
|
||||||
/* Perform initialization sequence */
|
/* Perform initialization sequence */
|
||||||
board_early_init_f();
|
board_early_init_f();
|
||||||
cpu_init();
|
arch_cpu_init();
|
||||||
board_postclk_init();
|
board_postclk_init();
|
||||||
env_init();
|
env_init();
|
||||||
init_baudrate();
|
init_baudrate();
|
||||||
|
|
Loading…
Add table
Reference in a new issue