diff options
Diffstat (limited to 'arch/blackfin/include/asm/fixed_code.h')
-rw-r--r-- | arch/blackfin/include/asm/fixed_code.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/arch/blackfin/include/asm/fixed_code.h b/arch/blackfin/include/asm/fixed_code.h index 73fe53e7fd24..5395088b2d0e 100644 --- a/arch/blackfin/include/asm/fixed_code.h +++ b/arch/blackfin/include/asm/fixed_code.h | |||
@@ -29,24 +29,28 @@ extern void sigreturn_stub(void); | |||
29 | #endif | 29 | #endif |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #define FIXED_CODE_START 0x400 | 32 | #ifndef CONFIG_PHY_RAM_BASE_ADDRESS |
33 | #define CONFIG_PHY_RAM_BASE_ADDRESS 0x0 | ||
34 | #endif | ||
35 | |||
36 | #define FIXED_CODE_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400) | ||
33 | 37 | ||
34 | #define SIGRETURN_STUB 0x400 | 38 | #define SIGRETURN_STUB (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400) |
35 | 39 | ||
36 | #define ATOMIC_SEQS_START 0x410 | 40 | #define ATOMIC_SEQS_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x410) |
37 | 41 | ||
38 | #define ATOMIC_XCHG32 0x410 | 42 | #define ATOMIC_XCHG32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x410) |
39 | #define ATOMIC_CAS32 0x420 | 43 | #define ATOMIC_CAS32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x420) |
40 | #define ATOMIC_ADD32 0x430 | 44 | #define ATOMIC_ADD32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x430) |
41 | #define ATOMIC_SUB32 0x440 | 45 | #define ATOMIC_SUB32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x440) |
42 | #define ATOMIC_IOR32 0x450 | 46 | #define ATOMIC_IOR32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x450) |
43 | #define ATOMIC_AND32 0x460 | 47 | #define ATOMIC_AND32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x460) |
44 | #define ATOMIC_XOR32 0x470 | 48 | #define ATOMIC_XOR32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x470) |
45 | 49 | ||
46 | #define ATOMIC_SEQS_END 0x480 | 50 | #define ATOMIC_SEQS_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480) |
47 | 51 | ||
48 | #define SAFE_USER_INSTRUCTION 0x480 | 52 | #define SAFE_USER_INSTRUCTION (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480) |
49 | 53 | ||
50 | #define FIXED_CODE_END 0x490 | 54 | #define FIXED_CODE_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x490) |
51 | 55 | ||
52 | #endif | 56 | #endif |