Re: [PATCH 33/36] bdinfo: m68k: ppc: Move arch-specific code from bdinfo

2020-05-06 Thread Stefan Roese
On 05.05.20 01:17, Simon Glass wrote: We don't have an easy way to share these three lines of code with two architectures. We also want to make it clear that this code is actually arch-specific. So just duplicate it in each arch-specific file. Signed-off-by: Simon Glass Reviewed-by: Stefan

Re: [PATCH 33/36] bdinfo: m68k: ppc: Move arch-specific code from bdinfo

2020-05-06 Thread Bin Meng
On Tue, May 5, 2020 at 7:19 AM Simon Glass wrote: > > We don't have an easy way to share these three lines of code with two > architectures. We also want to make it clear that this code is actually > arch-specific. > > So just duplicate it in each arch-specific file. > > Signed-off-by: Simon

[PATCH 33/36] bdinfo: m68k: ppc: Move arch-specific code from bdinfo

2020-05-04 Thread Simon Glass
We don't have an easy way to share these three lines of code with two architectures. We also want to make it clear that this code is actually arch-specific. So just duplicate it in each arch-specific file. Signed-off-by: Simon Glass --- arch/m68k/lib/bdinfo.c| 5 +