116 lines
3.9 KiB
Mathematica
116 lines
3.9 KiB
Mathematica
/* 01ipfreescale.cdf - IPFREESCALE configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2006-2007 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
12oct16,ghl To change freescale test commands to visible component, and
|
|
IPFREESCALE don't depends on SHELL.
|
|
01a,02jul07,mcarlste Added file contents
|
|
01b,09mar11,dhessing Added SEC4 engine support
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPFREESCALE
|
|
|
|
#ifdef _WRS_CONFIG_BSP_SUPPORTS_IPFREESCALE_SEC4
|
|
Component INCLUDE_IPFREESCALE
|
|
{
|
|
NAME Hardware crypto offload for Freescale SEC4 engines.
|
|
SYNOPSIS Enables the Freescale SEC4.X security engine
|
|
CONFIGLETTES ipfreescale_config.c
|
|
MODULES ipfreescale_sec.o sec4_init.o
|
|
CFG_PARAMS SEC4_IRQ_COALESCING_COUNT SEC4_IRQ_COALESCING_TIME \
|
|
SEC4_JOBQUEUE_INPUT_RING_SIZE SEC4_JOBQUEUE_OUTPUT_RING_SIZE
|
|
REQUIRES INCLUDE_IPHWCRYPTO
|
|
_CHILDREN FOLDER_CRYPTO
|
|
}
|
|
#else
|
|
Component INCLUDE_IPFREESCALE
|
|
{
|
|
NAME Hardware crypto offload for Freescale SEC2 engines.
|
|
SYNOPSIS Enables the Freescale SEC2.X security engine
|
|
CONFIGLETTES ipfreescale_config.c
|
|
MODULES ipfreescale_sec.o sec2_init.o
|
|
CFG_PARAMS SEC2_CORE_VERSION SEC2_DEVICE_FAMILY
|
|
REQUIRES INCLUDE_IPHWCRYPTO
|
|
_CHILDREN FOLDER_CRYPTO
|
|
}
|
|
#endif
|
|
|
|
/* This is a hidden component */
|
|
Component INCLUDE_IPFREESCALE_CMD
|
|
{
|
|
NAME FREESCALE Test Commands
|
|
SYNOPSIS freescale test command
|
|
MODULES ipfreescale_cmd_freescale.o
|
|
_CHILDREN FOLDER_CRYPTO
|
|
REQUIRES INCLUDE_IPFREESCALE INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
/******************** Configuration Parameters *****************************/
|
|
|
|
#ifdef _WRS_CONFIG_BSP_SUPPORTS_IPFREESCALE_SEC4
|
|
Parameter SEC4_IRQ_COALESCING_COUNT {
|
|
NAME SEC4 job queue interrupt coalescing count threshold
|
|
SYNOPSIS The number of completed SEC4 jobs before raising an interrupt.\
|
|
Valid values are 1 - 255. If SEC4_JQ_IRQ_COAL_TIME expire,\
|
|
then an interrupt will still be raised even though the count\
|
|
threshold has not been reached.
|
|
TYPE uint
|
|
DEFAULT 1
|
|
}
|
|
|
|
Parameter SEC4_IRQ_COALESCING_TIME {
|
|
NAME SEC4 job queue interrupt coalescing timer threshold
|
|
SYNOPSIS The maximum time after completing a SEC4 job before raising \
|
|
an interrupt. Each unit represent 64 SEC4 interface clocks. \
|
|
Valid values are 0 - 65535.
|
|
TYPE uint
|
|
DEFAULT 0
|
|
}
|
|
|
|
Parameter SEC4_JOBQUEUE_INPUT_RING_SIZE {
|
|
NAME SEC4 job queue input ring size
|
|
SYNOPSIS Number of entries in the SEC4 job queue input ring, \
|
|
used for submitting jobs to the SEC4. \
|
|
Valid values are 1 - 1023.
|
|
TYPE uint
|
|
DEFAULT 256
|
|
}
|
|
|
|
Parameter SEC4_JOBQUEUE_OUTPUT_RING_SIZE {
|
|
NAME SEC4 job queue output ring size
|
|
SYNOPSIS Number of entries in the SEC4 job queue output ring, \
|
|
holding completed jobs from the SEC4. \
|
|
Valid values are 1 - 1023.
|
|
TYPE uint
|
|
DEFAULT 256
|
|
}
|
|
#else
|
|
/* INCLUDE_IPFREESCALE configuration parameters */
|
|
Parameter SEC2_CORE_VERSION {
|
|
NAME SEC2 Core Version
|
|
SYNOPSIS The security engine core version: 2.0, 2.1, 2.2, 2.4, 3.0 or 3.3.
|
|
TYPE char *
|
|
DEFAULT "2.0"
|
|
}
|
|
|
|
Parameter SEC2_DEVICE_FAMILY {
|
|
NAME SEC2 Device Family
|
|
SYNOPSIS The PowerQUICC device family: 2 for PowerQUICC II Pro and 3 for PowerQUICC III.
|
|
TYPE char *
|
|
DEFAULT "3"
|
|
}
|
|
#endif
|
|
|
|
#endif
|