Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c | 3 +++ include/asm-blackfin/mach-bf561/bf561.h | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index b494f73..96ee2fa 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -117,6 +117,9 @@ static u_int get_dsp_rev_id(void) { u_int id; id = bfin_read_DSPID() & 0xffff; +#if defined(CONFIG_BF561) + id>>=8; +#endif return id; } diff --git a/include/asm-blackfin/mach-bf561/bf561.h b/include/asm-blackfin/mach-bf561/bf561.h index cd90a1c..ded1796 100644 --- a/include/asm-blackfin/mach-bf561/bf561.h +++ b/include/asm-blackfin/mach-bf561/bf561.h @@ -30,7 +30,7 @@ #ifndef __MACH_BF561_H__ #define __MACH_BF561_H__ -#define SUPPORTED_DSPID 0x300 +#define SUPPORTED_DSPID 0x3 #define OFFSET_(x) ((x) & 0x0000FFFF) #define L1_ISRAM 0xFFA00000 -- 1.5.0.5 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/