#ifdef CONFIG_OMAP_SHA1_MD5
static struct resource sha1_md5_resources[] = {
{
- .start = OMAP2420_SEC_SHA1MD5_BASE,
- .end = OMAP2420_SEC_SHA1MD5_BASE + 0x64,
+ .start = OMAP24XX_SEC_SHA1MD5_BASE,
+ .end = OMAP24XX_SEC_SHA1MD5_BASE + 0x64,
.flags = IORESOURCE_MEM,
},
{
config OMAP_SHA1_MD5
tristate "Support for OMAP SHA1/MD5 hw engine"
- depends on ARCH_OMAP2420 && CRYPTO_SHA1 && CRYPTO_MD5
+ depends on ARCH_OMAP24XX && CRYPTO_SHA1 && CRYPTO_MD5
help
OMAP processors have SHA1/MD5 module accelerator. Select this if you
want to use the OMAP module for SHA1/MD5 algorithms.
#define OMAP2420_PRM_BASE OMAP2420_CM_BASE
#define OMAP2420_SDRC_BASE (L3_24XX_BASE + 0x9000)
#define OMAP2420_SMS_BASE 0x68008000
-#define OMAP2420_SEC_BASE (L4_24XX_BASE + 0xA0000)
#define OMAP2430_32KSYNCT_BASE (L4_WK_243X_BASE + 0x20000)
#define OMAP2430_PRCM_BASE (L4_WK_243X_BASE + 0x6000)
#define OMAP24XX_CAMERA_BASE (L4_24XX_BASE + 0x52000)
/* Security */
-#define OMAP2420_SEC_RNG_BASE (OMAP2420_SEC_BASE + 0x0000)
-#define OMAP2420_SEC_DES_BASE (OMAP2420_SEC_BASE + 0x2000)
-#define OMAP2420_SEC_SHA1MD5_BASE (OMAP2420_SEC_BASE + 0x4000)
-#define OMAP2420_SEC_AES_BASE (OMAP2420_SEC_BASE + 0x6000)
-#define OMAP2420_SEC_PKA_BASE (OMAP2420_SEC_BASE + 0x8000)
+#define OMAP24XX_SEC_BASE (L4_24XX_BASE + 0xA0000)
+#define OMAP24XX_SEC_RNG_BASE (OMAP24XX_SEC_BASE + 0x0000)
+#define OMAP24XX_SEC_DES_BASE (OMAP24XX_SEC_BASE + 0x2000)
+#define OMAP24XX_SEC_SHA1MD5_BASE (OMAP24XX_SEC_BASE + 0x4000)
+#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
+#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
#if defined(CONFIG_ARCH_OMAP2420)