Re: [U-Boot] [PATCH v3 04/12] net: macb: Fix clk API usage for RISC-V systems

2019-01-23 Thread Anup Patel
on Glass ; > Palmer Dabbelt ; U-Boot Mailing List b...@lists.denx.de>; Alexander Graf ; Christoph Hellwig > ; Paul Walmsley > Subject: Re: [U-Boot] [PATCH v3 04/12] net: macb: Fix clk API usage for RISC- > V systems > > On Tue, Jan 22, 2019 at 10:31 PM Anup Patel wrote:

Re: [U-Boot] [PATCH v3 04/12] net: macb: Fix clk API usage for RISC-V systems

2019-01-23 Thread Joe Hershberger
On Tue, Jan 22, 2019 at 10:31 PM Anup Patel wrote: > > This patch does following fixes in MACB ethernet driver > for using it on RISC-V systems (particularly QEMU sifive_u > machine): > 1. asm/arch/clk.h is not available on RISC-V port so include >it only for non-RISC-V systems. > 2. Don't fai

[U-Boot] [PATCH v3 04/12] net: macb: Fix clk API usage for RISC-V systems

2019-01-22 Thread Anup Patel
This patch does following fixes in MACB ethernet driver for using it on RISC-V systems (particularly QEMU sifive_u machine): 1. asm/arch/clk.h is not available on RISC-V port so include it only for non-RISC-V systems. 2. Don't fail in macb_enable_clk() if clk_enable() returns -ENOSYS because