blob: bf067daa037637842ae8ea646bea791414e7ec2e [file] [log] [blame]
Lee Leahy77ff0b12015-05-05 15:07:29 -07001config SOC_INTEL_BRASWELL
2 bool
3 help
Lee Leahy32471722015-04-20 15:20:28 -07004 Braswell M/D part support.
Lee Leahy77ff0b12015-05-05 15:07:29 -07005
6if SOC_INTEL_BRASWELL
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Aaron Durbin1b6196d2016-07-13 23:20:26 -050010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Lee Leahy77ff0b12015-05-05 15:07:29 -070011 select ARCH_BOOTBLOCK_X86_32
Lee Leahy77ff0b12015-05-05 15:07:29 -070012 select ARCH_RAMSTAGE_X86_32
Lee Leahy32471722015-04-20 15:20:28 -070013 select ARCH_ROMSTAGE_X86_32
14 select ARCH_VERSTAGE_X86_32
Aaron Durbine8e118d2016-08-12 15:00:10 -050015 select BOOT_DEVICE_SUPPORTS_WRITES
Lee Leahy77ff0b12015-05-05 15:07:29 -070016 select CACHE_MRC_SETTINGS
Martin Rothdf02c332015-07-01 23:09:42 -060017 select SUPPORT_CPU_UCODE_IN_CBFS
Lee Leahy77ff0b12015-05-05 15:07:29 -070018 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Lee Leahy77ff0b12015-05-05 15:07:29 -070019 select HAVE_SMI_HANDLER
Lee Leahy77ff0b12015-05-05 15:07:29 -070020 select PARALLEL_MP
21 select PCIEXP_ASPM
Lee Leahyacb9c0b2015-07-02 11:55:18 -070022 select PCIEXP_CLK_PM
Lee Leahy77ff0b12015-05-05 15:07:29 -070023 select PCIEXP_COMMON_CLOCK
Lee Leahy32471722015-04-20 15:20:28 -070024 select PLATFORM_USES_FSP1_1
Lee Leahy77ff0b12015-05-05 15:07:29 -070025 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050026 select RTC
Lee Leahy32471722015-04-20 15:20:28 -070027 select SOC_INTEL_COMMON
Duncan Lauriee73da802015-09-08 16:16:34 -070028 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Frans Hendriks59ae2ef2019-02-28 15:16:00 +010029 select SOC_INTEL_COMMON_BLOCK
30 select SOC_INTEL_COMMON_BLOCK_HDA
Lee Leahy32471722015-04-20 15:20:28 -070031 select SOC_INTEL_COMMON_RESET
Lee Leahy77ff0b12015-05-05 15:07:29 -070032 select SPI_FLASH
33 select SSE2
Lee Leahy77ff0b12015-05-05 15:07:29 -070034 select TSC_MONOTONIC_TIMER
35 select TSC_SYNC_MFENCE
36 select UDELAY_TSC
Lee Leahy32471722015-04-20 15:20:28 -070037 select USE_GENERIC_FSP_CAR_INC
Stefan Tauneref8b9572018-09-06 00:34:28 +020038 select INTEL_DESCRIPTOR_MODE_CAPABLE
Martin Roth3a543182015-09-28 15:27:24 -060039 select HAVE_SPI_CONSOLE_SUPPORT
Nico Huber2e7f6cc2017-05-22 15:58:03 +020040 select HAVE_FSP_GOP
Matt DeVillier51ee7ce2017-08-20 18:21:10 -050041 select GENERIC_GPIO_LIB
Patrick Rudolphc7edf182017-09-26 19:34:35 +020042 select INTEL_GMA_ACPI
43 select INTEL_GMA_SWSMISCI
Matt DeVillierd3d0f072018-11-10 17:44:36 -060044 select CPU_INTEL_COMMON
Frans Hendriksb27fb332019-03-04 08:02:43 +010045 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans56d913e2019-06-04 14:45:13 +020046 select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT
Frans Hendriks4e0ec592019-06-06 10:07:17 +020047
48config DCACHE_BSP_STACK_SIZE
49 hex
50 default 0x2000
51 help
52 The amount of anticipated stack usage in CAR by bootblock and
53 other stages.
54
55config C_ENV_BOOTBLOCK_SIZE
56 hex
57 default 0x8000
Lee Leahy77ff0b12015-05-05 15:07:29 -070058
Julius Werner1210b412017-03-27 19:26:32 -070059config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080060 select VBOOT_MUST_REQUEST_DISPLAY
Julius Werner1210b412017-03-27 19:26:32 -070061 select VBOOT_STARTS_IN_ROMSTAGE
62
Lee Leahy77ff0b12015-05-05 15:07:29 -070063config MMCONF_BASE_ADDRESS
Arthur Heymans9c27eda2017-06-13 14:47:28 +020064 hex
Lee Leahy77ff0b12015-05-05 15:07:29 -070065 default 0xe0000000
66
67config MAX_CPUS
68 int
69 default 4
70
Lee Leahy77ff0b12015-05-05 15:07:29 -070071config SMM_TSEG_SIZE
72 hex
73 default 0x800000
74
75config SMM_RESERVED_SIZE
76 hex
77 default 0x100000
78
Lee Leahy77ff0b12015-05-05 15:07:29 -070079# Cache As RAM region layout:
80#
Lee Leahy77ff0b12015-05-05 15:07:29 -070081# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
Kyösti Mälkki2bad1e72016-07-26 14:03:31 +030082# | Stack |
83# | | |
84# | v |
Lee Leahy77ff0b12015-05-05 15:07:29 -070085# +-------------+
86# | ^ |
87# | | |
88# | CAR Globals |
89# +-------------+ DCACHE_RAM_BASE
90#
Lee Leahy77ff0b12015-05-05 15:07:29 -070091
92config DCACHE_RAM_BASE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020093 hex
Lee Leahy32471722015-04-20 15:20:28 -070094 default 0xfef00000
Lee Leahy77ff0b12015-05-05 15:07:29 -070095
96config DCACHE_RAM_SIZE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020097 hex
Lee Leahy32471722015-04-20 15:20:28 -070098 default 0x4000
Lee Leahy77ff0b12015-05-05 15:07:29 -070099 help
100 The size of the cache-as-ram region required during bootblock
101 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
102 must add up to a power of 2.
103
Lee Leahy77ff0b12015-05-05 15:07:29 -0700104config ENABLE_BUILTIN_COM1
105 bool "Enable builtin COM1 Serial Port"
106 default n
107 help
108 The PMC has a legacy COM1 serial port. Choose this option to
109 configure the pads and enable it. This serial port can be used for
110 the debug console.
111
Frans Hendriksf2af7022018-11-16 12:08:41 +0100112config DISABLE_HPET
113 bool "Disable the HPET device"
114 default n
115 help
116 Enable this to disable the HPET support
117 Solves the Linux MP-BIOS bug timer not connected.
118
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500119config USE_GOOGLE_FSP
120 bool
121 help
122 Select this to use Google's custom Braswell FSP header/binary
123 instead of the public release on Github. Only google/cyan
124 variants require this; all other boards should use the public release.
125
126config FSP_HEADER_PATH
127 string
Patrick Georgib8fba862020-06-17 21:06:53 +0200128 default "\$(src)/vendorcode/intel/fsp/fsp1_1/braswell" if USE_GOOGLE_FSP
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500129 default "3rdparty/fsp/BraswellFspBinPkg/Include/"
130 help
131 Location of FSP header file FspUpdVpd.h
132
Lee Leahy77ff0b12015-05-05 15:07:29 -0700133endif