From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Wed, 6 May 2020 16:10:23 +0800 Subject: [PATCH 33/36] bdinfo: m68k: ppc: Move arch-specific code from bdinfo In-Reply-To: <20200504231732.98778-25-sjg@chromium.org> References: <20200504231732.98778-1-sjg@chromium.org> <20200504231732.98778-25-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Glass > --- > > arch/m68k/lib/bdinfo.c | 5 +++++ > arch/powerpc/lib/bdinfo.c | 5 +++++ > cmd/bdinfo.c | 8 -------- > 3 files changed, 10 insertions(+), 8 deletions(-) > Reviewed-by: Bin Meng