Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D597C32774 for ; Tue, 23 Aug 2022 07:48:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BE3AB8409E; Tue, 23 Aug 2022 09:48:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=walle.cc header.i=@walle.cc header.b="SIzdnCCR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C1E7F845B0; Tue, 23 Aug 2022 09:48:41 +0200 (CEST) Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5114383FC6 for ; Tue, 23 Aug 2022 09:48:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id BCE794025; Tue, 23 Aug 2022 09:48:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1661240918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NTmzUHQtOo9QQR/9y+ExtUhgsVcXe7toO1ptOdihl8k=; b=SIzdnCCRKwgTd0EgQ4KW6v4mgpK65BD5JCGByCT0Q0C484C9J8O2TIyMFs6s5zF9prOwm4 U2QyRlpZgK6K4iR+rk3BLMlVlonmSkHdLTvFAf7DCJyp/XLmUQHZkbqRfuZkK4zjm/WW2Q Q7c8QNa9FMKMK2idlJjXe7fgfBP67MGVDOf/AWbiuURpH86tz8ShcloSCU1/ChaPLiA0ap zSAEjfDuTNACsKktUoAGOC2cL4Fnfhw4VEj67yDOheC5bkQcHxDRN3qhcbkTllAEN4hmXE GITYJgnkaLh5XaY2V2TnehokYaM02r8zGNph/Dkza++CWfiCr1yjsjXEAxx0vg== MIME-Version: 1.0 Date: Tue, 23 Aug 2022 09:48:38 +0200 From: michael@walle.cc To: Peng Fan Cc: u-boot@lists.denx.de Subject: Re: [PATCH v2 0/5] board: sl28: various updates In-Reply-To: <32e97e56-92c0-d918-d6a5-09b06c75e209@oss.nxp.com> References: <20220714130523.3350566-1-michael@walle.cc> <32e97e56-92c0-d918-d6a5-09b06c75e209@oss.nxp.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <633a31899b181481fe83b88f627df3fe@walle.cc> X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hi Peng, Am 2022-08-23 01:42, schrieb Peng Fan: > On 7/14/2022 9:05 PM, Michael Walle wrote: >> This is a resend of the original v1 series. It was just rebased. >> Apparently not all patches made it into u-boot. Unfortunately, >> there was no feedback at all. >> >> This is an update for the sl28 board which adds support for >> - 8 GiB memory variant >> - different boot sources, like eMMC, SD-card >> - dynamic prompts >> - various cleanups >> >> changes since v1: >> - rebased onto the latest master >> >> Michael Walle (5): >> armv8: layerscape: spl: mark OCRAM as non-secure >> board: sl28: implement additional bootsources >> board: sl28: add user friendly names for the boot sources >> board: sl28: support dynamic prompts >> board: sl28: remove COUNTER_FREQUENCY_REAL >> >> arch/arm/cpu/armv8/fsl-layerscape/spl.c | 11 +++++ >> board/kontron/sl28/common.c | 22 ++++++++++ >> board/kontron/sl28/sl28.c | 43 ++++++++++++++++++++ >> board/kontron/sl28/sl28.h | 16 ++++++++ >> board/kontron/sl28/spl.c | 54 >> ++++++++++++++++++++++++- >> configs/kontron_sl28_defconfig | 6 ++- >> include/configs/kontron_sl28.h | 2 - >> 7 files changed, 150 insertions(+), 4 deletions(-) >> create mode 100644 board/kontron/sl28/sl28.h >> > Build failure. Which board has this build failure? I guess it is one of the layerscape based on an older chassis? -michael > +arch/arm/cpu/armv8/fsl-layerscape/spl.c: In function 'tzpc_init': > +arch/arm/cpu/armv8/fsl-layerscape/spl.c:76:18: error: > 'TZPCR0SIZE_BASE' undeclared (first use in this function) > + 76 | out_le32(TZPCR0SIZE_BASE, 0); > + | ^~~~~~~~~~~~~~~ > +arch/arm/include/asm/io.h:31:69: note: in definition of macro > '__arch_putl' > + 31 | #define __arch_putl(v,a) (*(volatile unsigned > int *)(a) = (v)) > + | ^ > +arch/arm/include/asm/io.h:153:41: note: in expansion of macro > '__raw_writel' > + 153 | #define out_arch(type,endian,a,v) > __raw_write##type(cpu_to_##endian(v),a) > + | ^~~~~~~~~~~ > +arch/arm/include/asm/io.h:157:25: note: in expansion of macro > 'out_arch' > + 157 | #define out_le32(a,v) out_arch(l,le32,a,v) > + | ^~~~~~~~ > +arch/arm/cpu/armv8/fsl-layerscape/spl.c:76:9: note: in expansion of > macro 'out_le32' > + | ^~~~~~~~ > +arch/arm/cpu/armv8/fsl-layerscape/spl.c:76:18: note: each undeclared > identifier is reported only once for each function it appears in > > Please give a look. > > Thanks, > Peng.