HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32009 )
Change subject: src: Use #include <timer.h> when appropriate ......................................................................
Patch Set 5:
(6 comments)
https://review.coreboot.org/#/c/32009/5/src/cpu/x86/mp_init.c File src/cpu/x86/mp_init.c:
https://review.coreboot.org/#/c/32009/5/src/cpu/x86/mp_init.c@539 PS5, Line 539: struct stopwatch sw; : : stopwatch_init(&sw); needs times.h
https://review.coreboot.org/#/c/32009/5/src/lib/thread.c File src/lib/thread.c:
https://review.coreboot.org/#/c/32009/5/src/lib/thread.c@204 PS5, Line 204: timeout_callback needs times.h
https://review.coreboot.org/#/c/32009/5/src/soc/intel/quark/storage_test.c File src/soc/intel/quark/storage_test.c:
https://review.coreboot.org/#/c/32009/5/src/soc/intel/quark/storage_test.c@1... PS5, Line 126: timer_monotonic_get( needs times.h
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/common/pmic_wrap.c File src/soc/mediatek/common/pmic_wrap.c:
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/common/pmic_wrap.c@... PS5, Line 28: stopwatch_init_usecs_expire needs times.h
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/common/rtc.c File src/soc/mediatek/common/rtc.c:
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/common/rtc.c@27 PS5, Line 27: stopwatch_init_usecs_expire( needs times.h
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/mt8183/pmic_wrap.c File src/soc/mediatek/mt8183/pmic_wrap.c:
https://review.coreboot.org/#/c/32009/5/src/soc/mediatek/mt8183/pmic_wrap.c@... PS5, Line 92: wait_us needs times.h