Skip to content

Commit

Permalink
Blackfin: document anomaly 05000234 workaround
Browse files Browse the repository at this point in the history
Note the reason for using CHIPD over DSPID.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Robin Getz authored and Mike Frysinger committed Jun 12, 2009
1 parent fecbd73 commit bc4d6f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/blackfin/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ unsigned long get_wchan(struct task_struct *p);
/* Get the Silicon Revision of the chip */
static inline uint32_t __pure bfin_revid(void)
{
/* stored in the upper 4 bits */
uint32_t revid = bfin_read_CHIPID() >> 28;
/* Always use CHIPID, to work around ANOMALY_05000234 */
uint32_t revid = (bfin_read_CHIPID() & CHIPID_VERSION) >> 28;

#ifdef CONFIG_BF52x
/* ANOMALY_05000357
Expand Down

0 comments on commit bc4d6f3

Please sign in to comment.