aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-09-23 04:06:25 -0400
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:45 -0500
commitb635f1912da764c960c044ffd58ba27157aa2c85 (patch)
treec2abb6c09c7f517380379582307a7bc6a4b8cef2 /arch/blackfin
parentdf5de261306d9bfc1ed9121595593b10a7626b95 (diff)
Blackfin: allow boards to register early devices
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/setup.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 95448ae9c43..69cbc1a8120 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -792,10 +792,17 @@ static inline int __init get_mem_size(void)
792 BUG(); 792 BUG();
793} 793}
794 794
795__attribute__((weak))
796void __init native_machine_early_platform_add_devices(void)
797{
798}
799
795void __init setup_arch(char **cmdline_p) 800void __init setup_arch(char **cmdline_p)
796{ 801{
797 unsigned long sclk, cclk; 802 unsigned long sclk, cclk;
798 803
804 native_machine_early_platform_add_devices();
805
799 enable_shadow_console(); 806 enable_shadow_console();
800 807
801 /* Check to make sure we are running on the right processor */ 808 /* Check to make sure we are running on the right processor */