Re: [U-Boot] [PATCH v5 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-07 Thread Ley Foon Tan
On Thu, Nov 7, 2019 at 10:49 AM Marek Vasut wrote: > > On 11/7/19 3:10 AM, Ley Foon Tan wrote: > [...] > > diff --git a/arch/arm/mach-socfpga/misc_arria10.c > > b/arch/arm/mach-socfpga/misc_arria10.c > > index 2e2a40b65d..ff6ab83441 100644 > > --- a/arch/arm/mach-socfpga/misc_arria10.c > > +++ b/

Re: [U-Boot] [PATCH v5 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-06 Thread Marek Vasut
On 11/7/19 3:10 AM, Ley Foon Tan wrote: [...] > diff --git a/arch/arm/mach-socfpga/misc_arria10.c > b/arch/arm/mach-socfpga/misc_arria10.c > index 2e2a40b65d..ff6ab83441 100644 > --- a/arch/arm/mach-socfpga/misc_arria10.c > +++ b/arch/arm/mach-socfpga/misc_arria10.c > @@ -28,9 +28,6 @@ > #define

[U-Boot] [PATCH v5 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-06 Thread Ley Foon Tan
Convert system manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get system manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v5: - Change macro value to 0x** format. v4: - Update commit message about get base address from DT