diff options
author | Jie Zhang <jie.zhang@analog.com> | 2007-06-25 18:04:12 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-25 18:04:12 +0800 |
commit | de3025f4e2bc063c274f561f9daf2b696910ad3b (patch) | |
tree | 25119db476c843a13d1d26ae2c80af9df6096713 /include | |
parent | a38d6181ff27824c79fc7df825164a212eff6a3f (diff) | |
download | op-kernel-dev-de3025f4e2bc063c274f561f9daf2b696910ad3b.zip op-kernel-dev-de3025f4e2bc063c274f561f9daf2b696910ad3b.tar.gz |
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')
-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 } |