[U-Boot] [PATCH] arm: imx-common: introduce back usec2ticks

Peng Fan van.freenix at gmail.com
Tue May 3 03:17:51 CEST 2016


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 <van.freenix at gmail.com>
>> Cc: Stefano Babic <sbabic at denx.de>
>
>.... 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'

Regards,
Peng.

>
>-- 
>Tom




More information about the U-Boot mailing list