Lines Matching +full:revision +full:- +full:id
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
69 * ti_revision - Returns the revision number of the device
71 * Simply returns an identifier for the revision of the chip we are running
75 * A 32-bit identifier for the current chip
84 * omap4_get_revision - determines omap4 revision
86 * Reads the registers to determine the revision of the chip we are currently
95 uint32_t revision; in omap4_get_revision() local
118 revision = ((id_code >> 28) & 0xf); in omap4_get_revision()
121 * have the wrong id code and report themselves as ES1.0 silicon. So used in omap4_get_revision()
122 * the ARM cpuid to get the correct revision. in omap4_get_revision()
124 if (revision == 0) { in omap4_get_revision()
126 revision = (id_code & 0xf) - 1; in omap4_get_revision()
131 switch (revision) { in omap4_get_revision()
145 switch (revision) { in omap4_get_revision()
162 switch (revision) { in omap4_get_revision()
176 switch (revision) { in omap4_get_revision()
187 /* Default to the latest revision if we can't determine type */ in omap4_get_revision()
192 printf("Texas Instruments OMAP%04x Processor, Revision ES%u.%u\n", in omap4_get_revision()
198 hawkeye, revision); in omap4_get_revision()
257 printf("Texas Instruments AM335%c Processor, Revision ES%u.%u\n", in am335x_get_revision()
262 * ti_cpu_ident - attempts to identify the chip we are running on