UPSTREAM: drivers/elog: remove unused function
get_rom_size() is no longer used. Remove it. BUG=chrome-os-partner:55932 BRANCH=None TEST=None Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16088 Reviewed-by: Furquan Shaikh <furquan@google.com> Change-Id: Id9fa8f67b67ee355243a5c763cfafa0ce76e9b2b Reviewed-on: https://chromium-review.googlesource.com/368282 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b404ff39cf
commit
d916b6aab1
1 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue