T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 1 | |
| 2 | config SOC_QUALCOMM_SC7180 |
| 3 | bool |
| 4 | default n |
Julius Werner | 46a8cbd | 2020-09-09 15:04:21 -0700 | [diff] [blame] | 5 | depends on USE_QC_BLOBS |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 6 | select ARCH_BOOTBLOCK_ARMV8_64 |
| 7 | select ARCH_RAMSTAGE_ARMV8_64 |
| 8 | select ARCH_ROMSTAGE_ARMV8_64 |
| 9 | select ARCH_VERSTAGE_ARMV8_64 |
T Michael Turney | 0b493bb | 2019-09-20 11:27:08 -0700 | [diff] [blame] | 10 | select ARM64_USE_ARM_TRUSTED_FIRMWARE |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 11 | select GENERIC_GPIO_LIB |
| 12 | select GENERIC_UDELAY |
| 13 | select HAVE_MONOTONIC_TIMER |
| 14 | select ARM64_USE_ARCH_TIMER |
| 15 | select SOC_QUALCOMM_COMMON |
T Michael Turney | 99bf436 | 2019-08-07 14:25:58 -0700 | [diff] [blame] | 16 | select HAVE_UART_SPECIAL |
Vinod Polimera | 3b4c45e | 2020-03-03 12:13:26 +0530 | [diff] [blame] | 17 | select BOOTBLOCK_CONSOLE |
| 18 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
| 19 | select MAINBOARD_FORCE_NATIVE_VGA_INIT |
| 20 | select HAVE_LINEAR_FRAMEBUFFER |
Shelley Chen | afaa3d0 | 2020-10-06 15:50:21 -0700 | [diff] [blame] | 21 | select CACHE_MRC_SETTINGS |
Shelley Chen | 0263e0f | 2020-10-21 22:46:14 -0700 | [diff] [blame] | 22 | select HAS_RECOVERY_MRC_CACHE |
Julius Werner | 87feced | 2020-09-29 19:23:36 -0700 | [diff] [blame] | 23 | select COMPRESS_BOOTBLOCK |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 24 | |
| 25 | if SOC_QUALCOMM_SC7180 |
| 26 | |
Furquan Shaikh | 46514c2 | 2020-06-11 11:59:07 -0700 | [diff] [blame] | 27 | config MEMLAYOUT_LD_FILE |
| 28 | string |
| 29 | default "src/soc/qualcomm/sc7180/memlayout.ld" |
| 30 | |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 31 | config VBOOT |
| 32 | select VBOOT_SEPARATE_VERSTAGE |
| 33 | select VBOOT_RETURN_FROM_VERSTAGE |
| 34 | select VBOOT_MUST_REQUEST_DISPLAY |
| 35 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 36 | |
Akash Asthana | 634c783 | 2019-07-29 18:11:15 +0530 | [diff] [blame] | 37 | config SC7180_QSPI |
| 38 | bool |
| 39 | default y if COMMON_CBFS_SPI_WRAPPER |
| 40 | prompt "Build Flash Using SPI-NOR" |
| 41 | |
| 42 | config BOOT_DEVICE_SPI_FLASH_BUS |
| 43 | int |
| 44 | default 16 |
| 45 | |
T Michael Turney | 7ae833b | 2019-10-10 15:29:16 -0700 | [diff] [blame] | 46 | config UART_FOR_CONSOLE |
| 47 | int |
| 48 | default 8 |
| 49 | help |
| 50 | Select the QUP instance to be used for UART console output. |
| 51 | |
T Michael Turney | 7783c60 | 2019-10-09 07:04:54 -0700 | [diff] [blame] | 52 | endif |