arch_misc_init support for ARM architectures
authorPrafulla Wadaskar <prafulla@marvell.com>
Sun, 31 May 2009 12:53:20 +0000 (14:53 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:45:46 +0000 (20:45 +0200)
This patch is required for Kirkwood support
may be used by other ARM architectures

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
include/asm-arm/u-boot-arm.h
lib_arm/board.c

index 76f1ffa5a2c2cd43ecf7765f093b6d988527452a..6d2f8bccb50fd0170c8108ee696b7377c29d0ba5 100644 (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);
index e081fbccb55a268818093f4912a7657d0382d7de..5c3bfecead3c9d6bf34ea4c30a9dd32cf5111524 100644 (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 ();