mb/purism/librem_cnl: Use EC BRAM bank 1 as CMOS memory bank 1

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 <jonathon.hall@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74904
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
This commit is contained in:
Jonathon Hall 2023-05-01 10:10:00 -04:00 committed by Matt DeVillier
parent f7bc25f1bc
commit a23ec07967
1 changed files with 7 additions and 0 deletions

View File

@ -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