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

2019-02-05 Thread Anup Patel
> -Original Message- > From: Simon Glass [mailto:s...@chromium.org] > Sent: Thursday, January 31, 2019 3:34 PM > To: Alexander Graf > Cc: Anup Patel ; Rick Chen ; > Bin Meng ; Joe Hershberger > ; Lukas Auer ; > Masahiro Yamada ; Palmer Dabbelt > ; Paul Walmsley ; Atish > Patra ;

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

2019-01-31 Thread Simon Glass
Hi, On Fri, 18 Jan 2019 at 06:35, Alexander Graf wrote: > > > > On 18.01.19 14:28, Anup Patel wrote: > > > > > >> -Original Message- > >> From: Alexander Graf [mailto:ag...@suse.de] > >> Sent: Friday, January 18, 2019 5:05 PM > >> To: Anup Patel > >> Cc: Rick Chen ; Bin Meng ; > >> Joe

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

2019-01-18 Thread Alexander Graf
On 18.01.19 14:28, Anup Patel wrote: > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Friday, January 18, 2019 5:05 PM >> To: Anup Patel >> Cc: Rick Chen ; Bin Meng ; >> Joe Hershberger ; Lukas Auer >> ; Masahiro Yamada >> ; Simon Glass ; >> Palmer

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

2019-01-18 Thread Anup Patel
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, January 18, 2019 5:05 PM > To: Anup Patel > Cc: Rick Chen ; Bin Meng ; > Joe Hershberger ; Lukas Auer > ; Masahiro Yamada > ; Simon Glass ; > Palmer Dabbelt ; Paul Walmsley > ; Atish Patra ; > Christoph

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

2019-01-18 Thread Alexander Graf
> Am 18.01.2019 um 07:05 schrieb Anup Patel : > > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Thursday, January 17, 2019 11:37 PM >> To: Anup Patel ; Rick Chen ; >> Bin Meng ; Joe Hershberger >> ; Lukas Auer ; >> Masahiro Yamada ; Simon Glass >> >>

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

2019-01-17 Thread Anup Patel
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, January 17, 2019 11:37 PM > To: Anup Patel ; Rick Chen ; > Bin Meng ; Joe Hershberger > ; Lukas Auer ; > Masahiro Yamada ; Simon Glass > > Cc: Palmer Dabbelt ; Paul Walmsley > ; Atish Patra ; >

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

2019-01-17 Thread Alexander Graf
On 01/17/2019 11:38 AM, 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 fail in

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

2019-01-17 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

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

2019-01-17 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

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

2019-01-17 Thread Anup Patel
From: 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