| // SPDX-License-Identifier: GPL-2.0+ |
| * Copyright (C) 2009 Samsung Electronics |
| * Minkyu Kang <mk7.kang@samsung.com> |
| #include <display_options.h> |
| #include <asm/global_data.h> |
| #include <asm/arch/clk.h> |
| unsigned int s5p_cpu_id = 0xC100; |
| unsigned int s5p_cpu_rev = 1; |
| #ifdef CONFIG_ARCH_CPU_INIT |
| u32 get_device_type(void) |
| #ifdef CONFIG_DISPLAY_CPUINFO |
| /* For SoC with no real CPU ID in naming convention. */ |
| cpu_model = fdt_getprop(gd->fdt_blob, 0, "cpu-model", &len); |
| printf("CPU: %.*s @ ", len, cpu_model); |
| printf("CPU: %s%X @ ", s5p_get_cpu_name(), s5p_cpu_id); |
| print_freq(get_arm_clk(), "\n"); |