Mercurial > libavcodec.hg
comparison bfin/config_bfin.h @ 11063:8327c5b4df9b libavcodec
Blackfin: use SRAM only when CONFIG_SRAM is set
author | mru |
---|---|
date | Sun, 31 Jan 2010 00:20:30 +0000 |
parents | f9c847fb4839 |
children |
comparison
equal
deleted
inserted
replaced
11062:a8e640f4f388 | 11063:8327c5b4df9b |
---|---|
29 */ | 29 */ |
30 | 30 |
31 #ifndef AVCODEC_BFIN_CONFIG_BFIN_H | 31 #ifndef AVCODEC_BFIN_CONFIG_BFIN_H |
32 #define AVCODEC_BFIN_CONFIG_BFIN_H | 32 #define AVCODEC_BFIN_CONFIG_BFIN_H |
33 | 33 |
34 #include "config.h" | |
35 | |
34 #ifndef DEFUN | 36 #ifndef DEFUN |
35 | 37 |
36 #define mL3 .text | 38 #define mL3 .text |
37 #ifndef mL1 | 39 #ifndef mL1 |
38 #ifdef __FDPIC__ | 40 #if defined(__FDPIC__) && CONFIG_SRAM |
39 #define mL1 .l1.text | 41 #define mL1 .l1.text |
40 #else | 42 #else |
41 #define mL1 mL3 | 43 #define mL1 mL3 |
42 #endif | 44 #endif |
43 #endif | 45 #endif |