You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
274 lines
10 KiB
274 lines
10 KiB
ccflags-y += -DSOCT_BOOT_VO_SUPPORT \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal \
|
|
-I$(SDK_DIR)/source/drivers/vdp/include \
|
|
-I$(SDK_DIR)/source/drivers/vdp/disp \
|
|
-I$(SDK_DIR)/source/drivers/vdp/disp/video \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/cfg \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/com \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/include \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/include \
|
|
-I$(SDK_DIR)/source/drivers/dip_inc/vo \
|
|
-I$(SDK_DIR)/source/drivers/include/generic \
|
|
-I$(SDK_DIR)/source/drivers/include/common \
|
|
-I$(SDK_DIR)/source/drivers/include/vo \
|
|
-I$(SDK_DIR)/source/drivers/include/mipitx \
|
|
-I$(SDK_DIR)/source/drivers/include/panel \
|
|
-I$(SDK_DIR)/source/drivers/include/video \
|
|
-I$(SDK_DIR)/source/drivers/include/pq \
|
|
-I$(SDK_DIR)/source/drivers/include/pdm \
|
|
-I$(SDK_DIR)/source/drivers/include/flash \
|
|
-I$(SDK_DIR)/source/drivers/include/hdmitx \
|
|
-I$(SDK_DIR)/source/drivers/vdp/com \
|
|
-I$(SDK_DIR)/source/drivers/common
|
|
|
|
ifneq ($(filter reserved9 reserved13 reserved6 reserved8,$(CFG_SOCT_CHIP_TYPE)),)
|
|
ifneq ($(filter reserved9_c reserved9_d reserved13_c reserved13_d reserved13_m reserved6_d reserved8_d,$(CFG_SOCT_CHIP_REVERSION)),)
|
|
ccflags-y += -DCONFIG_SOCT_VO_CS_SUPPORT
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5)
|
|
ccflags-y += -DCONFIG_RESERVED5 \
|
|
-DCONFIG_SOCT_VO_SDK_PQ_SUPPORT
|
|
|
|
ccflags-y += -I$(SDK_DIR)/source/drivers/vdp/hal/ip/csc/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/disp/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/fdr/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/vid/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/hdr/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/zme/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/crg/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/master/v2 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/para/v2
|
|
|
|
else ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), "hi3751v811"),)
|
|
ccflags-y += -DCONFIG_HI3751V811
|
|
ifeq ($(CFG_SOCT_CHIP_REVERSION),hi3751v811_c)
|
|
ccflags-y += -DCONFIG_SOCT_VO_HI3751V811_C_SUPPORT
|
|
ccflags-y += -I$(SDK_DIR)/source/drivers/vdp/hal/ip/csc/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/disp/v3_c \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/fdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/vid/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/hdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/zme/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/crg/v3_c \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/master/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/para/v3
|
|
endif # ifeq ($(CFG_SOCT_CHIP_REVERSION),hi3751v811_c)
|
|
|
|
else ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), "reserved19" "reserved17"),)
|
|
ccflags-y += -DCONFIG_RESERVED17
|
|
|
|
|
|
ifeq ($(CFG_SOCT_CHIP_REVERSION),reserved19_c)
|
|
ccflags-y += -DCONFIG_SOCT_VO_RESERVED17_C_SUPPORT
|
|
|
|
ccflags-y += -I$(SDK_DIR)/source/drivers/vdp/hal/ip/csc/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/disp/v3_c \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/fdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/vid/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/hdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/zme/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/crg/v3_c \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/master/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/para/v3
|
|
else
|
|
ccflags-y += -I$(SDK_DIR)/source/drivers/vdp/hal/ip/csc/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/disp/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/fdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/vid/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/hdr/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/zme/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/crg/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/master/v3 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/para/v3
|
|
endif # ifeq ($(CFG_SOCT_CHIP_REVERSION),reserved19_c)
|
|
|
|
else
|
|
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved9)
|
|
ccflags-y += -DCONFIG_RESERVED9
|
|
endif
|
|
ccflags-y += -DCONFIG_SOCT_VO_SDK_PQ_SUPPORT
|
|
ccflags-y += -I$(SDK_DIR)/source/drivers/vdp/hal/ip/csc/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/disp/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/fdr/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/vid/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/hdr/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/zme/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/crg/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/master/v1 \
|
|
-I$(SDK_DIR)/source/drivers/vdp/hal/ip/para/v1
|
|
|
|
endif # ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5)
|
|
|
|
ccflags-$(CFG_SOCT_BOOT_LOG_SUPPORT) += -DSOCT_BOOT_LOG_SUPPORT
|
|
|
|
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5)
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += iapi_disp.o \
|
|
disp/drv_disp_timing.o \
|
|
disp/drv_display.o \
|
|
disp/drv_disp_interface.o \
|
|
com/drv_xdp_osal.o \
|
|
com/drv_xdp_ext_func.o \
|
|
hal/hal_layer_intf.o \
|
|
hal/hal_disp_intf.o \
|
|
hal/hal_debug_intf.o \
|
|
hal/cfg/hal_layer_cfg.o \
|
|
hal/com/hal_vdp_comm.o \
|
|
hal/com/hal_vdp_chip_config.o \
|
|
hal/ip/crg/v2/hal_vdp_ip_crg.o \
|
|
hal/ip/fdr/v2/hal_vdp_reg_fdr.o \
|
|
hal/ip/fdr/v2/hal_vdp_ip_fdr.o \
|
|
hal/ip/zme/v2/hal_vdp_reg_sr.o \
|
|
hal/ip/zme/v2/hal_vdp_ip_zme.o \
|
|
hal/ip/zme/v2/hal_vdp_reg_hzme.o \
|
|
hal/ip/zme/v2/hal_vdp_reg_vzme.o \
|
|
hal/ip/zme/v2/hal_vdp_reg_hfir.o \
|
|
hal/ip/csc/v2/hal_vdp_ip_csc.o \
|
|
hal/ip/csc/v2/hal_vdp_reg_pp_csc.o \
|
|
hal/ip/disp/v2/hal_vdp_reg_cbm.o \
|
|
hal/ip/disp/v2/hal_vdp_ip_dispchn.o \
|
|
hal/ip/disp/v2/hal_vdp_reg_chn.o \
|
|
hal/ip/disp/v2/hal_vdp_ip_mdata.o \
|
|
hal/ip/hdr/empty/hal_vdp_ip_hdr.o \
|
|
hal/ip/vid/v2/hal_vdp_ip_vid.o \
|
|
hal/ip/vid/v2/hal_vdp_reg_vid.o \
|
|
hal/ip/master/v2/hal_vdp_ip_master.o \
|
|
hal/ip/master/v2/hal_vdp_reg_master.o \
|
|
hal/ip/para/v2/hal_vdp_ip_para.o \
|
|
hal/ip/para/v2/hal_vdp_reg_para.o
|
|
|
|
else ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), "hi3751v811"),)
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += iapi_disp.o \
|
|
disp/drv_disp_timing.o \
|
|
disp/drv_display.o \
|
|
disp/drv_disp_interface.o \
|
|
com/drv_xdp_osal.o \
|
|
com/drv_xdp_ext_func.o \
|
|
hal/hal_layer_intf.o \
|
|
hal/hal_disp_intf.o \
|
|
hal/hal_debug_intf.o \
|
|
hal/cfg/hal_layer_cfg.o \
|
|
hal/com/hal_vdp_comm.o \
|
|
hal/com/hal_vdp_chip_config.o \
|
|
hal/ip/fdr/v3/hal_vdp_reg_region.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_fdr_adapt.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_lowdelay.o \
|
|
hal/ip/fdr/v3/hal_vdp_reg_fdr.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_fdr.o \
|
|
hal/ip/zme/v3/hal_vdp_ip_zme.o \
|
|
hal/ip/zme/v3/hal_vdp_ip_zme_adapt.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_hzme.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_vzme.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_pp_sr.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_2dscale.o \
|
|
hal/ip/csc/v3/hal_vdp_ip_csc.o \
|
|
hal/ip/csc/v3/hal_vdp_reg_pp_csc.o \
|
|
hal/ip/hdr/empty/hal_vdp_ip_hdr.o \
|
|
hal/ip/vid/v3/hal_vdp_ip_vid.o \
|
|
hal/ip/vid/v3/hal_vdp_reg_vid.o \
|
|
hal/ip/master/v3/hal_vdp_ip_master.o \
|
|
hal/ip/master/v3/hal_vdp_reg_master.o \
|
|
hal/ip/para/v3/hal_vdp_ip_para.o \
|
|
hal/ip/para/v3/hal_vdp_reg_para.o
|
|
ifeq ($(CFG_SOCT_CHIP_REVERSION),hi3751v811_c)
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += \
|
|
hal/ip/crg/v3_c/hal_vdp_ip_crg.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_cbm.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_dsp.o \
|
|
hal/ip/disp/v3_c/hal_vdp_ip_dispchn.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_chn.o \
|
|
hal/ip/disp/v3_c/hal_vdp_ip_mdata.o
|
|
endif # ifeq ($(CFG_SOCT_CHIP_REVERSION),hi3751v811_c)
|
|
|
|
else ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), "reserved19" "reserved17"),)
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += iapi_disp.o \
|
|
disp/drv_disp_timing.o \
|
|
disp/drv_display.o \
|
|
disp/drv_disp_interface.o \
|
|
com/drv_xdp_osal.o \
|
|
com/drv_xdp_ext_func.o \
|
|
hal/hal_layer_intf.o \
|
|
hal/hal_disp_intf.o \
|
|
hal/hal_debug_intf.o \
|
|
hal/cfg/hal_layer_cfg.o \
|
|
hal/com/hal_vdp_comm.o \
|
|
hal/com/hal_vdp_chip_config.o \
|
|
hal/ip/fdr/v3/hal_vdp_reg_region.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_fdr_adapt.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_lowdelay.o \
|
|
hal/ip/fdr/v3/hal_vdp_reg_fdr.o \
|
|
hal/ip/fdr/v3/hal_vdp_ip_fdr.o \
|
|
hal/ip/zme/v3/hal_vdp_ip_zme.o \
|
|
hal/ip/zme/v3/hal_vdp_ip_zme_adapt.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_hzme.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_vzme.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_pp_sr.o \
|
|
hal/ip/zme/v3/hal_vdp_reg_2dscale.o \
|
|
hal/ip/csc/v3/hal_vdp_ip_csc.o \
|
|
hal/ip/csc/v3/hal_vdp_reg_pp_csc.o \
|
|
hal/ip/hdr/empty/hal_vdp_ip_hdr.o \
|
|
hal/ip/vid/v3/hal_vdp_ip_vid.o \
|
|
hal/ip/vid/v3/hal_vdp_reg_vid.o \
|
|
hal/ip/master/v3/hal_vdp_ip_master.o \
|
|
hal/ip/master/v3/hal_vdp_reg_master.o \
|
|
hal/ip/para/v3/hal_vdp_ip_para.o \
|
|
hal/ip/para/v3/hal_vdp_reg_para.o
|
|
ifeq ($(CFG_SOCT_CHIP_REVERSION),reserved19_c)
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += \
|
|
hal/ip/crg/v3_c/hal_vdp_ip_crg.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_cbm.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_dsp.o \
|
|
hal/ip/disp/v3_c/hal_vdp_ip_dispchn.o \
|
|
hal/ip/disp/v3_c/hal_vdp_reg_chn.o \
|
|
hal/ip/disp/v3_c/hal_vdp_ip_mdata.o
|
|
else
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += \
|
|
hal/ip/crg/v3/hal_vdp_ip_crg.o \
|
|
hal/ip/disp/v3/hal_vdp_reg_mdata.o \
|
|
hal/ip/disp/v3/hal_vdp_reg_cbm.o \
|
|
hal/ip/disp/v3/hal_vdp_reg_dsp.o \
|
|
hal/ip/disp/v3/hal_vdp_ip_dispchn.o \
|
|
hal/ip/disp/v3/hal_vdp_reg_chn.o \
|
|
hal/ip/disp/v3/hal_vdp_ip_mdata.o
|
|
endif # ifeq ($(CFG_SOCT_CHIP_REVERSION),reserved19_c)
|
|
else
|
|
obj-$(CFG_SOCT_BOOT_SLAVE) += iapi_disp.o \
|
|
disp/drv_disp_timing.o \
|
|
disp/drv_display.o \
|
|
disp/drv_disp_interface.o \
|
|
com/drv_xdp_osal.o \
|
|
com/drv_xdp_ext_func.o \
|
|
hal/hal_layer_intf.o \
|
|
hal/hal_disp_intf.o \
|
|
hal/hal_debug_intf.o \
|
|
hal/cfg/hal_layer_cfg.o \
|
|
hal/com/hal_vdp_comm.o \
|
|
hal/com/hal_vdp_chip_config.o \
|
|
hal/ip/crg/v1/hal_vdp_ip_crg.o \
|
|
hal/ip/fdr/v1/hal_vdp_reg_region.o \
|
|
hal/ip/fdr/v1/hal_vdp_reg_fdr.o \
|
|
hal/ip/fdr/v1/hal_vdp_ip_fdr.o \
|
|
hal/ip/zme/v1/hal_vdp_ip_zme.o \
|
|
hal/ip/zme/v1/hal_vdp_reg_hzme.o \
|
|
hal/ip/zme/v1/hal_vdp_reg_vzme.o \
|
|
hal/ip/zme/v1/hal_vdp_reg_cvfir.o \
|
|
hal/ip/zme/v1/hal_vdp_reg_hfir.o \
|
|
hal/ip/csc/v1/hal_vdp_ip_csc.o \
|
|
hal/ip/csc/v1/hal_vdp_reg_pp_csc.o \
|
|
hal/ip/disp/v1/hal_vdp_reg_mdata.o \
|
|
hal/ip/disp/v1/hal_vdp_reg_cbm.o \
|
|
hal/ip/disp/v1/hal_vdp_reg_dsp.o \
|
|
hal/ip/disp/v1/hal_vdp_ip_dispchn.o \
|
|
hal/ip/disp/v1/hal_vdp_reg_chn.o \
|
|
hal/ip/disp/v1/hal_vdp_ip_mdata.o \
|
|
hal/ip/hdr/v1/hal_vdp_ip_hdr.o \
|
|
hal/ip/vid/v1/hal_vdp_ip_vid.o \
|
|
hal/ip/vid/v1/hal_vdp_reg_vid.o \
|
|
hal/ip/master/v1/hal_vdp_ip_master.o \
|
|
hal/ip/master/v1/hal_vdp_reg_master.o \
|
|
hal/ip/para/v1/hal_vdp_ip_para.o \
|
|
hal/ip/para/v1/hal_vdp_reg_para.o
|
|
|
|
endif # ifeq ($(CFG_SOCT_CHIP_TYPE),reserved5)
|