We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ec2ab commit b8a06b1Copy full SHA for b8a06b1
drivers/clk/imx/clk-imx25.c
@@ -13,6 +13,7 @@
13
#include <linux/of.h>
14
#include <linux/of_address.h>
15
#include <linux/of_irq.h>
16
+#include <soc/imx/revision.h>
17
18
#include "clk.h"
19
@@ -220,6 +221,8 @@ static int __init __mx25_clocks_init(void __iomem *ccm_base)
220
221
222
imx_register_uart_clocks();
223
224
+ imx_print_silicon_rev("i.MX25", mx25_revision());
225
+
226
return 0;
227
}
228
include/soc/imx/revision.h
@@ -22,6 +22,7 @@
22
#define IMX_CHIP_REVISION_3_3 0x33
23
#define IMX_CHIP_REVISION_UNKNOWN 0xff
24
25
+int mx25_revision(void);
26
int mx27_revision(void);
27
int mx31_revision(void);
28
int mx35_revision(void);
0 commit comments