Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
60e062fb
Unverified
Commit
60e062fb
authored
Jul 25, 2018
by
danh-arm
Committed by
GitHub
Jul 25, 2018
Browse files
Merge pull request #1486 from antonio-nino-diaz-arm/an/psci-misra
Fix several MISRA defects in PSCI library
parents
d87d524e
6b7b0f36
Changes
43
Hide whitespace changes
Inline
Side-by-side
plat/socionext/uniphier/include/platform_def.h
View file @
60e062fb
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLATFORM_DEF_H
__
#define
__
PLATFORM_DEF_H
__
#ifndef PLATFORM_DEF_H
#define PLATFORM_DEF_H
#include <common_def.h>
#include <tbbr/tbbr_img_def.h>
...
...
@@ -23,10 +23,10 @@
#define PLATFORM_CORE_COUNT \
((UNIPHIER_MAX_CPUS_PER_CLUSTER) * (UNIPHIER_CLUSTER_COUNT))
#define PLAT_MAX_PWR_LVL
1
#define PLAT_MAX_PWR_LVL
U(1)
#define PLAT_MAX_OFF_STATE
2
#define PLAT_MAX_RET_STATE
1
#define PLAT_MAX_OFF_STATE
U(2)
#define PLAT_MAX_RET_STATE
U(1)
#define BL2_BASE ULL(0x80000000)
#define BL2_LIMIT ULL(0x80080000)
...
...
@@ -59,4 +59,4 @@
#define TSP_SEC_MEM_SIZE ((BL32_LIMIT) - (BL32_BASE))
#define TSP_IRQ_SEC_PHY_TIMER 29
#endif
/*
__
PLATFORM_DEF_H
__
*/
#endif
/* PLATFORM_DEF_H */
plat/ti/k3/board/generic/include/board_def.h
View file @
60e062fb
...
...
@@ -4,8 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __BOARD_DEF_H__
#define __BOARD_DEF_H__
#ifndef BOARD_DEF_H
#define BOARD_DEF_H
#include <utils_def.h>
/* The ports must be in order and contiguous */
#define K3_CLUSTER0_CORE_COUNT 2
...
...
@@ -27,7 +29,7 @@
#define SEC_SRAM_BASE 0x70000000
/* Base of MSMC SRAM */
#define SEC_SRAM_SIZE 0x00020000
/* 128k */
#define PLAT_MAX_OFF_STATE
2
#define PLAT_MAX_RET_STATE
1
#define PLAT_MAX_OFF_STATE
U(2)
#define PLAT_MAX_RET_STATE
U(1)
#endif
/*
__
BOARD_DEF_H
__
*/
#endif
/* BOARD_DEF_H */
plat/xilinx/zynqmp/include/platform_def.h
View file @
60e062fb
/*
* Copyright (c) 2014-201
7
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2014-201
8
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLATFORM_DEF_H
__
#define
__
PLATFORM_DEF_H
__
#ifndef PLATFORM_DEF_H
#define PLATFORM_DEF_H
#include <arch.h>
#include <gic_common.h>
#include <interrupt_props.h>
#include <utils_def.h>
#include "../zynqmp_def.h"
/*******************************************************************************
...
...
@@ -21,9 +22,9 @@
#define PLATFORM_CORE_COUNT 4
#define PLAT_NUM_POWER_DOMAINS 5
#define PLAT_MAX_PWR_LVL
1
#define PLAT_MAX_RET_STATE
1
#define PLAT_MAX_OFF_STATE
2
#define PLAT_MAX_PWR_LVL
U(1)
#define PLAT_MAX_RET_STATE
U(1)
#define PLAT_MAX_OFF_STATE
U(2)
/*******************************************************************************
* BL31 specific defines.
...
...
@@ -142,4 +143,4 @@
#define PLAT_ARM_G0_IRQ_PROPS(grp)
#endif
/*
__
PLATFORM_DEF_H
__
*/
#endif
/* PLATFORM_DEF_H */
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment