summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/scb.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-11-15 05:32:26 +0100
committerSteven Miao <realmz6@gmail.com>2013-09-13 04:42:31 +0200
commit206f060c21503f33f9716710715cabba602355d5 (patch)
treecfd6cc484c2d3d0b1ec1b3ab30f522ca448d29a8 /arch/blackfin/mach-bf609/scb.c
parentblackfin: scb: Add system crossbar init code. (diff)
downloadlinux-206f060c21503f33f9716710715cabba602355d5.tar.xz
linux-206f060c21503f33f9716710715cabba602355d5.zip
blackfin: scb: Add SCB1 to SCB9 config options and data.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to '')
-rw-r--r--arch/blackfin/mach-bf609/scb.c157
1 files changed, 144 insertions, 13 deletions
diff --git a/arch/blackfin/mach-bf609/scb.c b/arch/blackfin/mach-bf609/scb.c
index 615c7a554d6b..ac1f07c33594 100644
--- a/arch/blackfin/mach-bf609/scb.c
+++ b/arch/blackfin/mach-bf609/scb.c
@@ -212,21 +212,152 @@ struct scb_mi_prio scb_data[] = {
CONFIG_SCB0_MI5_SLOT12,
CONFIG_SCB0_MI5_SLOT13,
CONFIG_SCB0_MI5_SLOT14,
- CONFIG_SCB0_MI5_SLOT15,
+ CONFIG_SCB0_MI5_SLOT15
+ },
+ },
+#endif
+#ifdef CONFIG_SCB1_MI0
+ { REG_SCB1_ARBR0, REG_SCB1_ARBW0, 20, {
+ CONFIG_SCB1_MI0_SLOT0,
+ CONFIG_SCB1_MI0_SLOT1,
+ CONFIG_SCB1_MI0_SLOT2,
+ CONFIG_SCB1_MI0_SLOT3,
+ CONFIG_SCB1_MI0_SLOT4,
+ CONFIG_SCB1_MI0_SLOT5,
+ CONFIG_SCB1_MI0_SLOT6,
+ CONFIG_SCB1_MI0_SLOT7,
+ CONFIG_SCB1_MI0_SLOT8,
+ CONFIG_SCB1_MI0_SLOT9,
+ CONFIG_SCB1_MI0_SLOT10,
+ C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IG_SCB7_MI0_SLOT5
+ },
+ },
+#endif
+#ifdef CONFIG_SCB8_MI0
+ { REG_SCB8_ARBR0, REG_SCB8_ARBW0, 8, {
+ CONFIG_SCB8_MI0_SLOT0,
+ CONFIG_SCB8_MI0_SLOT1,
+ CONFIG_SCB8_MI0_SLOT2,
+ CONFIG_SCB8_MI0_SLOT3,
+ CONFIG_SCB8_MI0_SLOT4,
+ CONFIG_SCB8_MI0_SLOT5,
+ CONFIG_SCB8_MI0_SLOT6,
+ CONFIG_SCB8_MI0_SLOT7
+ },
+ },
+#endif
+#ifdef CONFIG_SCB9_MI0
+ { REG_SCB9_ARBR0, REG_SCB9_ARBW0, 10, {
+ CONFIG_SCB9_MI0_SLOT0,
+ CONFIG_SCB9_MI0_SLOT1,
+ CONFIG_SCB9_MI0_SLOT2,
+ CONFIG_SCB9_MI0_SLOT3,
+ CONFIG_SCB9_MI0_SLOT4,
+ CONFIG_SCB9_MI0_SLOT5,
+ CONFIG_SCB9_MI0_SLOT6,
+ CONFIG_SCB9_MI0_SLOT7,
+ CONFIG_SCB9_MI0_SLOT8,
+ CONFIG_SCB9_MI0_SLOT9
},
},
#endif
-/*
- { REG_SCB1_ARBR0, REG_SCB1_ARBW0, scb1_mi0, 20 },
- { REG_SCB2_ARBR0, REG_SCB2_ARBW0, scb2_mi0, 10 },
- { REG_SCB3_ARBR0, REG_SCB3_ARBW0, scb3_mi0, 16 },
- { REG_SCB4_ARBR0, REG_SCB4_ARBW0, scb4_mi0, 16 },
- { REG_SCB5_ARBR0, REG_SCB5_ARBW0, scb5_mi0, 8 },
- { REG_SCB6_ARBR0, REG_SCB6_ARBW0, scb6_mi0, 4 },
- { REG_SCB7_ARBR0, REG_SCB7_ARBW0, scb7_mi0, 6 },
- { REG_SCB8_ARBR0, REG_SCB8_ARBW0, scb8_mi0, 8 },
- { REG_SCB9_ARBR0, REG_SCB9_ARBW0, scb9_mi0, 10 },
- { REG_SCB10_ARBR0, REG_SCB10_ARBW0, scb20_mi0, 16 },
-*/
{ 0, }
};