blob: d7b03590b8c4a85f4fc1ae612b01da3e486ba5e9 [file] [log] [blame]
Patrick Delaunay2f6030a2024-01-15 15:05:49 +01001// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
2/*
3 * Copyright (C) 2024, STMicroelectronics - All Rights Reserved
4 */
5
6#include <env.h>
7#include <asm/arch/sys_proto.h>
8#include <dm/device.h>
9
10/* used when CONFIG_DISPLAY_CPUINFO is activated */
11int print_cpuinfo(void)
12{
13 char name[SOC_NAME_SIZE];
14
15 get_soc_name(name);
16 printf("CPU: %s\n", name);
17
18 return 0;
19}