diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 19:55:28 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:53:21 +0000 |
commit | b92073532056f5c11d2369177ac0cc9b22b38295 (patch) | |
tree | 826ca327bdf8e11c73633bde0c734a2e8c6ff364 /include/system.h | |
parent | 1cfb5293ebbc854ce997d798cc55158031ccba6b (diff) | |
download | chrome-ec-b92073532056f5c11d2369177ac0cc9b22b38295.tar.gz |
Revert "Add OTP support"
This reverts commit 1b25735b732e7766aceb3f060e4ca205aba6d358.
BUG=b:200823466
TEST=make buildall -j
Change-Id: I2e29902d7026c63f23871af0141a3ee7d319852d
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273456
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/system.h b/include/system.h index 98b580e19a..bf9e19130a 100644 --- a/include/system.h +++ b/include/system.h @@ -270,15 +270,10 @@ int system_get_chip_unique_id(uint8_t **id); /** * Optional board-level callback functions to read a unique serial number per - * chip. Default implementation reads from flash/otp (flash/otp_read_serial). + * chip. Default implementation reads from flash (flash_read_serial). */ const char *board_read_serial(void) __attribute__((weak)); -/** - * Optional board-level callback functions to write a unique serial number per - * chip. Default implementation reads from flash/otp (flash/otp_write_serial). - */ -int board_write_serial(const char *serial) __attribute__((weak)); /* * Common bbram entries. Chips don't necessarily need to implement * all of these, error will be returned from system_get/set_bbram if |