rcar_gen3: drivers: cpld: Move rcar_cpld_reset_cpu() into header
Move the rcar_cpld_reset_cpu() function into header file and zap the externs. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
This commit is contained in:
parent
8cbc417836
commit
bd57db5316
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <lib/mmio.h>
|
||||
#include "ulcb_cpld.h"
|
||||
|
||||
#define SCLK 8 /* GP_6_8 */
|
||||
#define SSTBZ 3 /* GP_2_3 */
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright (c) 2018, Renesas Electronics Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef RCAR_ULCB_CPLD_H__
|
||||
#define RCAR_ULCB_CPLD_H__
|
||||
|
||||
extern void rcar_cpld_reset_cpu(void);
|
||||
|
||||
#endif /* RCAR_ULCB_CPLD_H__ */
|
|
@ -22,6 +22,7 @@
|
|||
#include "pwrc.h"
|
||||
#include "rcar_def.h"
|
||||
#include "rcar_private.h"
|
||||
#include "ulcb_cpld.h"
|
||||
|
||||
#define DVFS_SET_VID_0V (0x00)
|
||||
#define P_ALL_OFF (0x80)
|
||||
|
@ -41,10 +42,6 @@ extern void plat_rcar_gic_driver_init(void);
|
|||
extern void plat_rcar_gic_init(void);
|
||||
extern u_register_t rcar_boot_mpidr;
|
||||
|
||||
#if (RCAR_GEN3_ULCB == 1)
|
||||
extern void rcar_cpld_reset_cpu(void);
|
||||
#endif
|
||||
|
||||
static uintptr_t rcar_sec_entrypoint;
|
||||
|
||||
static void rcar_program_mailbox(uint64_t mpidr, uint64_t address)
|
||||
|
|
|
@ -311,6 +311,7 @@ PLAT_INCLUDES := -Iinclude/common/tbbr \
|
|||
-Idrivers/staging/renesas/rcar/qos \
|
||||
-Idrivers/renesas/rcar/iic_dvfs \
|
||||
-Idrivers/renesas/rcar/board \
|
||||
-Idrivers/renesas/rcar/cpld/ \
|
||||
-Idrivers/renesas/rcar/avs \
|
||||
-Idrivers/renesas/rcar/delay \
|
||||
-Idrivers/renesas/rcar/rom \
|
||||
|
|
Loading…
Reference in New Issue