Recognize version 3.1 of the SEC crypto engine.

This commit is contained in:
Rafal Jaworowski 2012-05-24 21:24:23 +00:00
parent f6703dd295
commit 1aba515830
2 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,10 @@ sec_probe(device_t dev)
device_set_desc(dev, "Freescale Security Engine 3.0");
sc->sc_version = 3;
break;
case SEC_31_ID:
device_set_desc(dev, "Freescale Security Engine 3.1");
sc->sc_version = 3;
break;
default:
device_printf(dev, "unknown SEC ID 0x%016llx!\n", id);
return (ENXIO);

View File

@ -46,6 +46,7 @@
/* SEC information */
#define SEC_20_ID 0x0000000000000040ULL
#define SEC_30_ID 0x0030030000000000ULL
#define SEC_31_ID 0x0030030100000000ULL
#define SEC_CHANNELS 4
#define SEC_POINTERS 7
#define SEC_MAX_DMA_BLOCK_SIZE 0xFFFF