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 |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 18 | select DISABLE_HPET |
Frans Hendriks | 6a27e76 | 2019-07-26 08:46:03 +0200 | [diff] [blame] | 19 | select INTEL_GMA_HAVE_VBT |
Michael Niewöhner | 87cc889 | 2020-09-07 14:26:09 +0200 | [diff] [blame] | 20 | select HAVE_SPD_IN_CBFS |
Frans Hendriks | 7e3bf0c | 2020-11-20 08:17:31 +0100 | [diff] [blame] | 21 | |
| 22 | config USE_VENDORCODE_ELTAN |
Frans Hendriks | 7e3bf0c | 2020-11-20 08:17:31 +0100 | [diff] [blame] | 23 | default y |
| 24 | |
| 25 | if VBOOT |
| 26 | |
| 27 | config VBOOT_VBNV_CMOS |
| 28 | default y |
| 29 | |
| 30 | config VBOOT_SLOTS_RW_A |
| 31 | default y |
| 32 | |
| 33 | config VBOOT_NO_BOARD_SUPPORT |
| 34 | default y |
| 35 | |
| 36 | config VBOOT_ENABLE_CBFS_FALLBACK |
| 37 | default y |
| 38 | |
| 39 | config FMDFILE |
| 40 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rw.fmd" |
| 41 | |
| 42 | config RW_REGION_ONLY |
| 43 | default "%/payload logo.bmp %/ramstage vbt.bin %/dsdt.aml config %/postcar" |
| 44 | |
| 45 | config RO_REGION_ONLY |
| 46 | default "spd.bin fsp.bin cpu_microcode_blob.bin" |
| 47 | |
| 48 | endif # VBOOT |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 49 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 50 | config ONBOARD_SAMSUNG_MEM |
Frans Hendriks | b3d597b | 2019-10-02 09:27:56 +0200 | [diff] [blame] | 51 | bool "Onboard memory manufacturer Samsung" |
| 52 | default n |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 53 | help |
| 54 | Samsung K4B8G1646D memory |
| 55 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 56 | config MAINBOARD_DIR |
| 57 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 58 | default "facebook/fbg1701" |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 59 | |
| 60 | config MAINBOARD_PART_NUMBER |
| 61 | string |
| 62 | default "FBG-1701" |
| 63 | |
| 64 | config CBFS_SIZE |
| 65 | hex |
Frans Hendriks | 3b42683 | 2019-06-24 11:30:39 +0200 | [diff] [blame] | 66 | default 0x00600000 |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 67 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 68 | config MRC_SETTINGS_CACHE_SIZE |
| 69 | hex |
| 70 | default 0x08000 |
| 71 | |
| 72 | config FSP_LOC |
| 73 | hex |
| 74 | default 0xfff9c000 |
| 75 | |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 76 | config VENDORCODE_ELTAN_OEM_MANIFEST_LOC |
Frans Hendriks | 6cd4cfa | 2021-04-06 13:58:21 +0200 | [diff] [blame] | 77 | depends on VENDORCODE_ELTAN_VBOOT |
Wim Vervoorn | 7011e54 | 2019-10-30 16:03:04 +0100 | [diff] [blame] | 78 | hex |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 79 | default 0xFFFE9000 |
| 80 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 81 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 82 | bool |
| 83 | default n |
| 84 | |
| 85 | config SPI_FLASH_WINBOND |
| 86 | bool |
| 87 | default y |
| 88 | |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 89 | config VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST |
Frans Hendriks | 6cd4cfa | 2021-04-06 13:58:21 +0200 | [diff] [blame] | 90 | depends on VENDORCODE_ELTAN_VBOOT |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 91 | bool |
| 92 | default y |
| 93 | |
| 94 | config VENDORCODE_ELTAN_VBOOT_MANIFEST |
Frans Hendriks | ac7f461 | 2020-10-08 15:36:08 +0200 | [diff] [blame] | 95 | depends on USE_VENDORCODE_ELTAN |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 96 | string |
| 97 | default "mainboard/facebook/fbg1701/manifest.h" |
| 98 | |
| 99 | config VENDORCODE_ELTAN_VBOOT_KEY_LOCATION |
Frans Hendriks | 6cd4cfa | 2021-04-06 13:58:21 +0200 | [diff] [blame] | 100 | depends on VENDORCODE_ELTAN_VBOOT |
Wim Vervoorn | 7011e54 | 2019-10-30 16:03:04 +0100 | [diff] [blame] | 101 | hex |
Frans Hendriks | cd85aac | 2021-06-22 14:06:34 +0200 | [diff] [blame^] | 102 | default 0xFFFF9000 |
Frans Hendriks | 744c70d | 2019-06-26 14:57:35 +0200 | [diff] [blame] | 103 | |
Wim Vervoorn | 34bc60b | 2019-10-31 10:31:08 +0100 | [diff] [blame] | 104 | config DRIVERS_INTEL_WIFI |
| 105 | bool |
| 106 | default n |
| 107 | |
Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame] | 108 | endif # BOARD_FACEBOOK_FBG1701 |