提交 bc4d6f36 编写于 作者: R Robin Getz 提交者: Mike Frysinger

Blackfin: document anomaly 05000234 workaround

Note the reason for using CHIPD over DSPID.
Signed-off-by: NRobin Getz <robin.getz@analog.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 fecbd736
...@@ -131,8 +131,8 @@ unsigned long get_wchan(struct task_struct *p); ...@@ -131,8 +131,8 @@ unsigned long get_wchan(struct task_struct *p);
/* Get the Silicon Revision of the chip */ /* Get the Silicon Revision of the chip */
static inline uint32_t __pure bfin_revid(void) static inline uint32_t __pure bfin_revid(void)
{ {
/* stored in the upper 4 bits */ /* Always use CHIPID, to work around ANOMALY_05000234 */
uint32_t revid = bfin_read_CHIPID() >> 28; uint32_t revid = (bfin_read_CHIPID() & CHIPID_VERSION) >> 28;
#ifdef CONFIG_BF52x #ifdef CONFIG_BF52x
/* ANOMALY_05000357 /* ANOMALY_05000357
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册