Title: [6898] branches/2009R1/arch/blackfin/include/asm/processor.h: fix builds for parts that dont have _BOOTROM_GET_DXE_ADDRESS_TWI
- Revision
- 6898
- Author
- vapier
- Date
- 2009-07-01 10:02:04 -0500 (Wed, 01 Jul 2009)
Log Message
fix builds for parts that dont have _BOOTROM_GET_DXE_ADDRESS_TWI
Modified Paths
Diff
Modified: branches/2009R1/arch/blackfin/include/asm/processor.h (6897 => 6898)
--- branches/2009R1/arch/blackfin/include/asm/processor.h 2009-07-01 14:56:29 UTC (rev 6897)
+++ branches/2009R1/arch/blackfin/include/asm/processor.h 2009-07-01 15:02:04 UTC (rev 6898)
@@ -134,6 +134,7 @@
/* Always use CHIPID, to work around ANOMALY_05000234 */
uint32_t revid = (bfin_read_CHIPID() & CHIPID_VERSION) >> 28;
+#ifdef _BOOTROM_GET_DXE_ADDRESS_TWI
/*
* ANOMALY_05000364
* Incorrect Revision Number in DSPID Register
@@ -141,6 +142,7 @@
if (ANOMALY_05000364 &&
bfin_read16(_BOOTROM_GET_DXE_ADDRESS_TWI) == 0x2796)
revid = 1;
+#endif
return revid;
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits