mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-28 13:53:44 +09:00
![Jagan Teki](/assets/img/avatar_default.png)
Add cpu information for rockchip soc. This would help to print the SoC family number, with associated temparature, clock and reason for reset etc. Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
17 lines
311 B
C
17 lines
311 B
C
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* (C) Copyright 2019 Amarula Solutions(India)
|
|
* Author: Jagan Teki <jagan@amarulasolutions.com>
|
|
*/
|
|
|
|
#include <common.h>
|
|
|
|
int print_cpuinfo(void)
|
|
{
|
|
printf("SoC: Rockchip %s\n", CONFIG_SYS_SOC);
|
|
|
|
/* TODO print operating temparature and clock */
|
|
|
|
return 0;
|
|
}
|