xref: /rk3399_rockchip-uboot/arch/arm/mach-rockchip/cpu.c (revision 201537b005159fe5ce19273a718f94f12000e5da)
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 
board_soc_id_init(int id)12 void board_soc_id_init(int id)
13 {
14 	bsoc_id = id;
15 }
16 
board_soc_id(void)17 int board_soc_id(void)
18 {
19 	return bsoc_id;
20 }
21 
22