mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00: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:
parent
b2403589b4
commit
a24d96e40e
2 changed files with 5 additions and 0 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue