[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201510121600.55665.marex@denx.de>
Date: Mon, 12 Oct 2015 16:00:55 +0200
From: Marek Vasut <marex@...x.de>
To: Arnd Bergmann <arnd@...db.de>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
linux-crypto@...r.kernel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: Re: [PATCH] crypto: mxs-dcp is an stmp device
On Monday, October 12, 2015 at 03:52:34 PM, Arnd Bergmann wrote:
> The mxs-dcp driver relies on the stmp_reset_block() helper function, which
> is provided by CONFIG_STMP_DEVICE. This symbol is always set on MXS,
> but the driver can now also be built for MXC (i.MX6)
That is correct.
> , which results in a built error if no other driver selects STMP_DEVICE:
Ouch.
> drivers/built-in.o: In function `mxs_dcp_probe':
> vf610-ocotp.c:(.text+0x3df302): undefined reference to `stmp_reset_block'
>
> This adds the 'select', like all other stmp drivers have it.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Fixes: a2712e6c75f ("crypto: mxs-dcp - Allow MXS_DCP to be used on MX6SL")
Acked-by: Marek Vasut <marex@...x.de>
> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
> index ab7e3b668890..2569e043317e 100644
> --- a/drivers/crypto/Kconfig
> +++ b/drivers/crypto/Kconfig
> @@ -430,6 +430,7 @@ endif
> config CRYPTO_DEV_MXS_DCP
> tristate "Support for Freescale MXS DCP"
> depends on (ARCH_MXS || ARCH_MXC)
> + select STMP_DEVICE
> select CRYPTO_CBC
> select CRYPTO_ECB
> select CRYPTO_AES
Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists