For local functions, use static for function.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
u32 mpidr;
};
-const char *get_imx8_type(u32 imxtype)
+static const char *get_imx8_type(u32 imxtype)
{
switch (imxtype) {
case MXC_CPU_IMX8QXP:
}
}
-const char *get_imx8_rev(u32 rev)
+static const char *get_imx8_rev(u32 rev)
{
switch (rev) {
case CHIP_REV_A:
}
#endif
-int cpu_imx_get_desc(const struct udevice *dev, char *buf, int size)
+static int cpu_imx_get_desc(const struct udevice *dev, char *buf, int size)
{
struct cpu_imx_plat *plat = dev_get_plat(dev);
int ret, temp;