soc/mediatek/common: Fix build error by including stdint.h in cpu_id.h
Include `stdint.h` in `cpu_id.h` to ensure `u32` is properly defined. This resolves build errors when files including `cpu_id.h` cannot find the definition for `u32`. BUG=b:379008996 BRANCH=none TEST=build passed Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com> Change-Id: If4b41a6eae38470d4d30baeeef50c8b1ebb82033 Reviewed-on: https://review.coreboot.org/c/coreboot/+/88630 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e49743755d
commit
965131e40f
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#ifndef SOC_MEDIATEK_COMMON_CPU_ID_H
|
||||
#define SOC_MEDIATEK_COMMON_CPU_ID_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define MTK_CPU_ID_MT8186G 0x81861001
|
||||
#define MTK_CPU_ID_MT8186T 0x81862001
|
||||
#define MTK_CPU_ID_MT8189 0x81890000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue