diff options
author | Martin Roth <gaumless@gmail.com> | 2022-10-27 18:15:25 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-10-29 02:38:50 +0000 |
commit | 86284c231f88a4e59fbf51cda0dda02b5298b731 (patch) | |
tree | cb337ca749f9ad9eba9ebbcb37e490d6bbcb049c /src/mainboard/amd/birman/Kconfig | |
parent | 9b6018c4a623c2679343d9705492c3a197886223 (diff) |
mb/amd/birman: Update Birman to work with Morgana or Glinda
Birman should work with either Morgana or Glinda SoCs, so configure the
mainboard to allow building with either.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I56206cd9ad5db99c00b734430b250e04ea9e0609
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68932
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Diffstat (limited to 'src/mainboard/amd/birman/Kconfig')
-rw-r--r-- | src/mainboard/amd/birman/Kconfig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mainboard/amd/birman/Kconfig b/src/mainboard/amd/birman/Kconfig index 46e5e31bd1..412300d324 100644 --- a/src/mainboard/amd/birman/Kconfig +++ b/src/mainboard/amd/birman/Kconfig @@ -1,12 +1,11 @@ # SPDX-License-Identifier: GPL-2.0-only -if BOARD_AMD_BIRMAN +if BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_MORGANA config BOARD_SPECIFIC_OPTIONS def_bool y - select BOARD_ROMSIZE_KB_16384 + select BOARD_ROMSIZE_KB_16384 # Birman actually has a 32MiB ROM select EC_ACPI - select SOC_AMD_MORGANA select SOC_AMD_COMMON_BLOCK_USE_ESPI select AMD_SOC_CONSOLE_UART select MAINBOARD_HAS_CHROMEOS @@ -24,7 +23,12 @@ config MAINBOARD_DIR default "amd/birman" config MAINBOARD_PART_NUMBER - default "BIRMAN" + default "Birman_Glinda" if BOARD_AMD_BIRMAN_GLINDA + default "Birman_Morgana" + +config DEVICETREE + default "devicetree_glinda.cb" if BOARD_AMD_BIRMAN_GLINDA + default "devicetree_morgana.cb" config AMD_FWM_POSITION_INDEX int @@ -75,7 +79,7 @@ config RO_REGION_ONLY string depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A # Add the EFS and EC to the RO region only - # This is a birman-specific override of soc/amd/morgana/Kconfig + # This is a birman-specific override of soc/amd/(morgana | glinda)/Kconfig default "apu/amdfw apu/ecfw" config CHROMEOS @@ -105,4 +109,4 @@ config TPM_SPI_SPEED endif # !EM100 -endif # BOARD_AMD_BIRMAN +endif # BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_MORGANA |