Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ ifneq ($(TARGET_BUILD_VARIANT),user)
endif

ifneq ($(strip $(KERNELFLINGER_USE_UI)),false)
KERNELFLINGER_CFLAGS += -DUSE_UI
endif

ifeq ($(KERNELFLINGER_OS_SECURE_BOOT),true)
Expand Down
1 change: 0 additions & 1 deletion avb/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ LOCAL_STATIC_LIBRARIES := \
libkernelflinger-$(TARGET_BUILD_VARIANT)

ifneq ($(strip $(KERNELFLINGER_USE_UI)),false)
LOCAL_CFLAGS += -DUSE_UI
endif

LOCAL_SRC_FILES := \
Expand Down
6 changes: 3 additions & 3 deletions kernelflinger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ static VOID enter_fastboot_mode(UINT8 boot_state)

die();
}
static void bootloader_recover_mode(UINT8 boot_state)
static void bootloader_recover_mode(UINT8 boot_state __unused)
{
enum boot_target target;

Expand All @@ -1130,8 +1130,8 @@ static void bootloader_recover_mode(UINT8 boot_state)
die();
}

static VOID boot_error(enum ux_error_code error_code, UINT8 boot_state,
UINT8 *hash, UINTN hash_size)
static VOID boot_error(enum ux_error_code error_code __unused, UINT8 boot_state,
UINT8 *hash __unused, UINTN hash_size __unused)
{
BOOLEAN power_off = FALSE;
enum boot_target bt;
Expand Down