From: Tom Rini Date: Thu, 4 Feb 2021 17:23:06 -0500 Subject: [PATCH v2] ARM: mx6: Add function to set serial# In-Reply-To: <9e7dc99f-ebac-0749-3a94-e9dcb807d5de@gmx.de> References: <20210204214422.1701664-1-sean.anderson@seco.com> <20210204215827.GO10169@bill-the-cat> <9e7dc99f-ebac-0749-3a94-e9dcb807d5de@gmx.de> Message-ID: <20210204222306.GP10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 04, 2021 at 11:03:06PM +0100, Heinrich Schuchardt wrote: > On 2/4/21 10:58 PM, Tom Rini wrote: > > On Thu, Feb 04, 2021 at 04:44:22PM -0500, Sean Anderson wrote: > > > > > The serial number OTP is similar to the imx7 version, except that the > > > register names are different. This also sets serial# directly, instead of > > > providing board_get_serial. > > > > > > Signed-off-by: Sean Anderson > > > > Reviewed-by: Tom Rini > > > > The current patch is without effect. > > We need to enable CONFIG_ARCH_MISC_INIT on i.MX6 by default, e.g. > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 95557d6ed6..ba189c404d 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -901,6 +901,7 @@ config ARCH_MX6 > select SYS_FSL_HAS_SEC > select SYS_FSL_SEC_COMPAT_4 > select SYS_FSL_SEC_LE > + select ARCH_MISC_INIT > imply MXC_GPIO > imply SYS_THUMB_BUILD No, we don't need to enable it by default. If boards want it, they can enable it. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: