mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
arch_misc_init support for ARM architectures
This patch is required for Kirkwood support may be used by other ARM architectures Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:

committed by
Wolfgang Denk

parent
b2403589b4
commit
a24d96e40e
@ -42,6 +42,7 @@ int cleanup_before_linux(void);
|
||||
|
||||
/* cpu/.../arch/cpu.c */
|
||||
int arch_cpu_init(void);
|
||||
int arch_misc_init(void);
|
||||
|
||||
/* board/.../... */
|
||||
int board_init(void);
|
||||
|
@ -399,6 +399,10 @@ void start_armboot (void)
|
||||
|
||||
console_init_r (); /* fully init console as a device */
|
||||
|
||||
#if defined(CONFIG_ARCH_MISC_INIT)
|
||||
/* miscellaneous arch dependent initialisations */
|
||||
arch_misc_init ();
|
||||
#endif
|
||||
#if defined(CONFIG_MISC_INIT_R)
|
||||
/* miscellaneous platform dependent initialisations */
|
||||
misc_init_r ();
|
||||
|
Reference in New Issue
Block a user