summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Hall <jonathon.hall@puri.sm>2023-05-01 10:10:00 -0400
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-05-08 16:30:02 +0000
commita23ec079670c6bbff32f1d75891998d7652873e0 (patch)
tree55c1ebaada79fda86e0c1483ebfa182dc125c549
parentf7bc25f1bcd75b387f159225a127485e6494378a (diff)
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>
-rw-r--r--src/mainboard/purism/librem_cnl/Kconfig7
1 files changed, 7 insertions, 0 deletions
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