blob: 216f950efe3b5d980d0e956ea74a1c1dc00beeab [file] [log] [blame]
/*
**************************************************************************
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
**************************************************************************
*/
/**
* @file nss_ipq806x.h
* Architecture dependent parameters.
*/
#ifndef __NSS_IPQ806X_H
#define __NSS_IPQ806X_H
/**
* @addtogroup nss_arch_macros_ipq806x
* @{
*/
#define NSS_MAX_NUM_PRI 4 /**< Maximum number of priority queues in NSS. */
#define NSS_HOST_CORES 2 /**< Number of host cores. */
#define NSS_N2H_RING_COUNT 3 /**< Number of N2H rings. */
#define NSS_H2N_RING_COUNT 4 /**< Number of H2N rings. */
#define NSS_RING_SIZE 128 /**< Ring size. */
#define NSS_IMEM_START 0x39000000 /**< NSS IMEM start address. */
#define NSS_IMEM_SIZE 0x10000 /**< NSS IMEM size per core. */
/**
* @}
*/
#endif /** __NSS_IPQ806X_H */