1/* 2 * arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority 3 * 4 * Copyright 2012 Analog Devices Inc. 5 * 6 * Licensed under the GPL-2 or later. 7 */ 8 9#define SCB_SLOT_OFFSET 24 10#define SCB_MI_MAX_SLOT 32 11 12struct scb_mi_prio { 13 unsigned long scb_mi_arbr; 14 unsigned long scb_mi_arbw; 15 unsigned char scb_mi_slots; 16 unsigned char scb_mi_prio[SCB_MI_MAX_SLOT]; 17}; 18 19extern struct scb_mi_prio scb_data[]; 20 21extern void init_scb(void); 22