xref: /rk3399_rockchip-uboot/arch/arm/mach-rockchip/cpu.c (revision a8a4d6c05a2e5f52e75e5096f9470aa3d36fd000)
1 /*
2  * (C) Copyright 2025 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 
7 #include <common.h>
8 #include <asm/arch/cpu.h>
9 
10 static int bsoc_id = 0;
11 
12 void board_soc_id_init(int id)
13 {
14 	bsoc_id = id;
15 }
16 
17 int board_soc_id(void)
18 {
19 	return bsoc_id;
20 }
21 
22