fixup! crypto: caam - skip RNG selftest when i.MX6 is in normal world
PATCH 1/1 fixup! crypto: caam - skip RNG selftest when i.MX6 is in normal world
crypto: caam - fix COMPILE_TEST breakage
<mach/imx/*.h> doesn't exist when we compile allyesconfig for sandbox, so stub out the macros used from it, so CAAM can continue to build independently of selected architecture.
Signed-off-by Ahmad Fatoum <[email protected]>
--- drivers/crypto/caam/rng_self_test.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/crypto/caam/rng_self_test.c +6 -0
@@ -47,8 +47,14 @@#include <dma.h> #include <common.h> #include <linux/kernel.h> + +#ifdef CONFIG_ARCH_IMX6 #include <mach/imx/generic.h> #include <mach/imx/imx6.h> +#else +#define cpu_is_mx6 () false +#define imx6_cannot_write_l2x0 () false +#endif #include "error.h" #include "regs.h"
Signature · 1 line
2.47.3
Sascha Hauer
AppliedQuoted 8 lines · Ahmad Fatoum
crypto: caam - fix
COMPILE_TESTbreakage<mach/imx/*.h> doesn't exist when we compile allyesconfig for sandbox, so stub out the macros used from it, so CAAM can continue to build independently of selected architecture.
[...]
Applied, thanks!
[1/1] fixup! crypto: caam - skip RNG selftest when i.MX6 is in normal world
https://git.pengutronix.de/cgit/barebox/commit/?id=c0e0df52fffa (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>