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:
Prafulla Wadaskar 2009-05-31 14:53:20 +02:00 committed by Wolfgang Denk
parent b2403589b4
commit a24d96e40e
2 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -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 ();