| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_QC_IPQ40XX |
| 4 |
bool |
| 5 |
default n |
| 6 |
select ARCH_BOOTBLOCK_ARMV7 |
| 7 |
select ARCH_VERSTAGE_ARMV7 |
| 8 |
select ARCH_ROMSTAGE_ARMV7 |
| 9 |
select ARCH_RAMSTAGE_ARMV7 |
| 10 |
select HAVE_UART_SPECIAL |
| 11 |
select GENERIC_GPIO_LIB |
| 12 |
# clang creates larger binaries that may not fit |
| 13 |
select CLANG_UNSUPPORTED if CHROMEOS |
| 14 |
|
| 15 |
if SOC_QC_IPQ40XX |
| 16 |
|
| 17 |
config MEMLAYOUT_LD_FILE |
| 18 |
string |
| 19 |
default "src/soc/qualcomm/ipq40xx/memlayout.ld" |
| 20 |
|
| 21 |
config GENERIC_UDELAY |
| 22 |
def_bool n |
| 23 |
|
| 24 |
config VBOOT |
| 25 |
select VBOOT_STARTS_IN_BOOTBLOCK |
| 26 |
select VBOOT_SEPARATE_VERSTAGE |
| 27 |
select VBOOT_RETURN_FROM_VERSTAGE |
| 28 |
select VBOOT_VBNV_FLASH |
| 29 |
|
| 30 |
config IPQ_QFN_PART |
| 31 |
bool |
| 32 |
default n |
| 33 |
help |
| 34 |
Is the SoC a QFN part (as opposed to a BGA part) |
| 35 |
|
| 36 |
config CDT_MBN |
| 37 |
string "CDT binary blob" |
| 38 |
default "cdt-AP.DK01.1-C1.bin" |
| 39 |
|
| 40 |
config DDR_MBN |
| 41 |
string "DDR driver binary blob" |
| 42 |
default "ddr.mbn" |
| 43 |
|
| 44 |
config TZ_MBN |
| 45 |
string "TZ binary blob" |
| 46 |
default "tzbsp_no_xpu.mbn" |
| 47 |
|
| 48 |
config SBL_ELF |
| 49 |
depends on USE_BLOBS |
| 50 |
string "file name of the QCA SBL ELF" |
| 51 |
default "3rdparty/blobs/cpu/qualcomm/ipq40xx/sbl.elf" |
| 52 |
help |
| 53 |
The path and filename of the binary blob containing |
| 54 |
ipq40xx early initialization code, as supplied by the |
| 55 |
vendor. |
| 56 |
|
| 57 |
config SBL_UTIL_PATH |
| 58 |
depends on USE_BLOBS |
| 59 |
string "Path for utils to combine SBL_ELF and bootblock" |
| 60 |
default "util/qualcomm" |
| 61 |
help |
| 62 |
Path for utils to combine SBL_ELF and bootblock |
| 63 |
|
| 64 |
endif |