/* * omap_rev bits: * CPU id bits (0730, 1510, 1710, 2422...) [31:16] * CPU revision (See _REV_ defined in cpu.h) [15:08] * CPU class bits (15xx, 16xx, 24xx, 34xx...) [07:00]
*/ unsignedint omap_rev(void);
/* * Get the CPU revision for OMAP devices
*/ #define GET_OMAP_REVISION() ((omap_rev() >> 8) & 0xff)
/* * Macros to group OMAP into cpu classes. * These can be used in most places. * cpu_is_omap15xx(): True for OMAP1510, OMAP5910 and OMAP310 * cpu_is_omap16xx(): True for OMAP1610, OMAP5912 and OMAP1710
*/ #define GET_OMAP_CLASS (omap_rev() & 0xff)
/* * Macros to detect individual cpu types. * These are only rarely needed. * cpu_is_omap310(): True for OMAP310 * cpu_is_omap1510(): True for OMAP1510 * cpu_is_omap1610(): True for OMAP1610 * cpu_is_omap1611(): True for OMAP1611 * cpu_is_omap5912(): True for OMAP5912 * cpu_is_omap1621(): True for OMAP1621 * cpu_is_omap1710(): True for OMAP1710
*/ #define GET_OMAP_TYPE ((omap_rev() >> 16) & 0xffff)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.