summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-08-02 20:40:45 +0200
committerAbel Vesa <abel.vesa@linaro.org>2023-08-14 12:41:05 +0300
commitb8a06b125c245eb946d88847e052294a85b206c3 (patch)
tree147a8e75c14d362715711357a966193503c1d22d /include/soc
parent35ec2abb54726e1a72c570f6465811e049d81cbc (diff)
clk: imx25: print silicon revision during init
Print the imx25 silicon revision when the clocks are initialised. Use the same mechanism as for imx27, i.e. call mx25_revision. This function is unused at the moment. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Fabio Estevam <festevam@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20230802184046.153394-2-martin@kaiser.cx Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/imx/revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/imx/revision.h b/include/soc/imx/revision.h
index b2a55dafaf0a..b122d2fc8881 100644
--- a/include/soc/imx/revision.h
+++ b/include/soc/imx/revision.h
@@ -22,6 +22,7 @@
#define IMX_CHIP_REVISION_3_3 0x33
#define IMX_CHIP_REVISION_UNKNOWN 0xff
+int mx25_revision(void);
int mx27_revision(void);
int mx31_revision(void);
int mx35_revision(void);