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
4abd2225
Commit
4abd2225
authored
Jan 23, 2017
by
danh-arm
Committed by
GitHub
Jan 23, 2017
Browse files
Merge pull request #800 from masahir0y/ifdef
Correct preprocessor conditionals
parents
e02be207
6af03f9c
Changes
23
Show whitespace changes
Inline
Side-by-side
plat/rockchip/common/rockchip_gicv3.c
View file @
4abd2225
...
@@ -82,7 +82,7 @@ void plat_rockchip_gic_driver_init(void)
...
@@ -82,7 +82,7 @@ void plat_rockchip_gic_driver_init(void)
* can use GIC system registers to manage interrupts and does
* can use GIC system registers to manage interrupts and does
* not need GIC interface base addresses to be configured.
* not need GIC interface base addresses to be configured.
*/
*/
#if IMAGE_BL31
#if
def
IMAGE_BL31
gicv3_driver_init
(
&
rockchip_gic_data
);
gicv3_driver_init
(
&
rockchip_gic_data
);
#endif
#endif
}
}
...
...
plat/rockchip/rk3368/include/platform_def.h
View file @
4abd2225
...
@@ -50,13 +50,13 @@
...
@@ -50,13 +50,13 @@
/* Size of cacheable stacks */
/* Size of cacheable stacks */
#if DEBUG_XLAT_TABLE
#if DEBUG_XLAT_TABLE
#define PLATFORM_STACK_SIZE 0x800
#define PLATFORM_STACK_SIZE 0x800
#elif IMAGE_BL1
#elif
defined(
IMAGE_BL1
)
#define PLATFORM_STACK_SIZE 0x440
#define PLATFORM_STACK_SIZE 0x440
#elif IMAGE_BL2
#elif
defined(
IMAGE_BL2
)
#define PLATFORM_STACK_SIZE 0x400
#define PLATFORM_STACK_SIZE 0x400
#elif IMAGE_BL31
#elif
defined(
IMAGE_BL31
)
#define PLATFORM_STACK_SIZE 0x800
#define PLATFORM_STACK_SIZE 0x800
#elif IMAGE_BL32
#elif
defined(
IMAGE_BL32
)
#define PLATFORM_STACK_SIZE 0x440
#define PLATFORM_STACK_SIZE 0x440
#endif
#endif
...
...
plat/rockchip/rk3399/include/platform_def.h
View file @
4abd2225
...
@@ -50,13 +50,13 @@
...
@@ -50,13 +50,13 @@
/* Size of cacheable stacks */
/* Size of cacheable stacks */
#if DEBUG_XLAT_TABLE
#if DEBUG_XLAT_TABLE
#define PLATFORM_STACK_SIZE 0x800
#define PLATFORM_STACK_SIZE 0x800
#elif IMAGE_BL1
#elif
defined(
IMAGE_BL1
)
#define PLATFORM_STACK_SIZE 0x440
#define PLATFORM_STACK_SIZE 0x440
#elif IMAGE_BL2
#elif
defined(
IMAGE_BL2
)
#define PLATFORM_STACK_SIZE 0x400
#define PLATFORM_STACK_SIZE 0x400
#elif IMAGE_BL31
#elif
defined(
IMAGE_BL31
)
#define PLATFORM_STACK_SIZE 0x800
#define PLATFORM_STACK_SIZE 0x800
#elif IMAGE_BL32
#elif
defined(
IMAGE_BL32
)
#define PLATFORM_STACK_SIZE 0x440
#define PLATFORM_STACK_SIZE 0x440
#endif
#endif
...
...
Prev
1
2
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