xref: /rk3399_rockchip-uboot/arch/arm/mach-rockchip/cpu.c (revision 57eee88b58e61e68fe8522a8307e1ea0de46b341)
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