From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 21 Jul 2020 08:17:14 -0600 Subject: [PATCH v3 05/17] cmd: bdinfo: Move sram info prints to generic code In-Reply-To: <20200720141407.30241-5-ovidiu.panait@windriver.com> References: <20200720141407.30241-1-ovidiu.panait@windriver.com> <20200720141407.30241-5-ovidiu.panait@windriver.com> 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 Mon, 20 Jul 2020 at 08:18, Ovidiu Panait wrote: > > bi_sramstart and bi_sramsize are generic members of the bd_info structure, > so move the m68k/powerpc-specific prints to generic code. Also, print them > only if SRAM support is enabled via CONFIG_SYS_HAS_SRAM. > > Signed-off-by: Ovidiu Panait > --- > > arch/m68k/lib/bdinfo.c | 4 ---- > arch/powerpc/lib/bdinfo.c | 4 ---- > cmd/bdinfo.c | 4 ++++ > 3 files changed, 4 insertions(+), 8 deletions(-) > Reviewed-by: Simon Glass