blob: 324d511b85d7fc0fead1e5f6618075eee5ea5369 [file] [log] [blame]
Tristan Shieh3ddf57e2018-05-31 09:20:53 +08001config SOC_MEDIATEK_MT8183
2 bool
3 default n
4 select ARCH_BOOTBLOCK_ARMV8_64
5 select ARCH_RAMSTAGE_ARMV8_64
6 select ARCH_ROMSTAGE_ARMV8_64
7 select ARCH_VERSTAGE_ARMV8_64
8 select ARM64_USE_ARM_TRUSTED_FIRMWARE
Xi Chena3b19442021-03-03 18:04:28 +08009 select HAVE_DEBUG_RAM_SETUP
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080010 select HAVE_UART_SPECIAL
Hung-Te Lin03e9cb92018-06-26 13:42:04 +080011 select COMPRESS_BOOTBLOCK
Xi Chene8c681c2021-03-03 17:58:07 +080012 select SOC_MEDIATEK_COMMON
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080013
14if SOC_MEDIATEK_MT8183
15
Furquan Shaikh46514c22020-06-11 11:59:07 -070016config MEMLAYOUT_LD_FILE
17 string
18 default "src/soc/mediatek/mt8183/memlayout.ld"
19
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080020config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080021 select VBOOT_MUST_REQUEST_DISPLAY
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080022 select VBOOT_STARTS_IN_BOOTBLOCK
23 select VBOOT_SEPARATE_VERSTAGE
Tristan Shieh526d8402019-08-06 14:19:03 +080024 select VBOOT_RETURN_FROM_VERSTAGE
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080025
Huayang Duan8e71ca02019-08-19 16:22:48 +080026config MT8183_DRAM_EMCP
27 bool
28 default n
29 help
30 The eMCP platform should select this option to run at different DRAM
31 frequencies.
32
Huayang Duancea735c2019-09-24 14:07:11 +080033config MT8183_DRAM_DVFS
34 bool
35 default y
36 help
37 This options enables DRAM calibration with multiple frequencies (low,
38 medium and high) for DVFS feature.
39
Yidi Lineb69dd62020-12-07 20:43:50 +080040config SSPM_FIRMWARE
41 string
42 default "sspm.bin"
43 help
44 The file name of the MediaTek SSPM firmware.
45
46
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080047endif