mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 05:41:56 +00:00
Any word started with underscore followed by and uppercase letter or a second underscore is a reserved word according with C99. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
22 lines
551 B
C
22 lines
551 B
C
/*
|
|
* Copyright (c) 2018, Diego Sueiro
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
|
|
#define ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
|
|
|
|
#define A7_DOMAIN_ID 0
|
|
#define A9_DOMAIN_ID 0
|
|
#define M4_DOMAIN_ID 1
|
|
|
|
#define RDC_DOMAIN_PERM_NONE (0x0)
|
|
#define RDC_DOMAIN_PERM_W (0x1)
|
|
#define RDC_DOMAIN_PERM_R (0x2)
|
|
#define RDC_DOMAIN_PERM_RW (RDC_DOMAIN_PERM_W|RDC_DOMAIN_PERM_R)
|
|
|
|
#define RDC_DOMAIN_PERM(domain, perm) (perm << (domain * 2))
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_ */
|