diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/head.S')
-rw-r--r-- | arch/blackfin/mach-bf533/head.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S index 1d5b9dbbbaa7..3be6feefa8a9 100644 --- a/arch/blackfin/mach-bf533/head.S +++ b/arch/blackfin/mach-bf533/head.S | |||
@@ -53,10 +53,12 @@ __INIT | |||
53 | ENTRY(__start) | 53 | ENTRY(__start) |
54 | /* R0: argument of command line string, passed from uboot, save it */ | 54 | /* R0: argument of command line string, passed from uboot, save it */ |
55 | R7 = R0; | 55 | R7 = R0; |
56 | /* Set the SYSCFG register: | 56 | /* Enable Cycle Counter and Nesting Of Interrupts */ |
57 | * Enable Cycle Counter and Nesting Of Interrupts (3rd Bit) | 57 | #ifdef CONFIG_BFIN_SCRATCH_REG_CYCLES |
58 | */ | 58 | R0 = SYSCFG_SNEN; |
59 | R0 = 0x36; | 59 | #else |
60 | R0 = SYSCFG_SNEN | SYSCFG_CCEN; | ||
61 | #endif | ||
60 | SYSCFG = R0; | 62 | SYSCFG = R0; |
61 | R0 = 0; | 63 | R0 = 0; |
62 | 64 | ||