diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-08-04 00:34:57 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-08 18:39:28 +0200 |
commit | 9b0a3430593ef579322816377440d76d914e090c (patch) | |
tree | a23c8a111f53e51dbdb09269f5fa489d2272c8d4 | |
parent | 2d45c28675e1196ad03915ffba58b602363a19ed (diff) | |
download | coreboot-9b0a3430593ef579322816377440d76d914e090c.tar.xz |
drivers/elog: remove unused function
get_rom_size() is no longer used. Remove it.
BUG=chrome-os-partner:55932
Change-Id: Id9fa8f67b67ee355243a5c763cfafa0ce76e9b2b
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16088
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r-- | src/drivers/elog/elog.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index 0bb4d164e9..6eacba56c7 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -66,19 +66,6 @@ static enum { ELOG_BROKEN, } elog_initialized = ELOG_UNINITIALIZED; -static inline u32 get_rom_size(void) -{ - u32 rom_size; - - /* Assume the used space of the ROM image starts from 0. The - * physical size of the device may not be completely used. */ - rom_size = elog_spi->size; - if (rom_size > CONFIG_ROM_SIZE) - rom_size = CONFIG_ROM_SIZE; - - return rom_size; -} - /* * Pointer to an event log header in the event data area */ |