[coreboot-gerrit] New patch to review for coreboot: drivers/elog: remove unused function
Aaron Durbin (adurbin@chromium.org)
gerrit at coreboot.org
Sat Aug 6 04:53:14 CEST 2016
Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16088
-gerrit
commit 36843c702bab420a19a5211977a7fc0bde0a39f9
Author: Aaron Durbin <adurbin at chromium.org>
Date: Thu Aug 4 00:34:57 2016 -0500
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 at chromium.org>
---
src/drivers/elog/elog.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 0bb4d16..6eacba5 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
*/
More information about the coreboot-gerrit
mailing list