Skip to content

Commit

Permalink
lk2nd/target_display_cont_splash_mdp5: drop
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderfulShrineMaidenOfParadise committed Jun 5, 2024
1 parent 1590733 commit b2e3a4e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 194 deletions.
2 changes: 1 addition & 1 deletion arch/arm/faults.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <arch/arm.h>
#include <kernel/thread.h>

static void dump_fault_frame(struct arm_fault_frame *frame)
void dump_fault_frame(struct arm_fault_frame *frame)
{
dprintf(CRITICAL, "r0 0x%08x r1 0x%08x r2 0x%08x r3 0x%08x\n", frame->r[0], frame->r[1], frame->r[2], frame->r[3]);
dprintf(CRITICAL, "r4 0x%08x r5 0x%08x r6 0x%08x r7 0x%08x\n", frame->r[4], frame->r[5], frame->r[6], frame->r[7]);
Expand Down
14 changes: 4 additions & 10 deletions lk2nd/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@ ifneq ($(LK1ST_PANEL),)
OBJS := $(filter-out target/$(TARGET)/oem_panel.o, $(OBJS))
MODULES += lk2nd/panel
CFLAGS += -DLK1ST_PANEL=$(LK1ST_PANEL)
else ifeq ($(DISPLAY_USE_CONTINUOUS_SPLASH),1)
# Filter out original display implementation
OBJS := $(filter-out target/$(TARGET)/target_display.o target/$(TARGET)/oem_panel.o, $(OBJS))
ifneq ($(filter $(DEFINES),DISPLAY_TYPE_MDSS=1),)
OBJS += $(LOCAL_DIR)/target_display_cont_splash_mdp5.o
else
$(error Continuous splash display is not supported for the current target)
endif
endif

else ifneq ($(LK2ND_DISPLAY),)
INCLUDES += -I$(LOCAL_DIR)/include
include $(LOCAL_DIR)/util/rules.mk
MODULES += lk2nd/display
endif
183 changes: 0 additions & 183 deletions lk2nd/target_display_cont_splash_mdp5.c

This file was deleted.

2 changes: 2 additions & 0 deletions project/lk2nd-defines.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ ANDROID_BOOT_CMDLINE := lk2nd
# Set in platform specific makefile (might need to change ANDROID_BOOT_BASE):
#APPSBOOTHEADER: $(OUTBOOTIMG) $(OUTODINTAR)
#ANDROID_BOOT_BASE := 0x80000000

LK2ND_DISPLAY ?= cont-splash

0 comments on commit b2e3a4e

Please sign in to comment.