summaryrefslogtreecommitdiff
path: root/common/host_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command.c')
-rw-r--r--common/host_command.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/common/host_command.c b/common/host_command.c
index 778eeab369..387f0d03a2 100644
--- a/common/host_command.c
+++ b/common/host_command.c
@@ -81,24 +81,6 @@ uint8_t *host_get_memmap(int offset)
#endif
}
-static struct mutex memmap_write_mutex;
-
-void host_lock_memmap()
-{
- mutex_lock(&memmap_write_mutex);
-}
-
-/* Returns host memmap lock status */
-int host_memmap_is_locked(void)
-{
- return (memmap_write_mutex.lock != 0);
-}
-
-void host_unlock_memmap()
-{
- mutex_unlock(&memmap_write_mutex);
-}
-
int host_get_vboot_mode(void)
{
return g_vboot_mode;