aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2013-09-12 04:36:16 -0400
committerSteven Miao <realmz6@gmail.com>2013-09-12 22:42:27 -0400
commit24a70cf2b28e24aa31c4f9bc310cc274c0a90183 (patch)
tree83329a8bfaf013146ba394e1285e283df1056f19 /arch/blackfin/kernel
parent6e4664525b1db28f8c4e1130957f70a94c19213e (diff)
blackfin: scb: Add system crossbar init code.
If SCB exists in select blackfin cpu, developer can change the SCB priority in kernel configuration. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r--arch/blackfin/kernel/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 19ad0637e8ff..396193042127 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -35,6 +35,9 @@
35#ifdef CONFIG_BF60x 35#ifdef CONFIG_BF60x
36#include <mach/pm.h> 36#include <mach/pm.h>
37#endif 37#endif
38#ifdef CONFIG_SCB_PRIORITY
39#include <asm/scb.h>
40#endif
38 41
39u16 _bfin_swrst; 42u16 _bfin_swrst;
40EXPORT_SYMBOL(_bfin_swrst); 43EXPORT_SYMBOL(_bfin_swrst);
@@ -1101,6 +1104,9 @@ void __init setup_arch(char **cmdline_p)
1101#endif 1104#endif
1102 init_exception_vectors(); 1105 init_exception_vectors();
1103 bfin_cache_init(); /* Initialize caches for the boot CPU */ 1106 bfin_cache_init(); /* Initialize caches for the boot CPU */
1107#ifdef CONFIG_SCB_PRIORITY
1108 init_scb();
1109#endif
1104} 1110}
1105 1111
1106static int __init topology_init(void) 1112static int __init topology_init(void)