diff options
author | Poornima Tom <poornima.tom@intel.com> | 2021-03-25 10:12:16 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-20 06:37:01 +0000 |
commit | c79e2841451523f29965623de5abb07d801f6110 (patch) | |
tree | 9eb2fdbf94701facea59a6d9438263301c3de721 | |
parent | d7b6970b5ae24f86f9ab2b1e1b3ded3d3905f3b4 (diff) | |
download | chrome-ec-c79e2841451523f29965623de5abb07d801f6110.tar.gz |
cleanup: mchp boards: Use standard eSPI configs
BUG=b:186669325
BRANCH=none
TEST=make buildall -j
Signed-off-by: Poornima Tom <poornima.tom@intel.com>
Change-Id: I8f1cc9f3e053ad53061e0c19170a0f638d439c13
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2906443
Tested-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: Vijay Hiremath <vijay.p.hiremath@intel.com>
-rw-r--r-- | board/mchpevb1/board.h | 6 | ||||
-rw-r--r-- | board/sklrvp_mchp/board.h | 6 | ||||
-rw-r--r-- | board/sklrvp_mchp1723/board.h | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/board/mchpevb1/board.h b/board/mchpevb1/board.h index 24b3b4ffed..07e85935fc 100644 --- a/board/mchpevb1/board.h +++ b/board/mchpevb1/board.h @@ -104,7 +104,7 @@ * Values in MHz are 20, 25, 33, 50, and 66 */ /* KBL + EVB fly-wire hook up only supports 20MHz */ -#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ 20 +#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ MCHP_ESPI_CAP1_MAX_FREQ_20M /* * EC eSPI advertises IO lanes @@ -114,7 +114,7 @@ * 3 = Single, Dual, and Quad */ /* KBL + EVB fly-wire hook up only support Single mode */ -#define CONFIG_HOSTCMD_ESPI_EC_MODE 0 +#define CONFIG_HOSTCMD_ESPI_EC_MODE MCHP_ESPI_CAP1_SINGLE_MODE /* * Bit map of eSPI channels EC advertises @@ -123,7 +123,7 @@ * bit[2] = 1 OOB channel * bit[3] = 1 Flash channel */ -#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP 0x0F +#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP MCHP_ESPI_CAP0_ALL_CHAN_SUPP #define CONFIG_MCHP_ESPI_VW_SAVE_ON_SLEEP diff --git a/board/sklrvp_mchp/board.h b/board/sklrvp_mchp/board.h index 3ed16a96ee..144a843277 100644 --- a/board/sklrvp_mchp/board.h +++ b/board/sklrvp_mchp/board.h @@ -109,7 +109,7 @@ * Values in MHz are 20, 25, 33, 50, and 66 */ /* SKL/KBL + EVB fly-wire hook up only supports 20MHz */ -#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ 20 +#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ MCHP_ESPI_CAP1_MAX_FREQ_20M /* @@ -120,7 +120,7 @@ * 3 = Single, Dual, and Quad */ /* KBL + EVB fly-wire hook up only support Single mode */ -#define CONFIG_HOSTCMD_ESPI_EC_MODE 0 +#define CONFIG_HOSTCMD_ESPI_EC_MODE MCHP_ESPI_CAP1_SINGLE_MODE /* * Bit map of eSPI channels EC advertises @@ -129,7 +129,7 @@ * bit[2] = 1 OOB channel * bit[3] = 1 Flash channel */ -#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP 0x0F +#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP MCHP_ESPI_CAP0_ALL_CHAN_SUPP /* MCHP EC variant */ #define VARIANT_INTELRVP_EC_MCHP diff --git a/board/sklrvp_mchp1723/board.h b/board/sklrvp_mchp1723/board.h index ff611f8f0b..64e69f1ff8 100644 --- a/board/sklrvp_mchp1723/board.h +++ b/board/sklrvp_mchp1723/board.h @@ -107,7 +107,7 @@ * Values in MHz are 20, 25, 33, 50, and 66 */ /* SKL/KBL + EVB fly-wire hook up only supports 20MHz */ -#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ 20 +#define CONFIG_HOSTCMD_ESPI_EC_MAX_FREQ MCHP_ESPI_CAP1_MAX_FREQ_20M /* @@ -118,7 +118,7 @@ * 3 = Single, Dual, and Quad */ /* KBL + EVB fly-wire hook up only support Single mode */ -#define CONFIG_HOSTCMD_ESPI_EC_MODE 0 +#define CONFIG_HOSTCMD_ESPI_EC_MODE MCHP_ESPI_CAP1_SINGLE_MODE /* * Bit map of eSPI channels EC advertises @@ -127,7 +127,7 @@ * bit[2] = 1 OOB channel * bit[3] = 1 Flash channel */ -#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP 0x0F +#define CONFIG_HOSTCMD_ESPI_EC_CHAN_BITMAP MCHP_ESPI_CAP0_ALL_CHAN_SUPP /* MCHP EC variant */ #define VARIANT_INTELRVP_EC_MCHP |