aboutsummaryrefslogtreecommitdiffstats
path: root/features/ocf/ocf-talitos-add-FSL_SOC-dependency.patch
blob: 5daf13b4cca0478131fc35d09ccffb19c348ab2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 1a45a70ab08cf578a5dbb8fdd16afc7874880912 Mon Sep 17 00:00:00 2001
From: Kevin Hao <kexin.hao@windriver.com>
Date: Mon, 21 Oct 2013 11:12:38 +0800
Subject: [PATCH 2/5] ocf/talitos: add FSL_SOC dependency

The talitos crypto engine only exist on FSL PPC SoCs and its driver
is not buildable for other archs. So add the FSL_SOC dependency for it.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
---
 crypto/ocf/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ocf/Kconfig b/crypto/ocf/Kconfig
index 65a4461..6642997 100644
--- a/crypto/ocf/Kconfig
+++ b/crypto/ocf/Kconfig
@@ -68,7 +68,7 @@ config OCF_HIFNHIPP
 
 config OCF_TALITOS
 	tristate "talitos (HW crypto engine)"
-	depends on OCF_OCF
+	depends on OCF_OCF && FSL_SOC
 	help
 	  OCF driver for Freescale's security engine (SEC/talitos).
 
-- 
1.8.1.2