Identify the model

Change-Id: I0b31014c90d963f80db00650031ec169f0d945a7
This commit is contained in:
j7b3y 2025-01-09 15:22:47 +09:00
parent d14bb25d0d
commit 652f28aeda
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
ifeq (y, $(filter y, \
$(CONFIG_SEC_PLATFORM_E1Q)))
CONFIG_SEC_E1Q_PROJECT := y
CONFIG_PANEL_E1_S6E3FAC_AMB606AW01_FHD=y
CONFIG_PANEL_E1_S6E3FAE_AMB616FM01_FHD=y
else ifeq (y, $(filter y, \
$(CONFIG_SEC_PLATFORM_E3Q)))
CONFIG_SEC_E3Q_PROJECT := y
CONFIG_PANEL_E3_S6E3HAE_AMB681AZ01_WQHD=y
CONFIG_PANEL_E3_S6E3HAF_AMB679FN01_WQHD=y
endif

View File

@ -57,6 +57,8 @@ ifeq (y, $(findstring y, $(CONFIG_ARCH_SA8155) $(CONFIG_ARCH_SA6155) $(CONFIG_AR
LINUX_INC += -include $(DISPLAY_ROOT)/config/augen3dispconf.h LINUX_INC += -include $(DISPLAY_ROOT)/config/augen3dispconf.h
endif endif
include $(DISPLAY_ROOT)/config/s24.mk
LINUX_INC += -I$(KERNEL_SRC)/include/linux \ LINUX_INC += -I$(KERNEL_SRC)/include/linux \
-I$(KERNEL_SRC)/include/linux/drm -I$(KERNEL_SRC)/include/linux/drm
@ -273,7 +275,6 @@ msm_drm-$(CONFIG_DRM_MSM) += msm_atomic.o \
msm_gem_vma.o \ msm_gem_vma.o \
msm_smmu.o \ msm_smmu.o \
msm_prop.o msm_prop.o
ifeq ($(CONFIG_SEC_E1Q_PROJECT), y) ifeq ($(CONFIG_SEC_E1Q_PROJECT), y)
include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.conf include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.conf
ccflags-y += -include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.h ccflags-y += -include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.h
@ -306,9 +307,8 @@ DATA_TO_HEX := $(shell $(XXD) -i E1_S6E3FAC_AMB606AW01_PDF_DATA > $(DISPLAY_ROOT
ADD_NULL_CHR := $(shell $(SED) -i -e 's/\([0-9a-f]\)$$/\0, 0x00/' $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_PDF.h) ADD_NULL_CHR := $(shell $(SED) -i -e 's/\([0-9a-f]\)$$/\0, 0x00/' $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_PDF.h)
msm_drm-$(CONFIG_PANEL_E1_S6E3FAC_AMB606AW01_FHD) += samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_panel.o msm_drm-$(CONFIG_PANEL_E1_S6E3FAC_AMB606AW01_FHD) += samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_panel.o
endif
ifeq ($(CONFIG_SEC_E3Q_PROJECT), y) else ifeq ($(CONFIG_SEC_E3Q_PROJECT), y)
include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.conf include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.conf
ccflags-y += -include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.h ccflags-y += -include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.h