blob: 82827d17559ed702e031e6d4c1a77245babc68a6 [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
Tristan Shieh3ddf57e2018-05-31 09:20:53 +08009 select HAVE_UART_SPECIAL
Hung-Te Lin03e9cb92018-06-26 13:42:04 +080010 select COMPRESS_BOOTBLOCK
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080011
12if SOC_MEDIATEK_MT8183
13
Furquan Shaikh46514c22020-06-11 11:59:07 -070014config MEMLAYOUT_LD_FILE
15 string
16 default "src/soc/mediatek/mt8183/memlayout.ld"
17
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080018config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080019 select VBOOT_MUST_REQUEST_DISPLAY
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080020 select VBOOT_STARTS_IN_BOOTBLOCK
21 select VBOOT_SEPARATE_VERSTAGE
Tristan Shieh526d8402019-08-06 14:19:03 +080022 select VBOOT_RETURN_FROM_VERSTAGE
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080023
Huayang Duan4d15d2f2018-09-26 21:23:53 +080024config DEBUG_DRAM
25 bool "Output verbose DRAM related debug messages"
26 default n
27 help
28 This option enables additional DRAM related debug messages.
29
Huayang Duan8e71ca02019-08-19 16:22:48 +080030config MT8183_DRAM_EMCP
31 bool
32 default n
33 help
34 The eMCP platform should select this option to run at different DRAM
35 frequencies.
36
Huayang Duancea735c2019-09-24 14:07:11 +080037config MT8183_DRAM_DVFS
38 bool
39 default y
40 help
41 This options enables DRAM calibration with multiple frequencies (low,
42 medium and high) for DVFS feature.
43
Huayang Duan4d15d2f2018-09-26 21:23:53 +080044config MEMORY_TEST
45 bool
46 default y
47
Tristan Shieh3ddf57e2018-05-31 09:20:53 +080048endif