Re: [PATCH 31/36] bdinfo: ppc: Move PPC-specific info into its own file

2020-05-06 Thread Stefan Roese
On 05.05.20 01:17, Simon Glass wrote: We don't really want to have PPC-specific code in a generic file. Create a new arch-specific function to hold it, and move it into that. Make the function weak so that any arch can implement it. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Than

Re: [PATCH 31/36] bdinfo: ppc: Move PPC-specific info into its own file

2020-05-06 Thread Bin Meng
On Tue, May 5, 2020 at 7:19 AM Simon Glass wrote: > > We don't really want to have PPC-specific code in a generic file. Create > a new arch-specific function to hold it, and move it into that. > > Make the function weak so that any arch can implement it. > > Signed-off-by: Simon Glass > --- > >

[PATCH 31/36] bdinfo: ppc: Move PPC-specific info into its own file

2020-05-04 Thread Simon Glass
We don't really want to have PPC-specific code in a generic file. Create a new arch-specific function to hold it, and move it into that. Make the function weak so that any arch can implement it. Signed-off-by: Simon Glass --- arch/powerpc/lib/Makefile | 2 ++ arch/powerpc/lib/bdinfo.c | 41 ++