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:
Vince Liu 2025-08-01 17:33:44 +08:00 committed by Matt DeVillier
commit 965131e40f

View file

@ -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