commit | f1c6f314727c7595e249c7da3933ba2bc6219e58 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Tue Aug 13 14:59:43 2013 +0800 |
committer | Shawn Guo <shawn.guo@linaro.org> | Mon Oct 21 09:13:12 2013 +0800 |
tree | 8e2550fbc365162f7914cb4410118207118005c7 | |
parent | 3f75978b3742157853618c5c6dd4a5f49aa950b1 [diff] |
ARM: imx: add a common function to initialize revision from anatop 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>