ec/starlabs/merlin: Move version offsets to ECDEFs
This is a more suitable place for these definitions as it contains all other ECRAM offsets. Change-Id: I12f52b7b27b24c49b6dfc3d4b8fa0718605d2d5f Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89695 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
82367b8205
commit
66f40a86de
5 changed files with 8 additions and 4 deletions
|
|
@ -47,10 +47,6 @@
|
|||
#define ITE_CHIPID2 0x21 /* Device ID register 2 */
|
||||
#define NUVOTON_CHIPID 0x27 /* Device ID register */
|
||||
|
||||
/* EC RAM common offsets */
|
||||
#define ECRAM_MAJOR_VERSION 0x00
|
||||
#define ECRAM_MINOR_VERSION 0x01
|
||||
|
||||
/*
|
||||
* CMOS Settings
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
#define _EC_STARLABS_GLK_EC_DEFS_H
|
||||
|
||||
/* EC RAM offsets. */
|
||||
#define ECRAM_MAJOR_VERSION 0x00
|
||||
#define ECRAM_MINOR_VERSION 0x01
|
||||
#define ECRAM_TRACKPAD_STATE 0x14
|
||||
#define ECRAM_KBL_STATE 0x19
|
||||
#define ECRAM_KBL_BRIGHTNESS 0x18
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
#define NUVOTON_CHIPID_VAL 0x0004
|
||||
|
||||
/* EC RAM offsets. */
|
||||
#define ECRAM_MAJOR_VERSION 0x00
|
||||
#define ECRAM_MINOR_VERSION 0x01
|
||||
#define ECRAM_TRACKPAD_STATE 0x14
|
||||
#define ECRAM_KBL_STATE 0x16
|
||||
#define ECRAM_KBL_BRIGHTNESS 0x17
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
#define _EC_STARLABS_KBL_EC_DEFS_H
|
||||
|
||||
/* EC RAM offsets */
|
||||
#define ECRAM_MAJOR_VERSION 0x00
|
||||
#define ECRAM_MINOR_VERSION 0x01
|
||||
#define ECRAM_TRACKPAD_STATE 0x14
|
||||
#define ECRAM_KBL_STATE 0x18
|
||||
#define ECRAM_KBL_BRIGHTNESS 0x19
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
#define _EC_STARLABS_MERLIN_EC_DEFS_H
|
||||
|
||||
/* EC RAM offsets */
|
||||
#define ECRAM_MAJOR_VERSION 0x00
|
||||
#define ECRAM_MINOR_VERSION 0x01
|
||||
#define ECRAM_KBL_BRIGHTNESS 0x09
|
||||
#define ECRAM_KBL_TIMEOUT 0x10
|
||||
#define ECRAM_KBL_STATE 0x0a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue