armv_chip_detect()

Updated: April 19, 2023

Synopsis:

const struct armv_chip *armv_chip_detect()

Description:

The armv_chip_detect() function checks for various configurations for Cortex A-8 and Cortex A-9 processors.

This function checks for a NULL name and non-NULL detect function to invoke the CPU-specific detect function that returns the appropriate armv_chip().

Returns:

>0
Success.
-1
Error