Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56657
b: refs/heads/master
c: a9c59c2
h: refs/heads/master
i:
  56655: 89df533
v: v3
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed May 21, 2007
1 parent 16805bd commit 7ec9ed4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19381f024b01413d83cec1655c3fc4c9c09ae274
refs/heads/master: a9c59c2746c7e773839d51027c0e16ccf41f8fef
8 changes: 8 additions & 0 deletions trunk/arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
#include <asm/blackfin.h>
#include <asm/cplbinit.h>

u16 _bfin_swrst;

unsigned long memory_start, memory_end, physical_mem_end;
unsigned long reserved_mem_dcache_on;
unsigned long reserved_mem_icache_on;
Expand Down Expand Up @@ -381,6 +383,12 @@ void __init setup_arch(char **cmdline_p)
if (l1_length > L1_DATA_A_LENGTH)
panic("L1 memory overflow\n");

#ifdef BF561_FAMILY
_bfin_swrst = bfin_read_SICA_SWRST();
#else
_bfin_swrst = bfin_read_SWRST();
#endif

bf53x_cache_init();

printk(KERN_INFO "Hardware Trace Enabled\n");
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-blackfin/bfin-global.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ extern unsigned long dpdt_swapcount_table[];

extern unsigned long table_start, table_end;

extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */
extern struct file_operations dpmc_fops;
extern char _start;
extern unsigned long _ramstart, _ramend, _rambase;
Expand Down

0 comments on commit 7ec9ed4

Please sign in to comment.