diff options
author | Jie Zhang <jie.zhang@analog.com> | 2007-06-25 10:04:12 (GMT) |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-25 10:04:12 (GMT) |
commit | de3025f4e2bc063c274f561f9daf2b696910ad3b (patch) | |
tree | 25119db476c843a13d1d26ae2c80af9df6096713 /include/asm-blackfin/processor.h | |
parent | a38d6181ff27824c79fc7df825164a212eff6a3f (diff) | |
download | linux-fsl-qoriq-de3025f4e2bc063c274f561f9daf2b696910ad3b.tar.xz |
Blackfin arch: Add proper -mcpu option according to the cpu and silicon revision configuration
Add silicon revision "any" and "none". Add proper -mcpu option according
to the cpu and silicon revision configuration.
Need update to use latest Blackfin cross compile toolchain.
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/processor.h')
-rw-r--r-- | include/asm-blackfin/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/processor.h b/include/asm-blackfin/processor.h index aba2b30..6bb3e0d 100644 --- a/include/asm-blackfin/processor.h +++ b/include/asm-blackfin/processor.h @@ -124,6 +124,10 @@ static inline __attribute_pure__ uint32_t bfin_compiled_revid(void) return 4; #elif defined(CONFIG_BF_REV_0_5) return 5; +#elif defined(CONFIG_BF_REV_ANY) + return 0xffff; +#else + return -1; #endif } |