This patch adds macros to extract the hawkeye and version number from IDCODE value. Updated function get_cpu_rev() to use new macro. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>