commit | bdf86a69ff0a6fc1ff6c8b527b013fa495fa0412 | [log] [tgz] |
---|---|---|
author | Furquan Shaikh <furquan@chromium.org> | Mon Apr 03 23:52:01 2017 -0700 |
committer | Furquan Shaikh <furquan@google.com> | Wed Apr 05 20:30:57 2017 +0200 |
tree | a4cc7c3c7ebba1994b57dc55cb336dcbc5d3bf95 | |
parent | 19e3d335bddb480a53e30242e72195dd5ae8e056 [diff] |
drivers/spi/tpm: Make SPI TPM driver CAR-safe 1. Use proper CAR semantics for global/static variables. 2. Use spi_* functions directly instead of using a global structure to store pointers to those functions. BUG=b:36873582 Change-Id: I1fc52ab797ef0cbd3793a387d68198efc5dde58c Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/19114 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>