diff options
Diffstat (limited to 'payloads/libpayload/Config.in')
-rw-r--r-- | payloads/libpayload/Config.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/payloads/libpayload/Config.in b/payloads/libpayload/Config.in index 40c57dcb06..4d4876182e 100644 --- a/payloads/libpayload/Config.in +++ b/payloads/libpayload/Config.in @@ -405,6 +405,9 @@ config TIMER_CYGNUS config TIMER_IMG_PISTACHIO bool "Timer for IMG Pistachio" +config TIMER_MTK + bool "Timer for MediaTek MT8173" + endchoice config TIMER_MCT_HZ @@ -447,6 +450,20 @@ config IPROC_PERIPH_GLB_TIM_REG_BASE depends on TIMER_CYGNUS default 0x19020200 +config TIMER_MTK_HZ + int "MediaTek GPT frequency" + depends on TIMER_MTK + default 13000000 + help + Clock frequency of MediaTek General Purpose Timer. + +config TIMER_MTK_ADDRESS + hex "MTK GPT register address" + depends on TIMER_MTK + default 0x10008048 + help + Address of GPT4's counter register to read the FREERUN-mode timer value. + config USB bool "USB Support" default n |