diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-07 00:23:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-02 23:53:37 +0300 |
commit | 13ad993fc7b01dc833ae56b9f62ad97e1d0db962 (patch) | |
tree | 5fcc0b5522d9c639473b591da43b016ac5b31a47 /drivers/tpm/cr50_i2c.c | |
parent | 185756ec0f4a2c3238c6031c022c97c520992994 (diff) | |
download | u-boot-13ad993fc7b01dc833ae56b9f62ad97e1d0db962.tar.xz |
tpm: Don't include cr50 in TPL/SPL
At present the security chip is not used in these U-Boot phases. Update
the Makefile to exclude it.
Fix a few logging statements while we are here.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/tpm/cr50_i2c.c')
-rw-r--r-- | drivers/tpm/cr50_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c index b103a6fdc3..76432bdec1 100644 --- a/drivers/tpm/cr50_i2c.c +++ b/drivers/tpm/cr50_i2c.c @@ -309,7 +309,7 @@ static int cr50_i2c_recv(struct udevice *dev, u8 *buf, size_t buf_len) int status; int ret; - log_debug("%s: len=%x\n", __func__, buf_len); + log_debug("%s: buf_len=%x\n", __func__, buf_len); if (buf_len < TPM_HEADER_SIZE) return -E2BIG; @@ -386,7 +386,7 @@ static int cr50_i2c_send(struct udevice *dev, const u8 *buf, size_t len) ulong timeout; int ret; - log_debug("%s: len=%x\n", __func__, len); + log_debug("len=%x\n", len); timeout = timer_get_us() + TIMEOUT_LONG_US; do { ret = cr50_i2c_status(dev); |