Skip to content

Commit

Permalink
Merge tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/…
Browse files Browse the repository at this point in the history
…kernel/git/realmz6/blackfin-linux

Pull blackfin updates from Steven Miao.

* tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux:
  blackfin: Ignore generated uImages
  blackfin: Add STMMAC platform data to enable dwmac1000 driver on BF60x.
  bf609: adv7343: add S-Video and Component output support
  bf609: add adv7343 video encoder support
  clock: add stmmac clock for ethernet driver
  blackfin: scb: Add SCB1 to SCB9 config options and data.
  blackfin: scb: Add system crossbar init code.
  • Loading branch information
torvalds committed Sep 13, 2013
2 parents 0898d2a + 08b67fa commit 951a730
Show file tree
Hide file tree
Showing 11 changed files with 2,219 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/blackfin/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vmImage*
vmlinux*
uImage*
21 changes: 21 additions & 0 deletions arch/blackfin/include/asm/scb.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority
*
* Copyright 2012 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#define SCB_SLOT_OFFSET 24
#define SCB_MI_MAX_SLOT 32

struct scb_mi_prio {
unsigned long scb_mi_arbr;
unsigned long scb_mi_arbw;
unsigned char scb_mi_slots;
unsigned char scb_mi_prio[SCB_MI_MAX_SLOT];
};

extern struct scb_mi_prio scb_data[];

extern void init_scb(void);
6 changes: 6 additions & 0 deletions arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
#ifdef CONFIG_BF60x
#include <mach/pm.h>
#endif
#ifdef CONFIG_SCB_PRIORITY
#include <asm/scb.h>
#endif

u16 _bfin_swrst;
EXPORT_SYMBOL(_bfin_swrst);
Expand Down Expand Up @@ -1101,6 +1104,9 @@ void __init setup_arch(char **cmdline_p)
#endif
init_exception_vectors();
bfin_cache_init(); /* Initialize caches for the boot CPU */
#ifdef CONFIG_SCB_PRIORITY
init_scb();
#endif
}

static int __init topology_init(void)
Expand Down
Loading

0 comments on commit 951a730

Please sign in to comment.