mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Add a couple of functions to look up the segment and part name using SIP calls. These will be used to print more accurate CPU information in print_cpuinfo(). Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com> Link: https://patch.msgid.link/20260330-mtk-mt8189-cpu-type-v1-1-4059c3b52761@baylibre.com Signed-off-by: David Lechner <dlechner@baylibre.com>
15 lines
282 B
C
15 lines
282 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2026 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef _MACH_MEDIATEK_CPU_H_
|
|
#define _MACH_MEDIATEK_CPU_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
u32 mediatek_sip_segment_name(void);
|
|
u32 mediatek_sip_part_name(void);
|
|
|
|
#endif /* _MACH_MEDIATEK_CPU_H_ */
|