Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 2 | |
| 3 | if BOARD_FACEBOOK_FBG1701 |
| 4 | |
| 5 | config BOARD_SPECIFIC_OPTIONS |
| 6 | def_bool y |
| 7 | select BOARD_ROMSIZE_KB_8192 |
Wim Vervoorn | 13471bc | 2020-01-16 10:28:14 +0100 | [diff] [blame] | 8 | select DISABLE_ACPI_HIBERNATE |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 9 | select HAVE_ACPI_TABLES |
Frans Hendriks | bd3ac9c | 2019-07-25 09:05:43 +0200 | [diff] [blame] | 10 | select HAVE_IFD_BIN |
| 11 | select HAVE_ME_BIN |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 12 | select HAVE_OPTION_TABLE |
| 13 | select MAINBOARD_HAS_LPC_TPM |
| 14 | select MAINBOARD_HAS_TPM2 |
| 15 | select SOC_INTEL_BRASWELL |
Frans Hendriks | d073a0b | 2019-08-01 14:25:11 +0200 | [diff] [blame] | 16 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 17 | select PCIEXP_L1_SUB_STATE |
| 18 | select HAVE_FSP_BIN |
| 19 | select CACHE_MRC_SETTINGS |
| 20 | select DISABLE_HPET |
Frans Hendriks | 6a27e76 | 2019-07-26 08:46:03 +0200 | [diff] [blame] | 21 | select INTEL_GMA_HAVE_VBT |
Michael Niewöhner | 87cc889 | 2020-09-07 14:26:09 +0200 | [diff] [blame] | 22 | select HAVE_SPD_IN_CBFS |
Frans Hendriks | 7e3bf0c | 2020-11-20 08:17:31 +0100 | [diff] [blame^] | 23 | |
| 24 | config USE_VENDORCODE_ELTAN |
| 25 | depends on !VBOOT |
| 26 | default y |
| 27 | |
| 28 | if VBOOT |
| 29 | |
| 30 | config VBOOT_VBNV_CMOS |
| 31 | default y |
| 32 | |
| 33 | config VBOOT_SLOTS_RW_A |
| 34 | default y |
| 35 | |
| 36 | config VBOOT_NO_BOARD_SUPPORT |
| 37 | default y |
| 38 | |
| 39 | config VBOOT_ENABLE_CBFS_FALLBACK |
| 40 | default y |
| 41 | |
| 42 | config FMDFILE |
| 43 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rw.fmd" |
| 44 | |
| 45 | config RW_REGION_ONLY |
| 46 | default "%/payload logo.bmp %/ramstage vbt.bin %/dsdt.aml config %/postcar" |
| 47 | |
| 48 | config RO_REGION_ONLY |
| 49 | default "spd.bin fsp.bin cpu_microcode_blob.bin" |
| 50 | |
| 51 | endif # VBOOT |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 52 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 53 | config ONBOARD_SAMSUNG_MEM |
Frans Hendriks | b3d597b | 2019-10-02 09:27:56 +0200 | [diff] [blame] | 54 | bool "Onboard memory manufacturer Samsung" |
| 55 | default n |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 56 | help |
| 57 | Samsung K4B8G1646D memory |
| 58 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 59 | config MAINBOARD_DIR |
| 60 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 61 | default "facebook/fbg1701" |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 62 | |
| 63 | config MAINBOARD_PART_NUMBER |
| 64 | string |
| 65 | default "FBG-1701" |
| 66 | |
| 67 | config CBFS_SIZE |
| 68 | hex |
Frans Hendriks | 3b42683 | 2019-06-24 11:30:39 +0200 | [diff] [blame] | 69 | default 0x00600000 |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 70 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 71 | config MRC_SETTINGS_CACHE_SIZE |
| 72 | hex |
| 73 | default 0x08000 |
| 74 | |
| 75 | config FSP_LOC |
| 76 | hex |
| 77 | default 0xfff9c000 |
| 78 | |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 79 | config VENDORCODE_ELTAN_OEM_MANIFEST_LOC |
Wim Vervoorn | 7011e54 | 2019-10-30 16:03:04 +0100 | [diff] [blame] | 80 | hex |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 81 | default 0xFFFE9000 |
| 82 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 83 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 84 | bool |
| 85 | default n |
| 86 | |
| 87 | config SPI_FLASH_WINBOND |
| 88 | bool |
| 89 | default y |
| 90 | |
| 91 | config TPM_INIT |
| 92 | bool "TPM Setup in RAMSTAGE" |
| 93 | default n |
| 94 | |
| 95 | config C_ENV_BOOTBLOCK_SIZE |
| 96 | hex "C Bootblock Size" |
| 97 | default 0x4000 |
| 98 | |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 99 | config VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST |
| 100 | bool |
| 101 | default y |
| 102 | |
| 103 | config VENDORCODE_ELTAN_VBOOT_MANIFEST |
| 104 | string |
| 105 | default "mainboard/facebook/fbg1701/manifest.h" |
| 106 | |
| 107 | config VENDORCODE_ELTAN_VBOOT_KEY_LOCATION |
Wim Vervoorn | 7011e54 | 2019-10-30 16:03:04 +0100 | [diff] [blame] | 108 | hex |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 109 | default 0xFFFF9C00 |
| 110 | |
Wim Vervoorn | 34bc60b | 2019-10-31 10:31:08 +0100 | [diff] [blame] | 111 | config DRIVERS_INTEL_WIFI |
| 112 | bool |
| 113 | default n |
| 114 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 115 | endif # BOARD_FACEBOOK_FBG1701 |