diff options
author | Leah Rowe <leah@libreboot.org> | 2021-10-30 19:12:35 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2021-10-30 19:19:31 +0100 |
commit | 651a3f05fd5315de2b53898cc88c71340a4326fc (patch) | |
tree | 9dd4369731eacf03d58004dd232a6ccec339e8f2 | |
parent | 4e093b3eccb6e44f8be074752371251194577327 (diff) |
update to coreboot master on macbook21, and add vitali64's cstate 3 patch
improved battery life on macbook21
9 files changed, 276 insertions, 814 deletions
diff --git a/resources/coreboot/macbook11/board.cfg b/resources/coreboot/macbook11/board.cfg index 4a307656..2e45e091 100644 --- a/resources/coreboot/macbook11/board.cfg +++ b/resources/coreboot/macbook11/board.cfg @@ -1,4 +1,4 @@ -cbtree="default" +cbtree="macbook21" romtype="i945 laptop" arch="x86_32" payload_grub="y" diff --git a/resources/coreboot/macbook11/config/libgfxinit_corebootfb b/resources/coreboot/macbook11/config/libgfxinit_corebootfb index fe660cf3..1cbb9231 100644 --- a/resources/coreboot/macbook11/config/libgfxinit_corebootfb +++ b/resources/coreboot/macbook11/config/libgfxinit_corebootfb @@ -15,6 +15,7 @@ CONFIG_COMPILER_GCC=y # CONFIG_CCACHE is not set # CONFIG_FMD_GENPARSER is not set # CONFIG_UTIL_GENPARSER is not set +# CONFIG_OPTION_BACKEND_NONE is not set CONFIG_USE_OPTION_TABLE=y CONFIG_STATIC_OPTION_TABLE=y CONFIG_COMPRESS_RAMSTAGE=y @@ -26,16 +27,14 @@ CONFIG_USE_BLOBS=y # CONFIG_USE_QC_BLOBS is not set # CONFIG_COVERAGE is not set # CONFIG_UBSAN is not set -# CONFIG_HAVE_ASAN_IN_ROMSTAGE is not set -# CONFIG_ASAN_IN_ROMSTAGE is not set CONFIG_HAVE_ASAN_IN_RAMSTAGE=y -# CONFIG_ASAN_IN_RAMSTAGE is not set # CONFIG_ASAN is not set # CONFIG_NO_STAGE_CACHE is not set CONFIG_TSEG_STAGE_CACHE=y # CONFIG_UPDATE_IMAGE is not set # CONFIG_BOOTSPLASH_IMAGE is not set # CONFIG_FW_CONFIG is not set +# end of General setup # # Mainboard @@ -121,6 +120,8 @@ CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="Apple Inc." CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0xc00 CONFIG_POST_IO=y CONFIG_OVERRIDE_DEVICETREE="" +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_CMOS_LAYOUT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.layout" CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=0 CONFIG_UART_FOR_CONSOLE=0 # CONFIG_CONSOLE_POST is not set @@ -138,8 +139,6 @@ CONFIG_SPI_FLASH_WINBOND=y CONFIG_DRIVERS_INTEL_WIFI=y CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 CONFIG_CONSOLE_SERIAL=y -# CONFIG_PCIEXP_HOTPLUG is not set -CONFIG_CBFS_MCACHE_SIZE=0x2000 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="Macbook1,1" CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2M_EISAID="PNP0F13" @@ -170,11 +169,9 @@ CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y # CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set CONFIG_MAINBOARD_POWER_FAILURE_STATE=0 +# end of Mainboard + CONFIG_SYSTEM_TYPE_LAPTOP=y -# CONFIG_SYSTEM_TYPE_TABLET is not set -# CONFIG_SYSTEM_TYPE_DETACHABLE is not set -# CONFIG_SYSTEM_TYPE_CONVERTIBLE is not set -# CONFIG_CBFS_AUTOGEN_ATTRIBUTES is not set # # Chipset @@ -183,31 +180,28 @@ CONFIG_SYSTEM_TYPE_LAPTOP=y # # SoC # +CONFIG_ARCH_ALL_STAGES_X86=y CONFIG_CHIPSET_DEVICETREE="" +CONFIG_CBFS_MCACHE_SIZE=0x4000 CONFIG_ROMSTAGE_ADDR=0x2000000 CONFIG_VERSTAGE_ADDR=0x2000000 CONFIG_RAMBASE=0xe00000 CONFIG_CPU_ADDR_BITS=36 CONFIG_SMM_RESERVED_SIZE=0x100000 CONFIG_SMM_MODULE_STACK_SIZE=0x400 -# CONFIG_CHECK_REV_IN_OPROM_NAME is not set CONFIG_ACPI_CPU_STRING="\\_SB.CP%02d" CONFIG_EHCI_BAR=0xfef00000 -# CONFIG_SOC_CAVIUM_CN81XX is not set CONFIG_STACK_SIZE=0x1000 -# CONFIG_SOC_CAVIUM_COMMON is not set CONFIG_VBT_DATA_SIZE_KB=8 -# CONFIG_SOC_INTEL_GEMINILAKE is not set -CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254 CONFIG_INTEL_GMA_BCLV_WIDTH=16 CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256 CONFIG_INTEL_GMA_BCLM_WIDTH=16 -# CONFIG_PCIEXP_ASPM is not set -# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_FIXED_MCHBAR_MMIO_BASE=0xfed14000 CONFIG_FIXED_DMIBAR_MMIO_BASE=0xfed18000 CONFIG_FIXED_EPBAR_MMIO_BASE=0xfed19000 +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_TTYS0_BASE=0x3f8 CONFIG_TTYS0_LCS=3 CONFIG_UART_PCI_ADDR=0x0 @@ -215,36 +209,15 @@ CONFIG_AZALIA_MAX_CODECS=3 CONFIG_INTEL_HAS_TOP_SWAP=y # CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK is not set CONFIG_INTEL_TOP_SWAP_BOOTBLOCK_SIZE=0x10000 -# CONFIG_SOC_MEDIATEK_MT8173 is not set -# CONFIG_SOC_MEDIATEK_MT8183 is not set -# CONFIG_SOC_MEDIATEK_MT8192 is not set -# CONFIG_SOC_MEDIATEK_MT8195 is not set -# CONFIG_SOC_NVIDIA_TEGRA124 is not set -# CONFIG_SOC_NVIDIA_TEGRA210 is not set -# CONFIG_SOC_QUALCOMM_COMMON is not set -# CONFIG_SOC_QC_IPQ40XX is not set -# CONFIG_SOC_QC_IPQ806X is not set -# CONFIG_SOC_QUALCOMM_QCS405 is not set -# CONFIG_SOC_ROCKCHIP_RK3288 is not set -# CONFIG_SOC_ROCKCHIP_RK3399 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set -# CONFIG_SOC_TI_AM335X is not set -# CONFIG_SOC_UCB_RISCV is not set # # CPU # -# CONFIG_CPU_AMD_AGESA is not set -# CONFIG_CPU_AMD_PI is not set -# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set CONFIG_CPU_INTEL_MODEL_6EX=y CONFIG_CPU_INTEL_MODEL_6FX=y CONFIG_SOCKET_SPECIFIC_OPTIONS=y CONFIG_CPU_INTEL_SOCKET_M=y CONFIG_SSE2=y -# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set -# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set CONFIG_CPU_INTEL_COMMON=y CONFIG_ENABLE_VMX=y CONFIG_SET_IA32_FC_LOCK_BIT=y @@ -252,33 +225,25 @@ CONFIG_SET_MSR_AESNI_LOCK_BIT=y CONFIG_CPU_INTEL_COMMON_TIMEBASE=y CONFIG_CPU_INTEL_COMMON_SMM=y CONFIG_MICROCODE_UPDATE_PRE_RAM=y -# CONFIG_PARALLEL_CPU_INIT is not set CONFIG_PARALLEL_MP=y -# CONFIG_PARALLEL_MP_AP_WORK is not set -# CONFIG_UDELAY_LAPIC is not set +CONFIG_XAPIC_ONLY=y +# CONFIG_X2APIC_ONLY is not set +# CONFIG_X2APIC_RUNTIME is not set CONFIG_UDELAY_TSC=y CONFIG_TSC_MONOTONIC_TIMER=y -# CONFIG_TSC_SYNC_LFENCE is not set CONFIG_TSC_SYNC_MFENCE=y CONFIG_SETUP_XIP_CACHE=y CONFIG_LOGICAL_CPUS=y CONFIG_HAVE_SMI_HANDLER=y -# CONFIG_NO_SMM is not set -# CONFIG_SMM_ASEG is not set CONFIG_SMM_TSEG=y CONFIG_SMM_MODULE_HEAP_SIZE=0x4000 CONFIG_SMM_STUB_STACK_SIZE=0x400 CONFIG_SMM_LAPIC_REMAP_MITIGATION=y -# CONFIG_SERIALIZED_SMM_INITIALIZATION is not set -# CONFIG_X86_AMD_FIXED_MTRRS is not set -# CONFIG_X86_AMD_INIT_SIPI is not set -# CONFIG_SOC_SETS_MSRS is not set -# CONFIG_RESERVE_MTRRS_FOR_OS is not set +CONFIG_CPU_INFO_V2=y CONFIG_SMP=y CONFIG_MMX=y CONFIG_SSE=y CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y -# CONFIG_USES_MICROCODE_HEADER_FILES is not set # CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER is not set @@ -287,42 +252,32 @@ CONFIG_CPU_MICROCODE_CBFS_NONE=y # # Northbridge # -# CONFIG_NORTHBRIDGE_AMD_AGESA is not set -# CONFIG_NORTHBRIDGE_AMD_PI is not set CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y CONFIG_NORTHBRIDGE_INTEL_I945=y -# CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC is not set CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM=y CONFIG_I945_LVDS=y -# CONFIG_OVERRIDE_CLOCK_DISABLE is not set -# CONFIG_CHECK_SLFRCS_ON_RESUME is not set # # Southbridge # -# CONFIG_AMD_SB_CIMX is not set -# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set CONFIG_HPET_MIN_TICKS=0x80 +# CONFIG_PCIEXP_HOTPLUG is not set CONFIG_SOUTHBRIDGE_INTEL_I82801GX=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_ME is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_HPET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH7=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 is not set -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ=y CONFIG_HAVE_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG=y -# CONFIG_INTEL_DESCRIPTOR_MODE_CAPABLE is not set CONFIG_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG=y CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000 @@ -332,27 +287,11 @@ CONFIG_FIXED_SMBUS_IO_BASE=0x400 # # Super I/O # -# CONFIG_SUPERIO_ASPEED_AST2400 is not set -# CONFIG_SUPERIO_ASPEED_COMMON_PRE_RAM is not set -# CONFIG_SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND is not set -# CONFIG_SUPERIO_FINTEK_FAN_CONTROL is not set # # Embedded Controllers # CONFIG_EC_ACPI=y -# CONFIG_EC_51NB_NPCE985LA0DX is not set -# CONFIG_EC_GOOGLE_CHROMEEC_SKUID is not set -# CONFIG_EC_GOOGLE_WILCO is not set -# CONFIG_CAVIUM_BDK is not set -# CONFIG_MAINBOARD_HAS_CHROMEOS is not set -# CONFIG_GOOGLE_SMBIOS_MAINBOARD_VERSION is not set -# CONFIG_UEFI_2_4_BINDING is not set -# CONFIG_UDK_2015_BINDING is not set -# CONFIG_UDK_2017_BINDING is not set -# CONFIG_UDK_202005_BINDING is not set -# CONFIG_USE_SIEMENS_HWILIB is not set -# CONFIG_ARM_LPAE is not set CONFIG_ARCH_X86=y CONFIG_ARCH_BOOTBLOCK_X86_32=y CONFIG_ARCH_VERSTAGE_X86_32=y @@ -360,31 +299,19 @@ CONFIG_ARCH_ROMSTAGE_X86_32=y CONFIG_ARCH_POSTCAR_X86_32=y CONFIG_ARCH_RAMSTAGE_X86_32=y CONFIG_ARCH_ALL_STAGES_X86_32=y -# CONFIG_ARCH_POSTCAR_X86_64 is not set -# CONFIG_USE_MARCH_586 is not set CONFIG_AP_IN_SIPI_WAIT=y -# CONFIG_SIPI_VECTOR_IN_ROM is not set CONFIG_RAMTOP=0x1000000 +CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_NUM_IPI_STARTS=2 CONFIG_PC80_SYSTEM=y -# CONFIG_BOOTBLOCK_DEBUG_SPINLOOP is not set CONFIG_HAVE_CMOS_DEFAULT=y -CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" -CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y -# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set -# CONFIG_HPET_ADDRESS_OVERRIDE is not set CONFIG_HPET_ADDRESS=0xfed00000 CONFIG_POSTCAR_STAGE=y -# CONFIG_VERSTAGE_DEBUG_SPINLOOP is not set -# CONFIG_ROMSTAGE_DEBUG_SPINLOOP is not set CONFIG_BOOTBLOCK_SIMPLE=y # CONFIG_BOOTBLOCK_NORMAL is not set -# CONFIG_COLLECT_TIMESTAMPS_NO_TSC is not set CONFIG_COLLECT_TIMESTAMPS_TSC=y -# CONFIG_PAGING_IN_CACHE_AS_RAM is not set -# CONFIG_IDT_IN_EVERY_STAGE is not set CONFIG_HAVE_CF9_RESET=y -# CONFIG_PIRQ_ROUTE is not set +# end of Chipset # # Devices @@ -392,13 +319,9 @@ CONFIG_HAVE_CF9_RESET=y CONFIG_HAVE_VGA_TEXT_FRAMEBUFFER=y CONFIG_HAVE_LINEAR_FRAMEBUFFER=y CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y -# CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT is not set -# CONFIG_VGA_ROM_RUN_DEFAULT is not set -# CONFIG_MAINBOARD_HAS_LIBGFXINIT is not set CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y # CONFIG_VGA_ROM_RUN is not set # CONFIG_NO_GFX_INIT is not set -# CONFIG_MULTIPLE_VGA_ADAPTERS is not set # # Display @@ -407,13 +330,13 @@ CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y CONFIG_LINEAR_FRAMEBUFFER=y # CONFIG_BOOTSPLASH is not set +# end of Display + CONFIG_PCI=y -# CONFIG_NO_MMCONF_SUPPORT is not set CONFIG_MMCONF_SUPPORT=y CONFIG_PCIX_PLUGIN_SUPPORT=y CONFIG_CARDBUS_PLUGIN_SUPPORT=y CONFIG_AZALIA_PLUGIN_SUPPORT=y -# CONFIG_AZALIA_LOCK_DOWN_R_WO_GCAP is not set CONFIG_PCIEXP_PLUGIN_SUPPORT=y CONFIG_MMCONF_LENGTH=0x04000000 CONFIG_PCI_ALLOW_BUS_MASTER=y @@ -424,32 +347,18 @@ CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 # CONFIG_INTEL_GMA_ADD_VBT is not set # CONFIG_SOFTWARE_I2C is not set -# CONFIG_RESOURCE_ALLOCATOR_V3 is not set CONFIG_RESOURCE_ALLOCATOR_V4=y -# CONFIG_XHCI_UTILS is not set +# end of Devices # # Generic Drivers # -# CONFIG_DRIVERS_AS3722_RTC is not set -# CONFIG_CHROMEOS_CAMERA is not set CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000 -# CONFIG_MAINBOARD_HAS_CRB_TPM is not set # CONFIG_ELOG is not set -# CONFIG_GIC is not set -# CONFIG_IPMI_KCS is not set -# CONFIG_DRIVERS_LENOVO_WACOM is not set -# CONFIG_RT8168_GET_MAC_FROM_VPD is not set -# CONFIG_RT8168_SUPPORT_LEGACY_VPD_MAC is not set -# CONFIG_RT8168_SET_LED_MODE is not set # CONFIG_SMMSTORE is not set -# CONFIG_SMMSTORE_IN_CBFS is not set CONFIG_SPI_FLASH=y -# CONFIG_SPI_SDCARD is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP=y -# CONFIG_BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y -# CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS is not set # CONFIG_SPI_FLASH_NO_FAST_READ is not set CONFIG_SPI_FLASH_ADESTO=y CONFIG_SPI_FLASH_AMIC=y @@ -460,85 +369,26 @@ CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_STMICRO=y -# CONFIG_SPI_FLASH_HAS_VOLATILE_GROUP is not set -# CONFIG_HAVE_EM100PRO_SPI_CONSOLE_SUPPORT is not set CONFIG_DRIVERS_UART=y -# CONFIG_DRIVERS_UART_8250IO_SKIP_INIT is not set -# CONFIG_NO_UART_ON_SUPERIO is not set -# CONFIG_UART_OVERRIDE_INPUT_CLOCK_DIVIDER is not set -# CONFIG_UART_OVERRIDE_REFCLK is not set -# CONFIG_DRIVERS_UART_8250MEM is not set -# CONFIG_DRIVERS_UART_8250MEM_32 is not set -# CONFIG_HAVE_UART_SPECIAL is not set # CONFIG_DRIVERS_UART_OXPCIE is not set -# CONFIG_DRIVERS_UART_PL011 is not set -# CONFIG_UART_USE_REFCLK_AS_INPUT_CLOCK is not set CONFIG_HAVE_USBDEBUG=y -# CONFIG_HAVE_USBDEBUG_OPTIONS is not set # CONFIG_USBDEBUG is not set # CONFIG_VPD is not set -# CONFIG_DRIVERS_AMD_PI is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set -# CONFIG_DRIVERS_GFX_GENERIC is not set -# CONFIG_DRIVERS_I2C_GPIO_MUX is not set -# CONFIG_DRIVERS_I2C_MAX98373 is not set -# CONFIG_DRIVERS_I2C_MAX98390 is not set -# CONFIG_DRIVERS_I2C_MAX98927 is not set -# CONFIG_DRIVERS_I2C_PCA9538 is not set -# CONFIG_DRIVERS_I2C_PCF8523 is not set -# CONFIG_DRIVERS_I2C_PTN3460 is not set -# CONFIG_DRIVERS_I2C_RT1011 is not set -# CONFIG_DRIVERS_I2C_RT5663 is not set -# CONFIG_DRIVERS_I2C_RTD2132 is not set -# CONFIG_DRIVERS_I2C_RX6110SA is not set -# CONFIG_DRIVERS_I2C_SX9310 is not set -# CONFIG_DRIVERS_I2C_SX9324 is not set -# CONFIG_DRIVERS_I2C_TAS5825M is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC is not set -# CONFIG_DRIVER_I2C_TPM_ACPI is not set -# CONFIG_DRIVERS_INTEL_DPTF is not set -# CONFIG_PLATFORM_USES_FSP2_0 is not set -# CONFIG_PLATFORM_USES_FSP2_1 is not set -# CONFIG_PLATFORM_USES_FSP2_2 is not set -# CONFIG_INTEL_DDI is not set +CONFIG_DRIVERS_I2C_CK505=y CONFIG_INTEL_EDID=y CONFIG_INTEL_INT15=y CONFIG_INTEL_GMA_ACPI=y CONFIG_INTEL_GMA_SSC_ALTERNATE_REF=y -# CONFIG_INTEL_GMA_SWSMISCI is not set -# CONFIG_DRIVER_INTEL_I210 is not set -# CONFIG_DRIVERS_INTEL_ISH is not set -# CONFIG_DRIVERS_INTEL_MIPI_CAMERA is not set -# CONFIG_DRIVERS_INTEL_PMC is not set -# CONFIG_HAVE_INTEL_PTT is not set -# CONFIG_IPMI_OCP is not set -# CONFIG_DRIVERS_LENOVO_HYBRID_GRAPHICS is not set -# CONFIG_DRIVER_MAXIM_MAX77686 is not set -# CONFIG_DRIVER_PARADE_PS8625 is not set -# CONFIG_DRIVER_PARADE_PS8640 is not set +CONFIG_INTEL_GMA_OPREGION_2_0=y # CONFIG_DRIVERS_PS2_KEYBOARD is not set CONFIG_DRIVERS_MC146818=y -# CONFIG_MAINBOARD_HAS_LPC_TPM is not set +# CONFIG_USE_PC_CMOS_ALTCENTURY is not set CONFIG_VGA=y -# CONFIG_DRIVERS_RICOH_RCE822 is not set -# CONFIG_DRIVER_SIEMENS_NC_FPGA is not set -# CONFIG_NC_FPGA_NOTIFY_CB_READY is not set # CONFIG_DRIVERS_SIL_3114 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM is not set -# CONFIG_DRIVERS_TI_SN65DSI86BRIDGE is not set -# CONFIG_DRIVER_TI_TPS65090 is not set -# CONFIG_DRIVERS_TI_TPS65913_RTC is not set -# CONFIG_DRIVERS_USB_ACPI is not set -# CONFIG_DRIVERS_USB_PCI_XHCI is not set CONFIG_DRIVERS_WIFI_GENERIC=y -# CONFIG_USE_SAR is not set -# CONFIG_MP_SERVICES_PPI_V1 is not set -# CONFIG_MP_SERVICES_PPI_V2 is not set -# CONFIG_COMMONLIB_STORAGE is not set +# end of Generic Drivers # # Security @@ -547,32 +397,35 @@ CONFIG_DRIVERS_WIFI_GENERIC=y # # Verified Boot (vboot) # +# end of Verified Boot (vboot) # # Trusted Platform Module # -CONFIG_USER_NO_TPM=y +CONFIG_NO_TPM=y +# end of Trusted Platform Module # # Memory initialization # CONFIG_PLATFORM_HAS_DRAM_CLEAR=y CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT=y +# end of Memory initialization + # CONFIG_STM is not set CONFIG_BOOTMEDIA_LOCK_NONE=y # CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set # CONFIG_BOOTMEDIA_LOCK_CHIP is not set -# CONFIG_ACPI_AMD_HARDWARE_SLEEP_VALUES is not set +# CONFIG_BOOTMEDIA_SMM_BWP is not set +# end of Security + CONFIG_ACPI_HAVE_PCAT_8259=y CONFIG_ACPI_INTEL_HARDWARE_SLEEP_VALUES=y CONFIG_ACPI_SOC_NVS=y -# CONFIG_ACPI_EINJ is not set CONFIG_HAVE_ACPI_TABLES=y -# CONFIG_BOOT_DEVICE_NOT_SPI_FLASH is not set CONFIG_BOOT_DEVICE_SPI_FLASH=y CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y -# CONFIG_RTC is not set # # Console @@ -615,33 +468,25 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=0 CONFIG_POST_DEVICE_NONE=y # CONFIG_POST_DEVICE_LPC is not set # CONFIG_POST_DEVICE_PCI_PCIE is not set -# CONFIG_DEFAULT_POST_ON_LPC is not set CONFIG_POST_IO_PORT=0x80 -# CONFIG_NO_EARLY_BOOTBLOCK_POSTCODES is not set -# CONFIG_HWBASE_DEBUG_CB is not set CONFIG_HWBASE_DEBUG_NULL=y +# end of Console + CONFIG_HAVE_ACPI_RESUME=y -# CONFIG_DISABLE_ACPI_HIBERNATE is not set CONFIG_RESUME_PATH_SAME_AS_BOOT=y -# CONFIG_NO_MONOTONIC_TIMER is not set CONFIG_HAVE_MONOTONIC_TIMER=y -# CONFIG_TIMER_QUEUE is not set CONFIG_HAVE_OPTION_TABLE=y -# CONFIG_PCI_IO_CFG_EXT is not set CONFIG_IOAPIC=y CONFIG_USE_WATCHDOG_ON_BOOT=y -# CONFIG_GFXUMA is not set CONFIG_HAVE_MP_TABLE=y -# CONFIG_ACPI_NHLT is not set # # System tables # CONFIG_GENERATE_MP_TABLE=y -# CONFIG_GENERATE_PIRQ_TABLE is not set CONFIG_GENERATE_SMBIOS_TABLES=y -# CONFIG_SMBIOS_PROVIDED_BY_MOBO is not set CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +# end of System tables # # Payload @@ -659,7 +504,6 @@ CONFIG_PAYLOAD_NONE=y # CONFIG_PAYLOAD_TIANOCORE is not set CONFIG_PAYLOAD_OPTIONS="" # CONFIG_PXE is not set -# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # @@ -669,6 +513,8 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # CONFIG_MEMTEST_SECONDARY_PAYLOAD is not set # CONFIG_NVRAMCUI_SECONDARY_PAYLOAD is not set # CONFIG_TINT_SECONDARY_PAYLOAD is not set +# end of Secondary Payloads +# end of Payload # # Debugging @@ -677,6 +523,7 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # # CPU Debug Settings # +# CONFIG_DISPLAY_MTRRS is not set # # BLOB Debug Settings @@ -693,25 +540,15 @@ CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_SMBUS=y # CONFIG_DEBUG_SMBUS is not set # CONFIG_DEBUG_SMI is not set -# CONFIG_DEBUG_MALLOC is not set -# CONFIG_DEBUG_RESOURCES is not set # CONFIG_DEBUG_CONSOLE_INIT is not set # CONFIG_DEBUG_SPI_FLASH is not set -# CONFIG_DEBUG_FUNC is not set # CONFIG_DEBUG_BOOT_STATE is not set # CONFIG_DEBUG_ADA_CODE is not set # CONFIG_HAVE_EM100_SUPPORT is not set -# CONFIG_SPD_CACHE_IN_FMAP is not set +# end of Debugging + CONFIG_WARNINGS_ARE_ERRORS=y -# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set -# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set -# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set -# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set -# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set -# CONFIG_REG_SCRIPT is not set CONFIG_MAX_REBOOT_CNT=3 -# CONFIG_NO_XIP_EARLY_STAGES is not set -# CONFIG_EARLY_CBMEM_LIST is not set CONFIG_RELOCATABLE_MODULES=y CONFIG_HAVE_BOOTBLOCK=y CONFIG_HAVE_ROMSTAGE=y diff --git a/resources/coreboot/macbook11/config/libgfxinit_txtmode b/resources/coreboot/macbook11/config/libgfxinit_txtmode index dc08d03e..58f34beb 100644 --- a/resources/coreboot/macbook11/config/libgfxinit_txtmode +++ b/resources/coreboot/macbook11/config/libgfxinit_txtmode @@ -15,6 +15,7 @@ CONFIG_COMPILER_GCC=y # CONFIG_CCACHE is not set # CONFIG_FMD_GENPARSER is not set # CONFIG_UTIL_GENPARSER is not set +# CONFIG_OPTION_BACKEND_NONE is not set CONFIG_USE_OPTION_TABLE=y CONFIG_STATIC_OPTION_TABLE=y CONFIG_COMPRESS_RAMSTAGE=y @@ -26,16 +27,14 @@ CONFIG_USE_BLOBS=y # CONFIG_USE_QC_BLOBS is not set # CONFIG_COVERAGE is not set # CONFIG_UBSAN is not set -# CONFIG_HAVE_ASAN_IN_ROMSTAGE is not set -# CONFIG_ASAN_IN_ROMSTAGE is not set CONFIG_HAVE_ASAN_IN_RAMSTAGE=y -# CONFIG_ASAN_IN_RAMSTAGE is not set # CONFIG_ASAN is not set # CONFIG_NO_STAGE_CACHE is not set CONFIG_TSEG_STAGE_CACHE=y # CONFIG_UPDATE_IMAGE is not set # CONFIG_BOOTSPLASH_IMAGE is not set # CONFIG_FW_CONFIG is not set +# end of General setup # # Mainboard @@ -121,6 +120,8 @@ CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="Apple Inc." CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0xc00 CONFIG_POST_IO=y CONFIG_OVERRIDE_DEVICETREE="" +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_CMOS_LAYOUT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.layout" CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=0 CONFIG_UART_FOR_CONSOLE=0 # CONFIG_CONSOLE_POST is not set @@ -138,8 +139,6 @@ CONFIG_SPI_FLASH_WINBOND=y CONFIG_DRIVERS_INTEL_WIFI=y CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 CONFIG_CONSOLE_SERIAL=y -# CONFIG_PCIEXP_HOTPLUG is not set -CONFIG_CBFS_MCACHE_SIZE=0x2000 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="Macbook1,1" CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2M_EISAID="PNP0F13" @@ -170,11 +169,9 @@ CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y # CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set CONFIG_MAINBOARD_POWER_FAILURE_STATE=0 +# end of Mainboard + CONFIG_SYSTEM_TYPE_LAPTOP=y -# CONFIG_SYSTEM_TYPE_TABLET is not set -# CONFIG_SYSTEM_TYPE_DETACHABLE is not set -# CONFIG_SYSTEM_TYPE_CONVERTIBLE is not set -# CONFIG_CBFS_AUTOGEN_ATTRIBUTES is not set # # Chipset @@ -183,31 +180,28 @@ CONFIG_SYSTEM_TYPE_LAPTOP=y # # SoC # +CONFIG_ARCH_ALL_STAGES_X86=y CONFIG_CHIPSET_DEVICETREE="" +CONFIG_CBFS_MCACHE_SIZE=0x4000 CONFIG_ROMSTAGE_ADDR=0x2000000 CONFIG_VERSTAGE_ADDR=0x2000000 CONFIG_RAMBASE=0xe00000 CONFIG_CPU_ADDR_BITS=36 CONFIG_SMM_RESERVED_SIZE=0x100000 CONFIG_SMM_MODULE_STACK_SIZE=0x400 -# CONFIG_CHECK_REV_IN_OPROM_NAME is not set CONFIG_ACPI_CPU_STRING="\\_SB.CP%02d" CONFIG_EHCI_BAR=0xfef00000 -# CONFIG_SOC_CAVIUM_CN81XX is not set CONFIG_STACK_SIZE=0x1000 -# CONFIG_SOC_CAVIUM_COMMON is not set CONFIG_VBT_DATA_SIZE_KB=8 -# CONFIG_SOC_INTEL_GEMINILAKE is not set -CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254 CONFIG_INTEL_GMA_BCLV_WIDTH=16 CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256 CONFIG_INTEL_GMA_BCLM_WIDTH=16 -# CONFIG_PCIEXP_ASPM is not set -# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_FIXED_MCHBAR_MMIO_BASE=0xfed14000 CONFIG_FIXED_DMIBAR_MMIO_BASE=0xfed18000 CONFIG_FIXED_EPBAR_MMIO_BASE=0xfed19000 +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_TTYS0_BASE=0x3f8 CONFIG_TTYS0_LCS=3 CONFIG_UART_PCI_ADDR=0x0 @@ -215,36 +209,15 @@ CONFIG_AZALIA_MAX_CODECS=3 CONFIG_INTEL_HAS_TOP_SWAP=y # CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK is not set CONFIG_INTEL_TOP_SWAP_BOOTBLOCK_SIZE=0x10000 -# CONFIG_SOC_MEDIATEK_MT8173 is not set -# CONFIG_SOC_MEDIATEK_MT8183 is not set -# CONFIG_SOC_MEDIATEK_MT8192 is not set -# CONFIG_SOC_MEDIATEK_MT8195 is not set -# CONFIG_SOC_NVIDIA_TEGRA124 is not set -# CONFIG_SOC_NVIDIA_TEGRA210 is not set -# CONFIG_SOC_QUALCOMM_COMMON is not set -# CONFIG_SOC_QC_IPQ40XX is not set -# CONFIG_SOC_QC_IPQ806X is not set -# CONFIG_SOC_QUALCOMM_QCS405 is not set -# CONFIG_SOC_ROCKCHIP_RK3288 is not set -# CONFIG_SOC_ROCKCHIP_RK3399 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set -# CONFIG_SOC_TI_AM335X is not set -# CONFIG_SOC_UCB_RISCV is not set # # CPU # -# CONFIG_CPU_AMD_AGESA is not set -# CONFIG_CPU_AMD_PI is not set -# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set CONFIG_CPU_INTEL_MODEL_6EX=y CONFIG_CPU_INTEL_MODEL_6FX=y CONFIG_SOCKET_SPECIFIC_OPTIONS=y CONFIG_CPU_INTEL_SOCKET_M=y CONFIG_SSE2=y -# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set -# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set CONFIG_CPU_INTEL_COMMON=y CONFIG_ENABLE_VMX=y CONFIG_SET_IA32_FC_LOCK_BIT=y @@ -252,33 +225,25 @@ CONFIG_SET_MSR_AESNI_LOCK_BIT=y CONFIG_CPU_INTEL_COMMON_TIMEBASE=y CONFIG_CPU_INTEL_COMMON_SMM=y CONFIG_MICROCODE_UPDATE_PRE_RAM=y -# CONFIG_PARALLEL_CPU_INIT is not set CONFIG_PARALLEL_MP=y -# CONFIG_PARALLEL_MP_AP_WORK is not set -# CONFIG_UDELAY_LAPIC is not set +CONFIG_XAPIC_ONLY=y +# CONFIG_X2APIC_ONLY is not set +# CONFIG_X2APIC_RUNTIME is not set CONFIG_UDELAY_TSC=y CONFIG_TSC_MONOTONIC_TIMER=y -# CONFIG_TSC_SYNC_LFENCE is not set CONFIG_TSC_SYNC_MFENCE=y CONFIG_SETUP_XIP_CACHE=y CONFIG_LOGICAL_CPUS=y CONFIG_HAVE_SMI_HANDLER=y -# CONFIG_NO_SMM is not set -# CONFIG_SMM_ASEG is not set CONFIG_SMM_TSEG=y CONFIG_SMM_MODULE_HEAP_SIZE=0x4000 CONFIG_SMM_STUB_STACK_SIZE=0x400 CONFIG_SMM_LAPIC_REMAP_MITIGATION=y -# CONFIG_SERIALIZED_SMM_INITIALIZATION is not set -# CONFIG_X86_AMD_FIXED_MTRRS is not set -# CONFIG_X86_AMD_INIT_SIPI is not set -# CONFIG_SOC_SETS_MSRS is not set -# CONFIG_RESERVE_MTRRS_FOR_OS is not set +CONFIG_CPU_INFO_V2=y CONFIG_SMP=y CONFIG_MMX=y CONFIG_SSE=y CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y -# CONFIG_USES_MICROCODE_HEADER_FILES is not set # CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER is not set @@ -287,42 +252,32 @@ CONFIG_CPU_MICROCODE_CBFS_NONE=y # # Northbridge # -# CONFIG_NORTHBRIDGE_AMD_AGESA is not set -# CONFIG_NORTHBRIDGE_AMD_PI is not set CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y CONFIG_NORTHBRIDGE_INTEL_I945=y -# CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC is not set CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM=y CONFIG_I945_LVDS=y -# CONFIG_OVERRIDE_CLOCK_DISABLE is not set -# CONFIG_CHECK_SLFRCS_ON_RESUME is not set # # Southbridge # -# CONFIG_AMD_SB_CIMX is not set -# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set CONFIG_HPET_MIN_TICKS=0x80 +# CONFIG_PCIEXP_HOTPLUG is not set CONFIG_SOUTHBRIDGE_INTEL_I82801GX=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_ME is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_HPET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH7=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 is not set -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ=y CONFIG_HAVE_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG=y -# CONFIG_INTEL_DESCRIPTOR_MODE_CAPABLE is not set CONFIG_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG=y CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000 @@ -332,27 +287,11 @@ CONFIG_FIXED_SMBUS_IO_BASE=0x400 # # Super I/O # -# CONFIG_SUPERIO_ASPEED_AST2400 is not set -# CONFIG_SUPERIO_ASPEED_COMMON_PRE_RAM is not set -# CONFIG_SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND is not set -# CONFIG_SUPERIO_FINTEK_FAN_CONTROL is not set # # Embedded Controllers # CONFIG_EC_ACPI=y -# CONFIG_EC_51NB_NPCE985LA0DX is not set -# CONFIG_EC_GOOGLE_CHROMEEC_SKUID is not set -# CONFIG_EC_GOOGLE_WILCO is not set -# CONFIG_CAVIUM_BDK is not set -# CONFIG_MAINBOARD_HAS_CHROMEOS is not set -# CONFIG_GOOGLE_SMBIOS_MAINBOARD_VERSION is not set -# CONFIG_UEFI_2_4_BINDING is not set -# CONFIG_UDK_2015_BINDING is not set -# CONFIG_UDK_2017_BINDING is not set -# CONFIG_UDK_202005_BINDING is not set -# CONFIG_USE_SIEMENS_HWILIB is not set -# CONFIG_ARM_LPAE is not set CONFIG_ARCH_X86=y CONFIG_ARCH_BOOTBLOCK_X86_32=y CONFIG_ARCH_VERSTAGE_X86_32=y @@ -360,31 +299,19 @@ CONFIG_ARCH_ROMSTAGE_X86_32=y CONFIG_ARCH_POSTCAR_X86_32=y CONFIG_ARCH_RAMSTAGE_X86_32=y CONFIG_ARCH_ALL_STAGES_X86_32=y -# CONFIG_ARCH_POSTCAR_X86_64 is not set -# CONFIG_USE_MARCH_586 is not set CONFIG_AP_IN_SIPI_WAIT=y -# CONFIG_SIPI_VECTOR_IN_ROM is not set CONFIG_RAMTOP=0x1000000 +CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_NUM_IPI_STARTS=2 CONFIG_PC80_SYSTEM=y -# CONFIG_BOOTBLOCK_DEBUG_SPINLOOP is not set CONFIG_HAVE_CMOS_DEFAULT=y -CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" -CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y -# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set -# CONFIG_HPET_ADDRESS_OVERRIDE is not set CONFIG_HPET_ADDRESS=0xfed00000 CONFIG_POSTCAR_STAGE=y -# CONFIG_VERSTAGE_DEBUG_SPINLOOP is not set -# CONFIG_ROMSTAGE_DEBUG_SPINLOOP is not set CONFIG_BOOTBLOCK_SIMPLE=y # CONFIG_BOOTBLOCK_NORMAL is not set -# CONFIG_COLLECT_TIMESTAMPS_NO_TSC is not set CONFIG_COLLECT_TIMESTAMPS_TSC=y -# CONFIG_PAGING_IN_CACHE_AS_RAM is not set -# CONFIG_IDT_IN_EVERY_STAGE is not set CONFIG_HAVE_CF9_RESET=y -# CONFIG_PIRQ_ROUTE is not set +# end of Chipset # # Devices @@ -392,26 +319,22 @@ CONFIG_HAVE_CF9_RESET=y CONFIG_HAVE_VGA_TEXT_FRAMEBUFFER=y CONFIG_HAVE_LINEAR_FRAMEBUFFER=y CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y -# CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT is not set -# CONFIG_VGA_ROM_RUN_DEFAULT is not set -# CONFIG_MAINBOARD_HAS_LIBGFXINIT is not set CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y # CONFIG_VGA_ROM_RUN is not set # CONFIG_NO_GFX_INIT is not set -# CONFIG_MULTIPLE_VGA_ADAPTERS is not set # # Display # CONFIG_VGA_TEXT_FRAMEBUFFER=y # CONFIG_GENERIC_LINEAR_FRAMEBUFFER is not set +# end of Display + CONFIG_PCI=y -# CONFIG_NO_MMCONF_SUPPORT is not set CONFIG_MMCONF_SUPPORT=y CONFIG_PCIX_PLUGIN_SUPPORT=y CONFIG_CARDBUS_PLUGIN_SUPPORT=y CONFIG_AZALIA_PLUGIN_SUPPORT=y -# CONFIG_AZALIA_LOCK_DOWN_R_WO_GCAP is not set CONFIG_PCIEXP_PLUGIN_SUPPORT=y CONFIG_MMCONF_LENGTH=0x04000000 CONFIG_PCI_ALLOW_BUS_MASTER=y @@ -422,32 +345,18 @@ CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 # CONFIG_INTEL_GMA_ADD_VBT is not set # CONFIG_SOFTWARE_I2C is not set -# CONFIG_RESOURCE_ALLOCATOR_V3 is not set CONFIG_RESOURCE_ALLOCATOR_V4=y -# CONFIG_XHCI_UTILS is not set +# end of Devices # # Generic Drivers # -# CONFIG_DRIVERS_AS3722_RTC is not set -# CONFIG_CHROMEOS_CAMERA is not set CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000 -# CONFIG_MAINBOARD_HAS_CRB_TPM is not set # CONFIG_ELOG is not set -# CONFIG_GIC is not set -# CONFIG_IPMI_KCS is not set -# CONFIG_DRIVERS_LENOVO_WACOM is not set -# CONFIG_RT8168_GET_MAC_FROM_VPD is not set -# CONFIG_RT8168_SUPPORT_LEGACY_VPD_MAC is not set -# CONFIG_RT8168_SET_LED_MODE is not set # CONFIG_SMMSTORE is not set -# CONFIG_SMMSTORE_IN_CBFS is not set CONFIG_SPI_FLASH=y -# CONFIG_SPI_SDCARD is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP=y -# CONFIG_BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y -# CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS is not set # CONFIG_SPI_FLASH_NO_FAST_READ is not set CONFIG_SPI_FLASH_ADESTO=y CONFIG_SPI_FLASH_AMIC=y @@ -458,85 +367,26 @@ CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_STMICRO=y -# CONFIG_SPI_FLASH_HAS_VOLATILE_GROUP is not set -# CONFIG_HAVE_EM100PRO_SPI_CONSOLE_SUPPORT is not set CONFIG_DRIVERS_UART=y -# CONFIG_DRIVERS_UART_8250IO_SKIP_INIT is not set -# CONFIG_NO_UART_ON_SUPERIO is not set -# CONFIG_UART_OVERRIDE_INPUT_CLOCK_DIVIDER is not set -# CONFIG_UART_OVERRIDE_REFCLK is not set -# CONFIG_DRIVERS_UART_8250MEM is not set -# CONFIG_DRIVERS_UART_8250MEM_32 is not set -# CONFIG_HAVE_UART_SPECIAL is not set # CONFIG_DRIVERS_UART_OXPCIE is not set -# CONFIG_DRIVERS_UART_PL011 is not set -# CONFIG_UART_USE_REFCLK_AS_INPUT_CLOCK is not set CONFIG_HAVE_USBDEBUG=y -# CONFIG_HAVE_USBDEBUG_OPTIONS is not set # CONFIG_USBDEBUG is not set # CONFIG_VPD is not set -# CONFIG_DRIVERS_AMD_PI is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set -# CONFIG_DRIVERS_GFX_GENERIC is not set -# CONFIG_DRIVERS_I2C_GPIO_MUX is not set -# CONFIG_DRIVERS_I2C_MAX98373 is not set -# CONFIG_DRIVERS_I2C_MAX98390 is not set -# CONFIG_DRIVERS_I2C_MAX98927 is not set -# CONFIG_DRIVERS_I2C_PCA9538 is not set -# CONFIG_DRIVERS_I2C_PCF8523 is not set -# CONFIG_DRIVERS_I2C_PTN3460 is not set -# CONFIG_DRIVERS_I2C_RT1011 is not set -# CONFIG_DRIVERS_I2C_RT5663 is not set -# CONFIG_DRIVERS_I2C_RTD2132 is not set -# CONFIG_DRIVERS_I2C_RX6110SA is not set -# CONFIG_DRIVERS_I2C_SX9310 is not set -# CONFIG_DRIVERS_I2C_SX9324 is not set -# CONFIG_DRIVERS_I2C_TAS5825M is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC is not set -# CONFIG_DRIVER_I2C_TPM_ACPI is not set -# CONFIG_DRIVERS_INTEL_DPTF is not set -# CONFIG_PLATFORM_USES_FSP2_0 is not set -# CONFIG_PLATFORM_USES_FSP2_1 is not set -# CONFIG_PLATFORM_USES_FSP2_2 is not set -# CONFIG_INTEL_DDI is not set +CONFIG_DRIVERS_I2C_CK505=y CONFIG_INTEL_EDID=y CONFIG_INTEL_INT15=y CONFIG_INTEL_GMA_ACPI=y CONFIG_INTEL_GMA_SSC_ALTERNATE_REF=y -# CONFIG_INTEL_GMA_SWSMISCI is not set -# CONFIG_DRIVER_INTEL_I210 is not set -# CONFIG_DRIVERS_INTEL_ISH is not set -# CONFIG_DRIVERS_INTEL_MIPI_CAMERA is not set -# CONFIG_DRIVERS_INTEL_PMC is not set -# CONFIG_HAVE_INTEL_PTT is not set -# CONFIG_IPMI_OCP is not set -# CONFIG_DRIVERS_LENOVO_HYBRID_GRAPHICS is not set -# CONFIG_DRIVER_MAXIM_MAX77686 is not set -# CONFIG_DRIVER_PARADE_PS8625 is not set -# CONFIG_DRIVER_PARADE_PS8640 is not set +CONFIG_INTEL_GMA_OPREGION_2_0=y # CONFIG_DRIVERS_PS2_KEYBOARD is not set CONFIG_DRIVERS_MC146818=y -# CONFIG_MAINBOARD_HAS_LPC_TPM is not set +# CONFIG_USE_PC_CMOS_ALTCENTURY is not set CONFIG_VGA=y -# CONFIG_DRIVERS_RICOH_RCE822 is not set -# CONFIG_DRIVER_SIEMENS_NC_FPGA is not set -# CONFIG_NC_FPGA_NOTIFY_CB_READY is not set # CONFIG_DRIVERS_SIL_3114 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM is not set -# CONFIG_DRIVERS_TI_SN65DSI86BRIDGE is not set -# CONFIG_DRIVER_TI_TPS65090 is not set -# CONFIG_DRIVERS_TI_TPS65913_RTC is not set -# CONFIG_DRIVERS_USB_ACPI is not set -# CONFIG_DRIVERS_USB_PCI_XHCI is not set CONFIG_DRIVERS_WIFI_GENERIC=y -# CONFIG_USE_SAR is not set -# CONFIG_MP_SERVICES_PPI_V1 is not set -# CONFIG_MP_SERVICES_PPI_V2 is not set -# CONFIG_COMMONLIB_STORAGE is not set +# end of Generic Drivers # # Security @@ -545,32 +395,35 @@ CONFIG_DRIVERS_WIFI_GENERIC=y # # Verified Boot (vboot) # +# end of Verified Boot (vboot) # # Trusted Platform Module # -CONFIG_USER_NO_TPM=y +CONFIG_NO_TPM=y +# end of Trusted Platform Module # # Memory initialization # CONFIG_PLATFORM_HAS_DRAM_CLEAR=y CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT=y +# end of Memory initialization + # CONFIG_STM is not set CONFIG_BOOTMEDIA_LOCK_NONE=y # CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set # CONFIG_BOOTMEDIA_LOCK_CHIP is not set -# CONFIG_ACPI_AMD_HARDWARE_SLEEP_VALUES is not set +# CONFIG_BOOTMEDIA_SMM_BWP is not set +# end of Security + CONFIG_ACPI_HAVE_PCAT_8259=y CONFIG_ACPI_INTEL_HARDWARE_SLEEP_VALUES=y CONFIG_ACPI_SOC_NVS=y -# CONFIG_ACPI_EINJ is not set CONFIG_HAVE_ACPI_TABLES=y -# CONFIG_BOOT_DEVICE_NOT_SPI_FLASH is not set CONFIG_BOOT_DEVICE_SPI_FLASH=y CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y -# CONFIG_RTC is not set # # Console @@ -613,33 +466,25 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=0 CONFIG_POST_DEVICE_NONE=y # CONFIG_POST_DEVICE_LPC is not set # CONFIG_POST_DEVICE_PCI_PCIE is not set -# CONFIG_DEFAULT_POST_ON_LPC is not set CONFIG_POST_IO_PORT=0x80 -# CONFIG_NO_EARLY_BOOTBLOCK_POSTCODES is not set -# CONFIG_HWBASE_DEBUG_CB is not set CONFIG_HWBASE_DEBUG_NULL=y +# end of Console + CONFIG_HAVE_ACPI_RESUME=y -# CONFIG_DISABLE_ACPI_HIBERNATE is not set CONFIG_RESUME_PATH_SAME_AS_BOOT=y -# CONFIG_NO_MONOTONIC_TIMER is not set CONFIG_HAVE_MONOTONIC_TIMER=y -# CONFIG_TIMER_QUEUE is not set CONFIG_HAVE_OPTION_TABLE=y -# CONFIG_PCI_IO_CFG_EXT is not set CONFIG_IOAPIC=y CONFIG_USE_WATCHDOG_ON_BOOT=y -# CONFIG_GFXUMA is not set CONFIG_HAVE_MP_TABLE=y -# CONFIG_ACPI_NHLT is not set # # System tables # CONFIG_GENERATE_MP_TABLE=y -# CONFIG_GENERATE_PIRQ_TABLE is not set CONFIG_GENERATE_SMBIOS_TABLES=y -# CONFIG_SMBIOS_PROVIDED_BY_MOBO is not set CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +# end of System tables # # Payload @@ -657,7 +502,6 @@ CONFIG_PAYLOAD_NONE=y # CONFIG_PAYLOAD_TIANOCORE is not set CONFIG_PAYLOAD_OPTIONS="" # CONFIG_PXE is not set -# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # @@ -667,6 +511,8 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # CONFIG_MEMTEST_SECONDARY_PAYLOAD is not set # CONFIG_NVRAMCUI_SECONDARY_PAYLOAD is not set # CONFIG_TINT_SECONDARY_PAYLOAD is not set +# end of Secondary Payloads +# end of Payload # # Debugging @@ -675,6 +521,7 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # # CPU Debug Settings # +# CONFIG_DISPLAY_MTRRS is not set # # BLOB Debug Settings @@ -691,25 +538,15 @@ CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_SMBUS=y # CONFIG_DEBUG_SMBUS is not set # CONFIG_DEBUG_SMI is not set -# CONFIG_DEBUG_MALLOC is not set -# CONFIG_DEBUG_RESOURCES is not set # CONFIG_DEBUG_CONSOLE_INIT is not set # CONFIG_DEBUG_SPI_FLASH is not set -# CONFIG_DEBUG_FUNC is not set # CONFIG_DEBUG_BOOT_STATE is not set # CONFIG_DEBUG_ADA_CODE is not set # CONFIG_HAVE_EM100_SUPPORT is not set -# CONFIG_SPD_CACHE_IN_FMAP is not set +# end of Debugging + CONFIG_WARNINGS_ARE_ERRORS=y -# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set -# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set -# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set -# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set -# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set -# CONFIG_REG_SCRIPT is not set CONFIG_MAX_REBOOT_CNT=3 -# CONFIG_NO_XIP_EARLY_STAGES is not set -# CONFIG_EARLY_CBMEM_LIST is not set CONFIG_RELOCATABLE_MODULES=y CONFIG_HAVE_BOOTBLOCK=y CONFIG_HAVE_ROMSTAGE=y diff --git a/resources/coreboot/macbook21/blobs.list b/resources/coreboot/macbook21/blobs.list new file mode 100644 index 00000000..05d3ee48 --- /dev/null +++ b/resources/coreboot/macbook21/blobs.list @@ -0,0 +1,22 @@ +src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000119.c +3rdparty/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/spm_hotplug.c +3rdparty/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/spm_mcdi.c +3rdparty/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/spm_suspend.c +3rdparty/arm-trusted-firmware/plat/rockchip/rk3368/drivers/ddr/rk3368_ddr_reg_resume_V1.05.bin +3rdparty/chromeec/test/legacy_nvmem_dump.h +3rdparty/vboot/tests/futility/data/bios_link_mp.bin +3rdparty/vboot/tests/futility/data/bios_peppy_mp.bin +src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B.c +src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A.c +src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14MicrocodePatch05000029.c +src/vendorcode/amd/agesa/f14/Proc/GNB/Nb/Family/0x14/F14NbSmuFirmware.h +src/vendorcode/amd/agesa/f14/Proc/GNB/PCIe/Family/0x14/F14PcieAlibSsdt.h +src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600111F_Enc.c +src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GnbSmuFirmwareTN.h +src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/PcieAlibSsdtTNFM2.h +src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/PcieAlibSsdtTNFS1.h +src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c +src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/AlibSsdtKB.h +src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/GnbSamuPatchKB.h +src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbInitKB/GnbSmuFirmwareKB.h +3rdparty/chromeec/third_party/bmi260/accelgyro_bmi260_config_tbin.h diff --git a/resources/coreboot/macbook21/board.cfg b/resources/coreboot/macbook21/board.cfg index 19432151..b9de1e08 100644 --- a/resources/coreboot/macbook21/board.cfg +++ b/resources/coreboot/macbook21/board.cfg @@ -1,5 +1,6 @@ -cbtree="default" +cbtree="macbook21" romtype="i945 laptop" +cbrevision="acbbbede42dd00f93d8b39603dc7c052b389c43f" arch="x86_64" payload_grub="y" payload_grub_withseabios="y" diff --git a/resources/coreboot/macbook21/config/libgfxinit_corebootfb b/resources/coreboot/macbook21/config/libgfxinit_corebootfb index 70c02ddd..a7e8d67a 100644 --- a/resources/coreboot/macbook21/config/libgfxinit_corebootfb +++ b/resources/coreboot/macbook21/config/libgfxinit_corebootfb @@ -15,6 +15,7 @@ CONFIG_COMPILER_GCC=y # CONFIG_CCACHE is not set # CONFIG_FMD_GENPARSER is not set # CONFIG_UTIL_GENPARSER is not set +# CONFIG_OPTION_BACKEND_NONE is not set CONFIG_USE_OPTION_TABLE=y CONFIG_STATIC_OPTION_TABLE=y CONFIG_COMPRESS_RAMSTAGE=y @@ -26,16 +27,14 @@ CONFIG_USE_BLOBS=y # CONFIG_USE_QC_BLOBS is not set # CONFIG_COVERAGE is not set # CONFIG_UBSAN is not set -# CONFIG_HAVE_ASAN_IN_ROMSTAGE is not set -# CONFIG_ASAN_IN_ROMSTAGE is not set CONFIG_HAVE_ASAN_IN_RAMSTAGE=y -# CONFIG_ASAN_IN_RAMSTAGE is not set # CONFIG_ASAN is not set # CONFIG_NO_STAGE_CACHE is not set CONFIG_TSEG_STAGE_CACHE=y # CONFIG_UPDATE_IMAGE is not set # CONFIG_BOOTSPLASH_IMAGE is not set # CONFIG_FW_CONFIG is not set +# end of General setup # # Mainboard @@ -121,6 +120,8 @@ CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="Apple Inc." CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0xc00 CONFIG_POST_IO=y CONFIG_OVERRIDE_DEVICETREE="" +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_CMOS_LAYOUT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.layout" CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=0 CONFIG_UART_FOR_CONSOLE=0 # CONFIG_CONSOLE_POST is not set @@ -138,8 +139,6 @@ CONFIG_SPI_FLASH_WINBOND=y CONFIG_DRIVERS_INTEL_WIFI=y CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 CONFIG_CONSOLE_SERIAL=y -# CONFIG_PCIEXP_HOTPLUG is not set -CONFIG_CBFS_MCACHE_SIZE=0x2000 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="MacBook2,1" CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2M_EISAID="PNP0F13" @@ -170,11 +169,9 @@ CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y # CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set CONFIG_MAINBOARD_POWER_FAILURE_STATE=0 +# end of Mainboard + CONFIG_SYSTEM_TYPE_LAPTOP=y -# CONFIG_SYSTEM_TYPE_TABLET is not set -# CONFIG_SYSTEM_TYPE_DETACHABLE is not set -# CONFIG_SYSTEM_TYPE_CONVERTIBLE is not set -# CONFIG_CBFS_AUTOGEN_ATTRIBUTES is not set # # Chipset @@ -183,31 +180,28 @@ CONFIG_SYSTEM_TYPE_LAPTOP=y # # SoC # +CONFIG_ARCH_ALL_STAGES_X86=y CONFIG_CHIPSET_DEVICETREE="" +CONFIG_CBFS_MCACHE_SIZE=0x4000 CONFIG_ROMSTAGE_ADDR=0x2000000 CONFIG_VERSTAGE_ADDR=0x2000000 CONFIG_RAMBASE=0xe00000 CONFIG_CPU_ADDR_BITS=36 CONFIG_SMM_RESERVED_SIZE=0x100000 CONFIG_SMM_MODULE_STACK_SIZE=0x400 -# CONFIG_CHECK_REV_IN_OPROM_NAME is not set CONFIG_ACPI_CPU_STRING="\\_SB.CP%02d" CONFIG_EHCI_BAR=0xfef00000 -# CONFIG_SOC_CAVIUM_CN81XX is not set CONFIG_STACK_SIZE=0x1000 -# CONFIG_SOC_CAVIUM_COMMON is not set CONFIG_VBT_DATA_SIZE_KB=8 -# CONFIG_SOC_INTEL_GEMINILAKE is not set -CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254 CONFIG_INTEL_GMA_BCLV_WIDTH=16 CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256 CONFIG_INTEL_GMA_BCLM_WIDTH=16 -# CONFIG_PCIEXP_ASPM is not set -# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_FIXED_MCHBAR_MMIO_BASE=0xfed14000 CONFIG_FIXED_DMIBAR_MMIO_BASE=0xfed18000 CONFIG_FIXED_EPBAR_MMIO_BASE=0xfed19000 +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_TTYS0_BASE=0x3f8 CONFIG_TTYS0_LCS=3 CONFIG_UART_PCI_ADDR=0x0 @@ -215,36 +209,15 @@ CONFIG_AZALIA_MAX_CODECS=3 CONFIG_INTEL_HAS_TOP_SWAP=y # CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK is not set CONFIG_INTEL_TOP_SWAP_BOOTBLOCK_SIZE=0x10000 -# CONFIG_SOC_MEDIATEK_MT8173 is not set -# CONFIG_SOC_MEDIATEK_MT8183 is not set -# CONFIG_SOC_MEDIATEK_MT8192 is not set -# CONFIG_SOC_MEDIATEK_MT8195 is not set -# CONFIG_SOC_NVIDIA_TEGRA124 is not set -# CONFIG_SOC_NVIDIA_TEGRA210 is not set -# CONFIG_SOC_QUALCOMM_COMMON is not set -# CONFIG_SOC_QC_IPQ40XX is not set -# CONFIG_SOC_QC_IPQ806X is not set -# CONFIG_SOC_QUALCOMM_QCS405 is not set -# CONFIG_SOC_ROCKCHIP_RK3288 is not set -# CONFIG_SOC_ROCKCHIP_RK3399 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set -# CONFIG_SOC_TI_AM335X is not set -# CONFIG_SOC_UCB_RISCV is not set # # CPU # -# CONFIG_CPU_AMD_AGESA is not set -# CONFIG_CPU_AMD_PI is not set -# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set CONFIG_CPU_INTEL_MODEL_6EX=y CONFIG_CPU_INTEL_MODEL_6FX=y CONFIG_SOCKET_SPECIFIC_OPTIONS=y CONFIG_CPU_INTEL_SOCKET_M=y CONFIG_SSE2=y -# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set -# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set CONFIG_CPU_INTEL_COMMON=y CONFIG_ENABLE_VMX=y CONFIG_SET_IA32_FC_LOCK_BIT=y @@ -252,33 +225,25 @@ CONFIG_SET_MSR_AESNI_LOCK_BIT=y CONFIG_CPU_INTEL_COMMON_TIMEBASE=y CONFIG_CPU_INTEL_COMMON_SMM=y CONFIG_MICROCODE_UPDATE_PRE_RAM=y -# CONFIG_PARALLEL_CPU_INIT is not set CONFIG_PARALLEL_MP=y -# CONFIG_PARALLEL_MP_AP_WORK is not set -# CONFIG_UDELAY_LAPIC is not set +CONFIG_XAPIC_ONLY=y +# CONFIG_X2APIC_ONLY is not set +# CONFIG_X2APIC_RUNTIME is not set CONFIG_UDELAY_TSC=y CONFIG_TSC_MONOTONIC_TIMER=y -# CONFIG_TSC_SYNC_LFENCE is not set CONFIG_TSC_SYNC_MFENCE=y CONFIG_SETUP_XIP_CACHE=y CONFIG_LOGICAL_CPUS=y CONFIG_HAVE_SMI_HANDLER=y -# CONFIG_NO_SMM is not set -# CONFIG_SMM_ASEG is not set CONFIG_SMM_TSEG=y CONFIG_SMM_MODULE_HEAP_SIZE=0x4000 CONFIG_SMM_STUB_STACK_SIZE=0x400 CONFIG_SMM_LAPIC_REMAP_MITIGATION=y -# CONFIG_SERIALIZED_SMM_INITIALIZATION is not set -# CONFIG_X86_AMD_FIXED_MTRRS is not set -# CONFIG_X86_AMD_INIT_SIPI is not set -# CONFIG_SOC_SETS_MSRS is not set -# CONFIG_RESERVE_MTRRS_FOR_OS is not set +CONFIG_CPU_INFO_V2=y CONFIG_SMP=y CONFIG_MMX=y CONFIG_SSE=y CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y -# CONFIG_USES_MICROCODE_HEADER_FILES is not set # CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER is not set @@ -287,42 +252,32 @@ CONFIG_CPU_MICROCODE_CBFS_NONE=y # # Northbridge # -# CONFIG_NORTHBRIDGE_AMD_AGESA is not set -# CONFIG_NORTHBRIDGE_AMD_PI is not set CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y CONFIG_NORTHBRIDGE_INTEL_I945=y -# CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC is not set CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM=y CONFIG_I945_LVDS=y -# CONFIG_OVERRIDE_CLOCK_DISABLE is not set -# CONFIG_CHECK_SLFRCS_ON_RESUME is not set # # Southbridge # -# CONFIG_AMD_SB_CIMX is not set -# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set CONFIG_HPET_MIN_TICKS=0x80 +# CONFIG_PCIEXP_HOTPLUG is not set CONFIG_SOUTHBRIDGE_INTEL_I82801GX=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_ME is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_HPET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH7=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 is not set -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ=y CONFIG_HAVE_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG=y -# CONFIG_INTEL_DESCRIPTOR_MODE_CAPABLE is not set CONFIG_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG=y CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000 @@ -332,27 +287,11 @@ CONFIG_FIXED_SMBUS_IO_BASE=0x400 # # Super I/O # -# CONFIG_SUPERIO_ASPEED_AST2400 is not set -# CONFIG_SUPERIO_ASPEED_COMMON_PRE_RAM is not set -# CONFIG_SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND is not set -# CONFIG_SUPERIO_FINTEK_FAN_CONTROL is not set # # Embedded Controllers # CONFIG_EC_ACPI=y -# CONFIG_EC_51NB_NPCE985LA0DX is not set -# CONFIG_EC_GOOGLE_CHROMEEC_SKUID is not set -# CONFIG_EC_GOOGLE_WILCO is not set -# CONFIG_CAVIUM_BDK is not set -# CONFIG_MAINBOARD_HAS_CHROMEOS is not set -# CONFIG_GOOGLE_SMBIOS_MAINBOARD_VERSION is not set -# CONFIG_UEFI_2_4_BINDING is not set -# CONFIG_UDK_2015_BINDING is not set -# CONFIG_UDK_2017_BINDING is not set -# CONFIG_UDK_202005_BINDING is not set -# CONFIG_USE_SIEMENS_HWILIB is not set -# CONFIG_ARM_LPAE is not set CONFIG_ARCH_X86=y CONFIG_ARCH_BOOTBLOCK_X86_32=y CONFIG_ARCH_VERSTAGE_X86_32=y @@ -360,31 +299,19 @@ CONFIG_ARCH_ROMSTAGE_X86_32=y CONFIG_ARCH_POSTCAR_X86_32=y CONFIG_ARCH_RAMSTAGE_X86_32=y CONFIG_ARCH_ALL_STAGES_X86_32=y -# CONFIG_ARCH_POSTCAR_X86_64 is not set -# CONFIG_USE_MARCH_586 is not set CONFIG_AP_IN_SIPI_WAIT=y -# CONFIG_SIPI_VECTOR_IN_ROM is not set CONFIG_RAMTOP=0x1000000 +CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_NUM_IPI_STARTS=2 CONFIG_PC80_SYSTEM=y -# CONFIG_BOOTBLOCK_DEBUG_SPINLOOP is not set CONFIG_HAVE_CMOS_DEFAULT=y -CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" -CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y -# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set -# CONFIG_HPET_ADDRESS_OVERRIDE is not set CONFIG_HPET_ADDRESS=0xfed00000 CONFIG_POSTCAR_STAGE=y -# CONFIG_VERSTAGE_DEBUG_SPINLOOP is not set -# CONFIG_ROMSTAGE_DEBUG_SPINLOOP is not set CONFIG_BOOTBLOCK_SIMPLE=y # CONFIG_BOOTBLOCK_NORMAL is not set -# CONFIG_COLLECT_TIMESTAMPS_NO_TSC is not set CONFIG_COLLECT_TIMESTAMPS_TSC=y -# CONFIG_PAGING_IN_CACHE_AS_RAM is not set -# CONFIG_IDT_IN_EVERY_STAGE is not set CONFIG_HAVE_CF9_RESET=y -# CONFIG_PIRQ_ROUTE is not set +# end of Chipset # # Devices @@ -392,13 +319,9 @@ CONFIG_HAVE_CF9_RESET=y CONFIG_HAVE_VGA_TEXT_FRAMEBUFFER=y CONFIG_HAVE_LINEAR_FRAMEBUFFER=y CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y -# CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT is not set -# CONFIG_VGA_ROM_RUN_DEFAULT is not set -# CONFIG_MAINBOARD_HAS_LIBGFXINIT is not set CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y # CONFIG_VGA_ROM_RUN is not set # CONFIG_NO_GFX_INIT is not set -# CONFIG_MULTIPLE_VGA_ADAPTERS is not set # # Display @@ -407,13 +330,13 @@ CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y CONFIG_LINEAR_FRAMEBUFFER=y # CONFIG_BOOTSPLASH is not set +# end of Display + CONFIG_PCI=y -# CONFIG_NO_MMCONF_SUPPORT is not set CONFIG_MMCONF_SUPPORT=y CONFIG_PCIX_PLUGIN_SUPPORT=y CONFIG_CARDBUS_PLUGIN_SUPPORT=y CONFIG_AZALIA_PLUGIN_SUPPORT=y -# CONFIG_AZALIA_LOCK_DOWN_R_WO_GCAP is not set CONFIG_PCIEXP_PLUGIN_SUPPORT=y CONFIG_MMCONF_LENGTH=0x04000000 CONFIG_PCI_ALLOW_BUS_MASTER=y @@ -424,32 +347,18 @@ CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 # CONFIG_INTEL_GMA_ADD_VBT is not set # CONFIG_SOFTWARE_I2C is not set -# CONFIG_RESOURCE_ALLOCATOR_V3 is not set CONFIG_RESOURCE_ALLOCATOR_V4=y -# CONFIG_XHCI_UTILS is not set +# end of Devices # # Generic Drivers # -# CONFIG_DRIVERS_AS3722_RTC is not set -# CONFIG_CHROMEOS_CAMERA is not set CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000 -# CONFIG_MAINBOARD_HAS_CRB_TPM is not set # CONFIG_ELOG is not set -# CONFIG_GIC is not set -# CONFIG_IPMI_KCS is not set -# CONFIG_DRIVERS_LENOVO_WACOM is not set -# CONFIG_RT8168_GET_MAC_FROM_VPD is not set -# CONFIG_RT8168_SUPPORT_LEGACY_VPD_MAC is not set -# CONFIG_RT8168_SET_LED_MODE is not set # CONFIG_SMMSTORE is not set -# CONFIG_SMMSTORE_IN_CBFS is not set CONFIG_SPI_FLASH=y -# CONFIG_SPI_SDCARD is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP=y -# CONFIG_BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y -# CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS is not set # CONFIG_SPI_FLASH_NO_FAST_READ is not set CONFIG_SPI_FLASH_ADESTO=y CONFIG_SPI_FLASH_AMIC=y @@ -460,85 +369,26 @@ CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_STMICRO=y -# CONFIG_SPI_FLASH_HAS_VOLATILE_GROUP is not set -# CONFIG_HAVE_EM100PRO_SPI_CONSOLE_SUPPORT is not set CONFIG_DRIVERS_UART=y -# CONFIG_DRIVERS_UART_8250IO_SKIP_INIT is not set -# CONFIG_NO_UART_ON_SUPERIO is not set -# CONFIG_UART_OVERRIDE_INPUT_CLOCK_DIVIDER is not set -# CONFIG_UART_OVERRIDE_REFCLK is not set -# CONFIG_DRIVERS_UART_8250MEM is not set -# CONFIG_DRIVERS_UART_8250MEM_32 is not set -# CONFIG_HAVE_UART_SPECIAL is not set # CONFIG_DRIVERS_UART_OXPCIE is not set -# CONFIG_DRIVERS_UART_PL011 is not set -# CONFIG_UART_USE_REFCLK_AS_INPUT_CLOCK is not set CONFIG_HAVE_USBDEBUG=y -# CONFIG_HAVE_USBDEBUG_OPTIONS is not set # CONFIG_USBDEBUG is not set # CONFIG_VPD is not set -# CONFIG_DRIVERS_AMD_PI is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set -# CONFIG_DRIVERS_GFX_GENERIC is not set -# CONFIG_DRIVERS_I2C_GPIO_MUX is not set -# CONFIG_DRIVERS_I2C_MAX98373 is not set -# CONFIG_DRIVERS_I2C_MAX98390 is not set -# CONFIG_DRIVERS_I2C_MAX98927 is not set -# CONFIG_DRIVERS_I2C_PCA9538 is not set -# CONFIG_DRIVERS_I2C_PCF8523 is not set -# CONFIG_DRIVERS_I2C_PTN3460 is not set -# CONFIG_DRIVERS_I2C_RT1011 is not set -# CONFIG_DRIVERS_I2C_RT5663 is not set -# CONFIG_DRIVERS_I2C_RTD2132 is not set -# CONFIG_DRIVERS_I2C_RX6110SA is not set -# CONFIG_DRIVERS_I2C_SX9310 is not set -# CONFIG_DRIVERS_I2C_SX9324 is not set -# CONFIG_DRIVERS_I2C_TAS5825M is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC is not set -# CONFIG_DRIVER_I2C_TPM_ACPI is not set -# CONFIG_DRIVERS_INTEL_DPTF is not set -# CONFIG_PLATFORM_USES_FSP2_0 is not set -# CONFIG_PLATFORM_USES_FSP2_1 is not set -# CONFIG_PLATFORM_USES_FSP2_2 is not set -# CONFIG_INTEL_DDI is not set +CONFIG_DRIVERS_I2C_CK505=y CONFIG_INTEL_EDID=y CONFIG_INTEL_INT15=y CONFIG_INTEL_GMA_ACPI=y CONFIG_INTEL_GMA_SSC_ALTERNATE_REF=y -# CONFIG_INTEL_GMA_SWSMISCI is not set -# CONFIG_DRIVER_INTEL_I210 is not set -# CONFIG_DRIVERS_INTEL_ISH is not set -# CONFIG_DRIVERS_INTEL_MIPI_CAMERA is not set -# CONFIG_DRIVERS_INTEL_PMC is not set -# CONFIG_HAVE_INTEL_PTT is not set -# CONFIG_IPMI_OCP is not set -# CONFIG_DRIVERS_LENOVO_HYBRID_GRAPHICS is not set -# CONFIG_DRIVER_MAXIM_MAX77686 is not set -# CONFIG_DRIVER_PARADE_PS8625 is not set -# CONFIG_DRIVER_PARADE_PS8640 is not set +CONFIG_INTEL_GMA_OPREGION_2_0=y # CONFIG_DRIVERS_PS2_KEYBOARD is not set CONFIG_DRIVERS_MC146818=y -# CONFIG_MAINBOARD_HAS_LPC_TPM is not set +# CONFIG_USE_PC_CMOS_ALTCENTURY is not set CONFIG_VGA=y -# CONFIG_DRIVERS_RICOH_RCE822 is not set -# CONFIG_DRIVER_SIEMENS_NC_FPGA is not set -# CONFIG_NC_FPGA_NOTIFY_CB_READY is not set # CONFIG_DRIVERS_SIL_3114 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM is not set -# CONFIG_DRIVERS_TI_SN65DSI86BRIDGE is not set -# CONFIG_DRIVER_TI_TPS65090 is not set -# CONFIG_DRIVERS_TI_TPS65913_RTC is not set -# CONFIG_DRIVERS_USB_ACPI is not set -# CONFIG_DRIVERS_USB_PCI_XHCI is not set CONFIG_DRIVERS_WIFI_GENERIC=y -# CONFIG_USE_SAR is not set -# CONFIG_MP_SERVICES_PPI_V1 is not set -# CONFIG_MP_SERVICES_PPI_V2 is not set -# CONFIG_COMMONLIB_STORAGE is not set +# end of Generic Drivers # # Security @@ -547,32 +397,35 @@ CONFIG_DRIVERS_WIFI_GENERIC=y # # Verified Boot (vboot) # +# end of Verified Boot (vboot) # # Trusted Platform Module # -CONFIG_USER_NO_TPM=y +CONFIG_NO_TPM=y +# end of Trusted Platform Module # # Memory initialization # CONFIG_PLATFORM_HAS_DRAM_CLEAR=y CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT=y +# end of Memory initialization + # CONFIG_STM is not set CONFIG_BOOTMEDIA_LOCK_NONE=y # CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set # CONFIG_BOOTMEDIA_LOCK_CHIP is not set -# CONFIG_ACPI_AMD_HARDWARE_SLEEP_VALUES is not set +# CONFIG_BOOTMEDIA_SMM_BWP is not set +# end of Security + CONFIG_ACPI_HAVE_PCAT_8259=y CONFIG_ACPI_INTEL_HARDWARE_SLEEP_VALUES=y CONFIG_ACPI_SOC_NVS=y -# CONFIG_ACPI_EINJ is not set CONFIG_HAVE_ACPI_TABLES=y -# CONFIG_BOOT_DEVICE_NOT_SPI_FLASH is not set CONFIG_BOOT_DEVICE_SPI_FLASH=y CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y -# CONFIG_RTC is not set # # Console @@ -615,33 +468,25 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=0 CONFIG_POST_DEVICE_NONE=y # CONFIG_POST_DEVICE_LPC is not set # CONFIG_POST_DEVICE_PCI_PCIE is not set -# CONFIG_DEFAULT_POST_ON_LPC is not set CONFIG_POST_IO_PORT=0x80 -# CONFIG_NO_EARLY_BOOTBLOCK_POSTCODES is not set -# CONFIG_HWBASE_DEBUG_CB is not set CONFIG_HWBASE_DEBUG_NULL=y +# end of Console + CONFIG_HAVE_ACPI_RESUME=y -# CONFIG_DISABLE_ACPI_HIBERNATE is not set CONFIG_RESUME_PATH_SAME_AS_BOOT=y -# CONFIG_NO_MONOTONIC_TIMER is not set CONFIG_HAVE_MONOTONIC_TIMER=y -# CONFIG_TIMER_QUEUE is not set CONFIG_HAVE_OPTION_TABLE=y -# CONFIG_PCI_IO_CFG_EXT is not set CONFIG_IOAPIC=y CONFIG_USE_WATCHDOG_ON_BOOT=y -# CONFIG_GFXUMA is not set CONFIG_HAVE_MP_TABLE=y -# CONFIG_ACPI_NHLT is not set # # System tables # CONFIG_GENERATE_MP_TABLE=y -# CONFIG_GENERATE_PIRQ_TABLE is not set CONFIG_GENERATE_SMBIOS_TABLES=y -# CONFIG_SMBIOS_PROVIDED_BY_MOBO is not set CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +# end of System tables # # Payload @@ -659,7 +504,6 @@ CONFIG_PAYLOAD_NONE=y # CONFIG_PAYLOAD_TIANOCORE is not set CONFIG_PAYLOAD_OPTIONS="" # CONFIG_PXE is not set -# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # @@ -669,6 +513,8 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # CONFIG_MEMTEST_SECONDARY_PAYLOAD is not set # CONFIG_NVRAMCUI_SECONDARY_PAYLOAD is not set # CONFIG_TINT_SECONDARY_PAYLOAD is not set +# end of Secondary Payloads +# end of Payload # # Debugging @@ -677,6 +523,7 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # # CPU Debug Settings # +# CONFIG_DISPLAY_MTRRS is not set # # BLOB Debug Settings @@ -693,25 +540,15 @@ CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_SMBUS=y # CONFIG_DEBUG_SMBUS is not set # CONFIG_DEBUG_SMI is not set -# CONFIG_DEBUG_MALLOC is not set -# CONFIG_DEBUG_RESOURCES is not set # CONFIG_DEBUG_CONSOLE_INIT is not set # CONFIG_DEBUG_SPI_FLASH is not set -# CONFIG_DEBUG_FUNC is not set # CONFIG_DEBUG_BOOT_STATE is not set # CONFIG_DEBUG_ADA_CODE is not set # CONFIG_HAVE_EM100_SUPPORT is not set -# CONFIG_SPD_CACHE_IN_FMAP is not set +# end of Debugging + CONFIG_WARNINGS_ARE_ERRORS=y -# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set -# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set -# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set -# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set -# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set -# CONFIG_REG_SCRIPT is not set CONFIG_MAX_REBOOT_CNT=3 -# CONFIG_NO_XIP_EARLY_STAGES is not set -# CONFIG_EARLY_CBMEM_LIST is not set CONFIG_RELOCATABLE_MODULES=y CONFIG_HAVE_BOOTBLOCK=y CONFIG_HAVE_ROMSTAGE=y diff --git a/resources/coreboot/macbook21/config/libgfxinit_txtmode b/resources/coreboot/macbook21/config/libgfxinit_txtmode index abbcbb33..e166b65b 100644 --- a/resources/coreboot/macbook21/config/libgfxinit_txtmode +++ b/resources/coreboot/macbook21/config/libgfxinit_txtmode @@ -15,6 +15,7 @@ CONFIG_COMPILER_GCC=y # CONFIG_CCACHE is not set # CONFIG_FMD_GENPARSER is not set # CONFIG_UTIL_GENPARSER is not set +# CONFIG_OPTION_BACKEND_NONE is not set CONFIG_USE_OPTION_TABLE=y CONFIG_STATIC_OPTION_TABLE=y CONFIG_COMPRESS_RAMSTAGE=y @@ -26,16 +27,14 @@ CONFIG_USE_BLOBS=y # CONFIG_USE_QC_BLOBS is not set # CONFIG_COVERAGE is not set # CONFIG_UBSAN is not set -# CONFIG_HAVE_ASAN_IN_ROMSTAGE is not set -# CONFIG_ASAN_IN_ROMSTAGE is not set CONFIG_HAVE_ASAN_IN_RAMSTAGE=y -# CONFIG_ASAN_IN_RAMSTAGE is not set # CONFIG_ASAN is not set # CONFIG_NO_STAGE_CACHE is not set CONFIG_TSEG_STAGE_CACHE=y # CONFIG_UPDATE_IMAGE is not set # CONFIG_BOOTSPLASH_IMAGE is not set # CONFIG_FW_CONFIG is not set +# end of General setup # # Mainboard @@ -121,6 +120,8 @@ CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="Apple Inc." CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0xc00 CONFIG_POST_IO=y CONFIG_OVERRIDE_DEVICETREE="" +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_CMOS_LAYOUT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.layout" CONFIG_BOOT_DEVICE_SPI_FLASH_BUS=0 CONFIG_UART_FOR_CONSOLE=0 # CONFIG_CONSOLE_POST is not set @@ -138,8 +139,6 @@ CONFIG_SPI_FLASH_WINBOND=y CONFIG_DRIVERS_INTEL_WIFI=y CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 CONFIG_CONSOLE_SERIAL=y -# CONFIG_PCIEXP_HOTPLUG is not set -CONFIG_CBFS_MCACHE_SIZE=0x2000 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="MacBook2,1" CONFIG_PS2K_EISAID="PNP0303" CONFIG_PS2M_EISAID="PNP0F13" @@ -170,11 +169,9 @@ CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y # CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set CONFIG_MAINBOARD_POWER_FAILURE_STATE=0 +# end of Mainboard + CONFIG_SYSTEM_TYPE_LAPTOP=y -# CONFIG_SYSTEM_TYPE_TABLET is not set -# CONFIG_SYSTEM_TYPE_DETACHABLE is not set -# CONFIG_SYSTEM_TYPE_CONVERTIBLE is not set -# CONFIG_CBFS_AUTOGEN_ATTRIBUTES is not set # # Chipset @@ -183,31 +180,28 @@ CONFIG_SYSTEM_TYPE_LAPTOP=y # # SoC # +CONFIG_ARCH_ALL_STAGES_X86=y CONFIG_CHIPSET_DEVICETREE="" +CONFIG_CBFS_MCACHE_SIZE=0x4000 CONFIG_ROMSTAGE_ADDR=0x2000000 CONFIG_VERSTAGE_ADDR=0x2000000 CONFIG_RAMBASE=0xe00000 CONFIG_CPU_ADDR_BITS=36 CONFIG_SMM_RESERVED_SIZE=0x100000 CONFIG_SMM_MODULE_STACK_SIZE=0x400 -# CONFIG_CHECK_REV_IN_OPROM_NAME is not set CONFIG_ACPI_CPU_STRING="\\_SB.CP%02d" CONFIG_EHCI_BAR=0xfef00000 -# CONFIG_SOC_CAVIUM_CN81XX is not set CONFIG_STACK_SIZE=0x1000 -# CONFIG_SOC_CAVIUM_COMMON is not set CONFIG_VBT_DATA_SIZE_KB=8 -# CONFIG_SOC_INTEL_GEMINILAKE is not set -CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_INTEL_GMA_BCLV_OFFSET=0xc8254 CONFIG_INTEL_GMA_BCLV_WIDTH=16 CONFIG_INTEL_GMA_BCLM_OFFSET=0xc8256 CONFIG_INTEL_GMA_BCLM_WIDTH=16 -# CONFIG_PCIEXP_ASPM is not set -# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_FIXED_MCHBAR_MMIO_BASE=0xfed14000 CONFIG_FIXED_DMIBAR_MMIO_BASE=0xfed18000 CONFIG_FIXED_EPBAR_MMIO_BASE=0xfed19000 +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set CONFIG_TTYS0_BASE=0x3f8 CONFIG_TTYS0_LCS=3 CONFIG_UART_PCI_ADDR=0x0 @@ -215,36 +209,15 @@ CONFIG_AZALIA_MAX_CODECS=3 CONFIG_INTEL_HAS_TOP_SWAP=y # CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK is not set CONFIG_INTEL_TOP_SWAP_BOOTBLOCK_SIZE=0x10000 -# CONFIG_SOC_MEDIATEK_MT8173 is not set -# CONFIG_SOC_MEDIATEK_MT8183 is not set -# CONFIG_SOC_MEDIATEK_MT8192 is not set -# CONFIG_SOC_MEDIATEK_MT8195 is not set -# CONFIG_SOC_NVIDIA_TEGRA124 is not set -# CONFIG_SOC_NVIDIA_TEGRA210 is not set -# CONFIG_SOC_QUALCOMM_COMMON is not set -# CONFIG_SOC_QC_IPQ40XX is not set -# CONFIG_SOC_QC_IPQ806X is not set -# CONFIG_SOC_QUALCOMM_QCS405 is not set -# CONFIG_SOC_ROCKCHIP_RK3288 is not set -# CONFIG_SOC_ROCKCHIP_RK3399 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set -# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set -# CONFIG_SOC_TI_AM335X is not set -# CONFIG_SOC_UCB_RISCV is not set # # CPU # -# CONFIG_CPU_AMD_AGESA is not set -# CONFIG_CPU_AMD_PI is not set -# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set CONFIG_CPU_INTEL_MODEL_6EX=y CONFIG_CPU_INTEL_MODEL_6FX=y CONFIG_SOCKET_SPECIFIC_OPTIONS=y CONFIG_CPU_INTEL_SOCKET_M=y CONFIG_SSE2=y -# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set -# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set CONFIG_CPU_INTEL_COMMON=y CONFIG_ENABLE_VMX=y CONFIG_SET_IA32_FC_LOCK_BIT=y @@ -252,33 +225,25 @@ CONFIG_SET_MSR_AESNI_LOCK_BIT=y CONFIG_CPU_INTEL_COMMON_TIMEBASE=y CONFIG_CPU_INTEL_COMMON_SMM=y CONFIG_MICROCODE_UPDATE_PRE_RAM=y -# CONFIG_PARALLEL_CPU_INIT is not set CONFIG_PARALLEL_MP=y -# CONFIG_PARALLEL_MP_AP_WORK is not set -# CONFIG_UDELAY_LAPIC is not set +CONFIG_XAPIC_ONLY=y +# CONFIG_X2APIC_ONLY is not set +# CONFIG_X2APIC_RUNTIME is not set CONFIG_UDELAY_TSC=y CONFIG_TSC_MONOTONIC_TIMER=y -# CONFIG_TSC_SYNC_LFENCE is not set CONFIG_TSC_SYNC_MFENCE=y CONFIG_SETUP_XIP_CACHE=y CONFIG_LOGICAL_CPUS=y CONFIG_HAVE_SMI_HANDLER=y -# CONFIG_NO_SMM is not set -# CONFIG_SMM_ASEG is not set CONFIG_SMM_TSEG=y CONFIG_SMM_MODULE_HEAP_SIZE=0x4000 CONFIG_SMM_STUB_STACK_SIZE=0x400 CONFIG_SMM_LAPIC_REMAP_MITIGATION=y -# CONFIG_SERIALIZED_SMM_INITIALIZATION is not set -# CONFIG_X86_AMD_FIXED_MTRRS is not set -# CONFIG_X86_AMD_INIT_SIPI is not set -# CONFIG_SOC_SETS_MSRS is not set -# CONFIG_RESERVE_MTRRS_FOR_OS is not set +CONFIG_CPU_INFO_V2=y CONFIG_SMP=y CONFIG_MMX=y CONFIG_SSE=y CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y -# CONFIG_USES_MICROCODE_HEADER_FILES is not set # CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS is not set # CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER is not set @@ -287,42 +252,32 @@ CONFIG_CPU_MICROCODE_CBFS_NONE=y # # Northbridge # -# CONFIG_NORTHBRIDGE_AMD_AGESA is not set -# CONFIG_NORTHBRIDGE_AMD_PI is not set CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y CONFIG_NORTHBRIDGE_INTEL_I945=y -# CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC is not set CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM=y CONFIG_I945_LVDS=y -# CONFIG_OVERRIDE_CLOCK_DISABLE is not set -# CONFIG_CHECK_SLFRCS_ON_RESUME is not set # # Southbridge # -# CONFIG_AMD_SB_CIMX is not set -# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set CONFIG_HPET_MIN_TICKS=0x80 +# CONFIG_PCIEXP_HOTPLUG is not set CONFIG_SOUTHBRIDGE_INTEL_I82801GX=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_ME is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_HPET=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH7=y -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 is not set -# CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT is not set CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ=y CONFIG_HAVE_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG=y -# CONFIG_INTEL_DESCRIPTOR_MODE_CAPABLE is not set CONFIG_INTEL_CHIPSET_LOCKDOWN=y CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG=y CONFIG_FIXED_RCBA_MMIO_BASE=0xfed1c000 @@ -332,27 +287,11 @@ CONFIG_FIXED_SMBUS_IO_BASE=0x400 # # Super I/O # -# CONFIG_SUPERIO_ASPEED_AST2400 is not set -# CONFIG_SUPERIO_ASPEED_COMMON_PRE_RAM is not set -# CONFIG_SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND is not set -# CONFIG_SUPERIO_FINTEK_FAN_CONTROL is not set # # Embedded Controllers # CONFIG_EC_ACPI=y -# CONFIG_EC_51NB_NPCE985LA0DX is not set -# CONFIG_EC_GOOGLE_CHROMEEC_SKUID is not set -# CONFIG_EC_GOOGLE_WILCO is not set -# CONFIG_CAVIUM_BDK is not set -# CONFIG_MAINBOARD_HAS_CHROMEOS is not set -# CONFIG_GOOGLE_SMBIOS_MAINBOARD_VERSION is not set -# CONFIG_UEFI_2_4_BINDING is not set -# CONFIG_UDK_2015_BINDING is not set -# CONFIG_UDK_2017_BINDING is not set -# CONFIG_UDK_202005_BINDING is not set -# CONFIG_USE_SIEMENS_HWILIB is not set -# CONFIG_ARM_LPAE is not set CONFIG_ARCH_X86=y CONFIG_ARCH_BOOTBLOCK_X86_32=y CONFIG_ARCH_VERSTAGE_X86_32=y @@ -360,31 +299,19 @@ CONFIG_ARCH_ROMSTAGE_X86_32=y CONFIG_ARCH_POSTCAR_X86_32=y CONFIG_ARCH_RAMSTAGE_X86_32=y CONFIG_ARCH_ALL_STAGES_X86_32=y -# CONFIG_ARCH_POSTCAR_X86_64 is not set -# CONFIG_USE_MARCH_586 is not set CONFIG_AP_IN_SIPI_WAIT=y -# CONFIG_SIPI_VECTOR_IN_ROM is not set CONFIG_RAMTOP=0x1000000 +CONFIG_X86_TOP4G_BOOTMEDIA_MAP=y CONFIG_NUM_IPI_STARTS=2 CONFIG_PC80_SYSTEM=y -# CONFIG_BOOTBLOCK_DEBUG_SPINLOOP is not set CONFIG_HAVE_CMOS_DEFAULT=y -CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" -CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y -# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set -# CONFIG_HPET_ADDRESS_OVERRIDE is not set CONFIG_HPET_ADDRESS=0xfed00000 CONFIG_POSTCAR_STAGE=y -# CONFIG_VERSTAGE_DEBUG_SPINLOOP is not set -# CONFIG_ROMSTAGE_DEBUG_SPINLOOP is not set CONFIG_BOOTBLOCK_SIMPLE=y # CONFIG_BOOTBLOCK_NORMAL is not set -# CONFIG_COLLECT_TIMESTAMPS_NO_TSC is not set CONFIG_COLLECT_TIMESTAMPS_TSC=y -# CONFIG_PAGING_IN_CACHE_AS_RAM is not set -# CONFIG_IDT_IN_EVERY_STAGE is not set CONFIG_HAVE_CF9_RESET=y -# CONFIG_PIRQ_ROUTE is not set +# end of Chipset # # Devices @@ -392,26 +319,22 @@ CONFIG_HAVE_CF9_RESET=y CONFIG_HAVE_VGA_TEXT_FRAMEBUFFER=y CONFIG_HAVE_LINEAR_FRAMEBUFFER=y CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y -# CONFIG_MAINBOARD_FORCE_NATIVE_VGA_INIT is not set -# CONFIG_VGA_ROM_RUN_DEFAULT is not set -# CONFIG_MAINBOARD_HAS_LIBGFXINIT is not set CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y # CONFIG_VGA_ROM_RUN is not set # CONFIG_NO_GFX_INIT is not set -# CONFIG_MULTIPLE_VGA_ADAPTERS is not set # # Display # CONFIG_VGA_TEXT_FRAMEBUFFER=y # CONFIG_GENERIC_LINEAR_FRAMEBUFFER is not set +# end of Display + CONFIG_PCI=y -# CONFIG_NO_MMCONF_SUPPORT is not set CONFIG_MMCONF_SUPPORT=y CONFIG_PCIX_PLUGIN_SUPPORT=y CONFIG_CARDBUS_PLUGIN_SUPPORT=y CONFIG_AZALIA_PLUGIN_SUPPORT=y -# CONFIG_AZALIA_LOCK_DOWN_R_WO_GCAP is not set CONFIG_PCIEXP_PLUGIN_SUPPORT=y CONFIG_MMCONF_LENGTH=0x04000000 CONFIG_PCI_ALLOW_BUS_MASTER=y @@ -422,32 +345,18 @@ CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 # CONFIG_INTEL_GMA_ADD_VBT is not set # CONFIG_SOFTWARE_I2C is not set -# CONFIG_RESOURCE_ALLOCATOR_V3 is not set CONFIG_RESOURCE_ALLOCATOR_V4=y -# CONFIG_XHCI_UTILS is not set +# end of Devices # # Generic Drivers # -# CONFIG_DRIVERS_AS3722_RTC is not set -# CONFIG_CHROMEOS_CAMERA is not set CONFIG_CRB_TPM_BASE_ADDRESS=0xfed40000 -# CONFIG_MAINBOARD_HAS_CRB_TPM is not set # CONFIG_ELOG is not set -# CONFIG_GIC is not set -# CONFIG_IPMI_KCS is not set -# CONFIG_DRIVERS_LENOVO_WACOM is not set -# CONFIG_RT8168_GET_MAC_FROM_VPD is not set -# CONFIG_RT8168_SUPPORT_LEGACY_VPD_MAC is not set -# CONFIG_RT8168_SET_LED_MODE is not set # CONFIG_SMMSTORE is not set -# CONFIG_SMMSTORE_IN_CBFS is not set CONFIG_SPI_FLASH=y -# CONFIG_SPI_SDCARD is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP=y -# CONFIG_BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES is not set CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y -# CONFIG_SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS is not set # CONFIG_SPI_FLASH_NO_FAST_READ is not set CONFIG_SPI_FLASH_ADESTO=y CONFIG_SPI_FLASH_AMIC=y @@ -458,85 +367,26 @@ CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_STMICRO=y -# CONFIG_SPI_FLASH_HAS_VOLATILE_GROUP is not set -# CONFIG_HAVE_EM100PRO_SPI_CONSOLE_SUPPORT is not set CONFIG_DRIVERS_UART=y -# CONFIG_DRIVERS_UART_8250IO_SKIP_INIT is not set -# CONFIG_NO_UART_ON_SUPERIO is not set -# CONFIG_UART_OVERRIDE_INPUT_CLOCK_DIVIDER is not set -# CONFIG_UART_OVERRIDE_REFCLK is not set -# CONFIG_DRIVERS_UART_8250MEM is not set -# CONFIG_DRIVERS_UART_8250MEM_32 is not set -# CONFIG_HAVE_UART_SPECIAL is not set # CONFIG_DRIVERS_UART_OXPCIE is not set -# CONFIG_DRIVERS_UART_PL011 is not set -# CONFIG_UART_USE_REFCLK_AS_INPUT_CLOCK is not set CONFIG_HAVE_USBDEBUG=y -# CONFIG_HAVE_USBDEBUG_OPTIONS is not set # CONFIG_USBDEBUG is not set # CONFIG_VPD is not set -# CONFIG_DRIVERS_AMD_PI is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENESYSLOGIC_GL9755 is not set -# CONFIG_DRIVERS_GFX_GENERIC is not set -# CONFIG_DRIVERS_I2C_GPIO_MUX is not set -# CONFIG_DRIVERS_I2C_MAX98373 is not set -# CONFIG_DRIVERS_I2C_MAX98390 is not set -# CONFIG_DRIVERS_I2C_MAX98927 is not set -# CONFIG_DRIVERS_I2C_PCA9538 is not set -# CONFIG_DRIVERS_I2C_PCF8523 is not set -# CONFIG_DRIVERS_I2C_PTN3460 is not set -# CONFIG_DRIVERS_I2C_RT1011 is not set -# CONFIG_DRIVERS_I2C_RT5663 is not set -# CONFIG_DRIVERS_I2C_RTD2132 is not set -# CONFIG_DRIVERS_I2C_RX6110SA is not set -# CONFIG_DRIVERS_I2C_SX9310 is not set -# CONFIG_DRIVERS_I2C_SX9324 is not set -# CONFIG_DRIVERS_I2C_TAS5825M is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC is not set -# CONFIG_DRIVER_I2C_TPM_ACPI is not set -# CONFIG_DRIVERS_INTEL_DPTF is not set -# CONFIG_PLATFORM_USES_FSP2_0 is not set -# CONFIG_PLATFORM_USES_FSP2_1 is not set -# CONFIG_PLATFORM_USES_FSP2_2 is not set -# CONFIG_INTEL_DDI is not set +CONFIG_DRIVERS_I2C_CK505=y CONFIG_INTEL_EDID=y CONFIG_INTEL_INT15=y CONFIG_INTEL_GMA_ACPI=y CONFIG_INTEL_GMA_SSC_ALTERNATE_REF=y -# CONFIG_INTEL_GMA_SWSMISCI is not set -# CONFIG_DRIVER_INTEL_I210 is not set -# CONFIG_DRIVERS_INTEL_ISH is not set -# CONFIG_DRIVERS_INTEL_MIPI_CAMERA is not set -# CONFIG_DRIVERS_INTEL_PMC is not set -# CONFIG_HAVE_INTEL_PTT is not set -# CONFIG_IPMI_OCP is not set -# CONFIG_DRIVERS_LENOVO_HYBRID_GRAPHICS is not set -# CONFIG_DRIVER_MAXIM_MAX77686 is not set -# CONFIG_DRIVER_PARADE_PS8625 is not set -# CONFIG_DRIVER_PARADE_PS8640 is not set +CONFIG_INTEL_GMA_OPREGION_2_0=y # CONFIG_DRIVERS_PS2_KEYBOARD is not set CONFIG_DRIVERS_MC146818=y -# CONFIG_MAINBOARD_HAS_LPC_TPM is not set +# CONFIG_USE_PC_CMOS_ALTCENTURY is not set CONFIG_VGA=y -# CONFIG_DRIVERS_RICOH_RCE822 is not set -# CONFIG_DRIVER_SIEMENS_NC_FPGA is not set -# CONFIG_NC_FPGA_NOTIFY_CB_READY is not set # CONFIG_DRIVERS_SIL_3114 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM_CR50 is not set -# CONFIG_MAINBOARD_HAS_SPI_TPM is not set -# CONFIG_DRIVERS_TI_SN65DSI86BRIDGE is not set -# CONFIG_DRIVER_TI_TPS65090 is not set -# CONFIG_DRIVERS_TI_TPS65913_RTC is not set -# CONFIG_DRIVERS_USB_ACPI is not set -# CONFIG_DRIVERS_USB_PCI_XHCI is not set CONFIG_DRIVERS_WIFI_GENERIC=y -# CONFIG_USE_SAR is not set -# CONFIG_MP_SERVICES_PPI_V1 is not set -# CONFIG_MP_SERVICES_PPI_V2 is not set -# CONFIG_COMMONLIB_STORAGE is not set +# end of Generic Drivers # # Security @@ -545,32 +395,35 @@ CONFIG_DRIVERS_WIFI_GENERIC=y # # Verified Boot (vboot) # +# end of Verified Boot (vboot) # # Trusted Platform Module # -CONFIG_USER_NO_TPM=y +CONFIG_NO_TPM=y +# end of Trusted Platform Module # # Memory initialization # CONFIG_PLATFORM_HAS_DRAM_CLEAR=y CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT=y +# end of Memory initialization + # CONFIG_STM is not set CONFIG_BOOTMEDIA_LOCK_NONE=y # CONFIG_BOOTMEDIA_LOCK_CONTROLLER is not set # CONFIG_BOOTMEDIA_LOCK_CHIP is not set -# CONFIG_ACPI_AMD_HARDWARE_SLEEP_VALUES is not set +# CONFIG_BOOTMEDIA_SMM_BWP is not set +# end of Security + CONFIG_ACPI_HAVE_PCAT_8259=y CONFIG_ACPI_INTEL_HARDWARE_SLEEP_VALUES=y CONFIG_ACPI_SOC_NVS=y -# CONFIG_ACPI_EINJ is not set CONFIG_HAVE_ACPI_TABLES=y -# CONFIG_BOOT_DEVICE_NOT_SPI_FLASH is not set CONFIG_BOOT_DEVICE_SPI_FLASH=y CONFIG_BOOT_DEVICE_MEMORY_MAPPED=y CONFIG_BOOT_DEVICE_SUPPORTS_WRITES=y -# CONFIG_RTC is not set # # Console @@ -613,33 +466,25 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=0 CONFIG_POST_DEVICE_NONE=y # CONFIG_POST_DEVICE_LPC is not set # CONFIG_POST_DEVICE_PCI_PCIE is not set -# CONFIG_DEFAULT_POST_ON_LPC is not set CONFIG_POST_IO_PORT=0x80 -# CONFIG_NO_EARLY_BOOTBLOCK_POSTCODES is not set -# CONFIG_HWBASE_DEBUG_CB is not set CONFIG_HWBASE_DEBUG_NULL=y +# end of Console + CONFIG_HAVE_ACPI_RESUME=y -# CONFIG_DISABLE_ACPI_HIBERNATE is not set CONFIG_RESUME_PATH_SAME_AS_BOOT=y -# CONFIG_NO_MONOTONIC_TIMER is not set CONFIG_HAVE_MONOTONIC_TIMER=y -# CONFIG_TIMER_QUEUE is not set CONFIG_HAVE_OPTION_TABLE=y -# CONFIG_PCI_IO_CFG_EXT is not set CONFIG_IOAPIC=y CONFIG_USE_WATCHDOG_ON_BOOT=y -# CONFIG_GFXUMA is not set CONFIG_HAVE_MP_TABLE=y -# CONFIG_ACPI_NHLT is not set # # System tables # CONFIG_GENERATE_MP_TABLE=y -# CONFIG_GENERATE_PIRQ_TABLE is not set CONFIG_GENERATE_SMBIOS_TABLES=y -# CONFIG_SMBIOS_PROVIDED_BY_MOBO is not set CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +# end of System tables # # Payload @@ -657,7 +502,6 @@ CONFIG_PAYLOAD_NONE=y # CONFIG_PAYLOAD_TIANOCORE is not set CONFIG_PAYLOAD_OPTIONS="" # CONFIG_PXE is not set -# CONFIG_PAYLOAD_IS_FLAT_BINARY is not set CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # @@ -667,6 +511,8 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # CONFIG_MEMTEST_SECONDARY_PAYLOAD is not set # CONFIG_NVRAMCUI_SECONDARY_PAYLOAD is not set # CONFIG_TINT_SECONDARY_PAYLOAD is not set +# end of Secondary Payloads +# end of Payload # # Debugging @@ -675,6 +521,7 @@ CONFIG_COMPRESS_SECONDARY_PAYLOAD=y # # CPU Debug Settings # +# CONFIG_DISPLAY_MTRRS is not set # # BLOB Debug Settings @@ -691,25 +538,15 @@ CONFIG_HAVE_DEBUG_RAM_SETUP=y CONFIG_HAVE_DEBUG_SMBUS=y # CONFIG_DEBUG_SMBUS is not set # CONFIG_DEBUG_SMI is not set -# CONFIG_DEBUG_MALLOC is not set -# CONFIG_DEBUG_RESOURCES is not set # CONFIG_DEBUG_CONSOLE_INIT is not set # CONFIG_DEBUG_SPI_FLASH is not set -# CONFIG_DEBUG_FUNC is not set # CONFIG_DEBUG_BOOT_STATE is not set # CONFIG_DEBUG_ADA_CODE is not set # CONFIG_HAVE_EM100_SUPPORT is not set -# CONFIG_SPD_CACHE_IN_FMAP is not set +# end of Debugging + CONFIG_WARNINGS_ARE_ERRORS=y -# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set -# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set -# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set -# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set -# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set -# CONFIG_REG_SCRIPT is not set CONFIG_MAX_REBOOT_CNT=3 -# CONFIG_NO_XIP_EARLY_STAGES is not set -# CONFIG_EARLY_CBMEM_LIST is not set CONFIG_RELOCATABLE_MODULES=y CONFIG_HAVE_BOOTBLOCK=y CONFIG_HAVE_ROMSTAGE=y diff --git a/resources/coreboot/macbook21/patches/0001-apple-macbook21-Set-default-VRAM-to-64MiB-instead-of.patch b/resources/coreboot/macbook21/patches/0001-apple-macbook21-Set-default-VRAM-to-64MiB-instead-of.patch new file mode 100644 index 00000000..e1b0ee03 --- /dev/null +++ b/resources/coreboot/macbook21/patches/0001-apple-macbook21-Set-default-VRAM-to-64MiB-instead-of.patch @@ -0,0 +1,23 @@ +From 4ab0850279e98ccd715fca75813407046e9eac27 Mon Sep 17 00:00:00 2001 +From: Leah Rowe <leah@retroboot.org> +Date: Fri, 19 Mar 2021 05:54:58 +0000 +Subject: [PATCH 1/2] apple/macbook21: Set default VRAM to 64MiB instead of + 8MiB + +--- + src/mainboard/apple/macbook21/cmos.default | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mainboard/apple/macbook21/cmos.default b/src/mainboard/apple/macbook21/cmos.default +index cf1bc4566e..dc0df3b6d6 100644 +--- a/src/mainboard/apple/macbook21/cmos.default ++++ b/src/mainboard/apple/macbook21/cmos.default +@@ -5,4 +5,4 @@ boot_devices='' + boot_default=0x40 + cmos_defaults_loaded=Yes + lpt=Enable +-gfx_uma_size=8M ++gfx_uma_size=64M +-- +2.25.1 + diff --git a/resources/coreboot/macbook21/patches/0002-add-c3-and-clockgen-to-apple-macbook21.patch b/resources/coreboot/macbook21/patches/0002-add-c3-and-clockgen-to-apple-macbook21.patch new file mode 100644 index 00000000..0921ab8c --- /dev/null +++ b/resources/coreboot/macbook21/patches/0002-add-c3-and-clockgen-to-apple-macbook21.patch @@ -0,0 +1,68 @@ +From 3b03c7ce6499165959f1335a6b4d66d576c6b7ff Mon Sep 17 00:00:00 2001 +From: Vitali64 <5405891-vitali64yt@users.noreply.gitlab.com> +Date: Wed, 27 Oct 2021 13:36:01 +0200 +Subject: [PATCH 2/2] add c3 and clockgen to apple/macbook21 + +--- + src/mainboard/apple/macbook21/Kconfig | 1 + + src/mainboard/apple/macbook21/cstates.c | 13 +++++++++++++ + src/mainboard/apple/macbook21/devicetree.cb | 6 ++++++ + 3 files changed, 20 insertions(+) + +diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig +index 5f5ffde588..27377b737c 100644 +--- a/src/mainboard/apple/macbook21/Kconfig ++++ b/src/mainboard/apple/macbook21/Kconfig +@@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS + select HAVE_ACPI_TABLES + select HAVE_ACPI_RESUME + select I945_LVDS ++ select DRIVERS_I2C_CK505 + + config MAINBOARD_DIR + default "apple/macbook21" +diff --git a/src/mainboard/apple/macbook21/cstates.c b/src/mainboard/apple/macbook21/cstates.c +index 13d06f0839..88b8669c61 100644 +--- a/src/mainboard/apple/macbook21/cstates.c ++++ b/src/mainboard/apple/macbook21/cstates.c +@@ -29,6 +29,19 @@ static const acpi_cstate_t cst_entries[] = { + .addrh = 0, + } + }, ++ { ++ .ctype = 3, ++ .latency = 17, ++ .power = 250, ++ .resource = { ++ .space_id = ACPI_ADDRESS_SPACE_FIXED, ++ .bit_width = ACPI_FFIXEDHW_VENDOR_INTEL, ++ .bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT, ++ .access_size = ACPI_ACCESS_SIZE_UNDEFINED, ++ .addrl = 0x20, ++ .addrh = 0, ++ } ++ }, + }; + + int get_cst_entries(const acpi_cstate_t **entries) +diff --git a/src/mainboard/apple/macbook21/devicetree.cb b/src/mainboard/apple/macbook21/devicetree.cb +index bcce778cb1..16025d6fbb 100644 +--- a/src/mainboard/apple/macbook21/devicetree.cb ++++ b/src/mainboard/apple/macbook21/devicetree.cb +@@ -104,7 +104,13 @@ chip northbridge/intel/i945 + end + device pci 1f.3 on # SMBUS + subsystemid 0x8086 0x7270 ++ chip drivers/i2c/ck505 ++ register "mask" = "{ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }" ++ register "regs" = "{ 0x77, 0x77, 0x2d, 0x00, 0x21, 0x10, 0x3b, 0x06, 0x07, 0x0f, 0xf0, 0x01, 0x1e, 0x7f, 0x80, 0x80, 0x10, 0x08, 0x04, 0x01 }" ++ device i2c 69 on end ++ end + end ++ + end + end + end +-- +2.25.1 + |