ARM: imx: add a common function to initialize revision from anatop
authorShawn Guo <shawn.guo@linaro.org>
Tue, 13 Aug 2013 06:59:43 +0000 (14:59 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 21 Oct 2013 01:13:12 +0000 (09:13 +0800)
The patch creates a common function imx_init_revision_from_anatop() by
merging imx6q_init_revision() and imx_anatop_get_digprog(), so that any
SoC that encodes revision info in anatop can use it to initialize
revision.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

No differences found