From a23ec079670c6bbff32f1d75891998d7652873e0 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Mon, 1 May 2023 10:10:00 -0400 Subject: mb/purism/librem_cnl: Use EC BRAM bank 1 as CMOS memory bank 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Librem Mini v1/v2 has an automatic power-on setting provided by the EC in BRAM bank 1. Use this bank as the high bank of CMOS memory so that setting can be described in cmos.layout. Change-Id: Icb87bc521f71aa4350c8f5a64fc2cbe7a7a8c808 Signed-off-by: Jonathon Hall Reviewed-on: https://review.coreboot.org/c/coreboot/+/74904 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Matt DeVillier --- src/mainboard/purism/librem_cnl/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainboard/purism') diff --git a/src/mainboard/purism/librem_cnl/Kconfig b/src/mainboard/purism/librem_cnl/Kconfig index f0fd6a85f0..45bbdc2a28 100644 --- a/src/mainboard/purism/librem_cnl/Kconfig +++ b/src/mainboard/purism/librem_cnl/Kconfig @@ -61,6 +61,13 @@ config NO_POST endif +if BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2 + +config PC_CMOS_BASE_PORT_BANK1 + default 0x360 + +endif + config ENABLE_EC_UART1 bool "Enable EC UART1" depends on BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2 -- cgit v1.2.3