From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Tue, 3 May 2016 10:32:29 +0800 Subject: [U-Boot] [PATCH] arm: imx-common: introduce back usec2ticks In-Reply-To: <20160503020447.GM7884@bill-the-cat> References: <1461894969-3856-1-git-send-email-van.freenix@gmail.com> <20160502234135.GG7884@bill-the-cat> <20160503011749.GA26477@linux-7smt.suse> <20160503020447.GM7884@bill-the-cat> Message-ID: <20160503023149.GA1155@linux-7smt.suse> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, On Mon, May 02, 2016 at 10:04:47PM -0400, Tom Rini wrote: >On Tue, May 03, 2016 at 09:17:51AM +0800, Peng Fan wrote: >> Hi Tom, >> >> On Mon, May 02, 2016 at 07:41:35PM -0400, Tom Rini wrote: >> >On Fri, Apr 29, 2016 at 09:56:09AM +0800, Peng Fan wrote: >> > >> >> This commit "2bb014820c49a63902103bac710bc86b5772e843" >> >> do some clean up to use the code in lib/time.c. >> >> But usec2ticks is still being used by security related job ring code. >> >> Bring back the function to avoid build break. >> >> >> >> Signed-off-by: Peng Fan >> >> Cc: Stefano Babic >> > >> >.... some option not enabled by default somewhere? I build test the >> >world frequently.. >> >> >> Yeah. >> >> Security related options not enabled by default. >> >> If enabled these for i.MX6, >> #define CONFIG_SECURE_BOOT >> #define CONFIG_SYS_FSL_SEC_COMPAT 4 /* HAB version */ >> #define CONFIG_FSL_CAAM >> #define CONFIG_CMD_DEKBLOB >> #define CONFIG_SYS_FSL_SEC_LE >> >> Met the errors: >> >> drivers/crypto/fsl/jr.c:333: undefined reference to `usec2ticks' > >I'd like to see this stuff moved over to Kconfig and a sample config >enabled so things don't break in the future, thanks! Ok. Will add this support. Will you directly pick up this patch or go through i.MX tree? Thanks, Peng. > >-- >Tom