diff options
| author | Peng Fan <[email protected]> | 2026-06-09 16:36:22 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 17:05:36 -0300 |
| commit | 2571e319c57ebb3c7fa608f65d3cf4e455f443f6 (patch) | |
| tree | f62aaafc5f28a6b28434be3a27e2335a94afc2f6 /arch | |
| parent | 0f09e834acf93049991947dd821890dfce36adb3 (diff) | |
imx7ulp: cleanup get_imx_type
There is only one SoC and no external user of get_imx_type for i.MX7ULP,
so directly embed the string in print_cpuinfo and drop get_imx_type().
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-imx/mx7ulp/soc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c index ca1cf759fe1..1dd350cf50e 100644 --- a/arch/arm/mach-imx/mx7ulp/soc.c +++ b/arch/arm/mach-imx/mx7ulp/soc.c @@ -259,11 +259,6 @@ void reset_cpu(void) #endif #if defined(CONFIG_DISPLAY_CPUINFO) -const char *get_imx_type(u32 imxtype) -{ - return "7ULP"; -} - int print_cpuinfo(void) { u32 cpurev; @@ -271,8 +266,7 @@ int print_cpuinfo(void) cpurev = get_cpu_rev(); - printf("CPU: Freescale i.MX%s rev%d.%d at %d MHz\n", - get_imx_type((cpurev & 0xFF000) >> 12), + printf("CPU: Freescale i.MX7ULP rev%d.%d at %d MHz\n", (cpurev & 0x000F0) >> 4, (cpurev & 0x0000F) >> 0, mxc_get_clock(MXC_ARM_CLK) / 1000000); |
