net: zynq_gem: Use clock driver for ZynqMP
Enable and use the clock driver routine defined in clock driver toset required clock appropriately. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
128ec1fe6f
commit
a765bdd1cb
@@ -8,10 +8,12 @@
|
||||
#ifndef _ASM_ARCH_SYS_PROTO_H
|
||||
#define _ASM_ARCH_SYS_PROTO_H
|
||||
|
||||
#ifndef CONFIG_CLK_ZYNQMP
|
||||
/* Setup clk for network */
|
||||
static inline void zynq_slcr_gem_clk_setup(u32 gem_id, unsigned long clk_rate)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
int zynq_slcr_get_mio_pin_status(const char *periph);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user