summaryrefslogtreecommitdiff
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-07-04 13:12:37 +0200
committerMichal Simek <monstr@monstr.eu>2012-09-11 09:24:58 +0200
commit2380b8f529ae95cc51fa475e83101e40f4191a43 (patch)
treee5148174ae1255a921a514537ac40fab4d5145cf /arch/microblaze/include
parentbcbb046bd5cba6acb07aa99cad728726be8359e6 (diff)
downloadu-boot-imx-2380b8f529ae95cc51fa475e83101e40f4191a43.zip
u-boot-imx-2380b8f529ae95cc51fa475e83101e40f4191a43.tar.gz
u-boot-imx-2380b8f529ae95cc51fa475e83101e40f4191a43.tar.bz2
microblaze: Clean microblaze initialization
Move board specific function to board_init function in board/ folder Remove externs from generic board.c Use board_init_f function in board.c file. Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stephan Linz <linz@li-pro.net>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/processor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h
index 2295d0a..2c4d5ff 100644
--- a/arch/microblaze/include/asm/processor.h
+++ b/arch/microblaze/include/asm/processor.h
@@ -28,4 +28,7 @@
extern char __end[];
extern char __text_start[];
+/* Microblaze board initialization function */
+void board_init(void);
+
#endif /* __ASM_MICROBLAZE_PROCESSOR_H */