diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-11-13 14:56:42 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-11-15 16:44:29 +0000 |
commit | 4a722f5e2f1e677f7bae3d5eb39048aa541b5cb6 (patch) | |
tree | f2538a4a40b2e1224b58229b04ac8f7c9d3ea4a7 /src | |
parent | 5c08c73dd1a88d1204911d3296a905b39fc372a3 (diff) | |
download | coreboot-4a722f5e2f1e677f7bae3d5eb39048aa541b5cb6.tar.xz |
soc/intel/common: Use HOST_CSR to get circular Buffer Depth
As per CSME BWG section 3.4.4.
The Circular Buffer Depth can find by checking B0:D22:F0
MMIO_HOST_CSR register.
TEST=Build and boot eve/soraka/reef/cnl-rvp
Change-Id: I1d3c09077e040b5c32b3c8be867a07f392ea4e1c
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/22444
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/common/block/cse/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index 167cccd1ae..d8a781e661 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -329,7 +329,7 @@ heci_send(const void *msg, size_t len, uint8_t host_addr, uint8_t client_addr) continue; } - csr = read_cse_csr(); + csr = read_host_csr(); cb_size = ((csr & CSR_CBD) >> CSR_CBD_START) * SLOT_SIZE; /* * Reserve one slot for the header. Limit max message |