rcar_gen3: drivers: qos: Move QoS drivers out of staging

Now that QoS drivers are cleaned up , move them out of staging.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: If61ab2157c30b8f5a6b91d2c56ddbb9098ef99e8
This commit is contained in:
Marek Vasut 2019-06-15 15:01:04 +02:00
parent b5a506abcd
commit c67703ebaa
62 changed files with 108 additions and 108 deletions

View File

@ -0,0 +1,106 @@
#
# Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
ifeq (${RCAR_LSI},${RCAR_AUTO})
# E3, H3N not available for LSI_AUTO
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
else ifdef RCAR_LSI_CUT_COMPAT
ifeq (${RCAR_LSI},${RCAR_H3})
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3})
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/renesas/rcar/qos/D3/qos_init_d3.c
endif
else
ifeq (${RCAR_LSI},${RCAR_H3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
else ifeq (${LSI_CUT},20)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},13)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_d3.c
endif
endif
BL2_SOURCES += drivers/renesas/rcar/qos/qos_init.c

View File

@ -1,106 +0,0 @@
#
# Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
ifeq (${RCAR_LSI},${RCAR_AUTO})
# E3, H3N not available for LSI_AUTO
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v30.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v30.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/V3M/qos_init_v3m.c
else ifdef RCAR_LSI_CUT_COMPAT
ifeq (${RCAR_LSI},${RCAR_H3})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v10.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v11.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v20.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v10.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v11.c
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/D3/qos_init_d3.c
endif
else
ifeq (${RCAR_LSI},${RCAR_H3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v11.c
else ifeq (${LSI_CUT},20)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v20.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_H3N})
ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3n_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/staging/renesas/rcar/qos/H3/qos_init_h3n_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v10.c
else ifeq (${LSI_CUT},11)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},13)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v11.c
else ifeq (${LSI_CUT},30)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v30.c
else
# LSI_CUT 30 or later
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3/qos_init_m3_v30.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_M3N})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/staging/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_V3M})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/V3M/qos_init_v3m.c
endif
ifeq (${RCAR_LSI},${RCAR_E3})
ifeq (${LSI_CUT},10)
BL2_SOURCES += drivers/staging/renesas/rcar/qos/E3/qos_init_e3_v10.c
else
# LSI_CUT 10 or later
BL2_SOURCES += drivers/staging/renesas/rcar/qos/E3/qos_init_e3_v10.c
endif
endif
ifeq (${RCAR_LSI},${RCAR_D3})
BL2_SOURCES += drivers/staging/renesas/rcar/qos/E3/qos_init_d3.c
endif
endif
BL2_SOURCES += drivers/staging/renesas/rcar/qos/qos_init.c

View File

@ -349,12 +349,12 @@ ERRATA_A57_859972 := 1
ERRATA_A57_813419 := 1
include drivers/staging/renesas/rcar/ddr/ddr.mk
include drivers/staging/renesas/rcar/qos/qos.mk
include drivers/renesas/rcar/qos/qos.mk
include drivers/staging/renesas/rcar/pfc/pfc.mk
include lib/libfdt/libfdt.mk
PLAT_INCLUDES := -Idrivers/staging/renesas/rcar/ddr \
-Idrivers/staging/renesas/rcar/qos \
-Idrivers/renesas/rcar/qos \
-Idrivers/renesas/rcar/iic_dvfs \
-Idrivers/renesas/rcar/board \
-Idrivers/renesas/rcar/cpld/ \