rcar_gen3: drivers: pfc: Move PFC drivers out of staging
Now that PFC drivers are cleaned up , move them out of staging. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ie594b53558c2bfb8e5d88e5b0354752c17a2487e
This commit is contained in:
parent
2789982574
commit
2a690b6dbd
|
@ -4,9 +4,9 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef PFC_INIT_D3_H__
|
||||
#define PFC_INIT_D3_H__
|
||||
#ifndef PFC_INIT_D3_H
|
||||
#define PFC_INIT_D3_H
|
||||
|
||||
void pfc_init_d3(void);
|
||||
|
||||
#endif /* PFC_INIT_D3_H__ */
|
||||
#endif /* PFC_INIT_D3_H */
|
|
@ -5,9 +5,9 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef PFC_INIT_V3M_H__
|
||||
#define PFC_INIT_V3M_H__
|
||||
#ifndef PFC_INIT_V3M_H
|
||||
#define PFC_INIT_V3M_H
|
||||
|
||||
void pfc_init_v3m(void);
|
||||
|
||||
#endif /* PFC_INIT_V3M_H__ */
|
||||
#endif /* PFC_INIT_V3M_H */
|
|
@ -0,0 +1,69 @@
|
|||
#
|
||||
# Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
ifeq (${RCAR_LSI},${RCAR_AUTO})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
|
||||
else ifdef RCAR_LSI_CUT_COMPAT
|
||||
ifeq (${RCAR_LSI},${RCAR_H3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_H3N})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3N})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_V3M})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_E3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/E3/pfc_init_e3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_D3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/D3/pfc_init_d3.c
|
||||
endif
|
||||
else
|
||||
ifeq (${RCAR_LSI},${RCAR_H3})
|
||||
ifeq (${LSI_CUT},10)
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
else ifeq (${LSI_CUT},11)
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
else
|
||||
# LSI_CUT 20 or later
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_H3N})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3N})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_V3M})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_E3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/E3/pfc_init_e3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_D3})
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/D3/pfc_init_d3.c
|
||||
endif
|
||||
endif
|
||||
|
||||
BL2_SOURCES += drivers/renesas/rcar/pfc/pfc_init.c
|
|
@ -1,69 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
ifeq (${RCAR_LSI},${RCAR_AUTO})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
|
||||
else ifdef RCAR_LSI_CUT_COMPAT
|
||||
ifeq (${RCAR_LSI},${RCAR_H3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_H3N})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3N})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_V3M})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_E3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/E3/pfc_init_e3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_D3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c
|
||||
endif
|
||||
else
|
||||
ifeq (${RCAR_LSI},${RCAR_H3})
|
||||
ifeq (${LSI_CUT},10)
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
else ifeq (${LSI_CUT},11)
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
|
||||
else
|
||||
# LSI_CUT 20 or later
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_H3N})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3/pfc_init_m3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_M3N})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/M3N/pfc_init_m3n.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_V3M})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_E3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/E3/pfc_init_e3.c
|
||||
endif
|
||||
ifeq (${RCAR_LSI},${RCAR_D3})
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c
|
||||
endif
|
||||
endif
|
||||
|
||||
BL2_SOURCES += drivers/staging/renesas/rcar/pfc/pfc_init.c
|
|
@ -350,7 +350,7 @@ ERRATA_A57_813419 := 1
|
|||
|
||||
include drivers/staging/renesas/rcar/ddr/ddr.mk
|
||||
include drivers/renesas/rcar/qos/qos.mk
|
||||
include drivers/staging/renesas/rcar/pfc/pfc.mk
|
||||
include drivers/renesas/rcar/pfc/pfc.mk
|
||||
include lib/libfdt/libfdt.mk
|
||||
|
||||
PLAT_INCLUDES := -Idrivers/staging/renesas/rcar/ddr \
|
||||
|
|
Loading…
Reference in New Issue