Commit 6c16918f authored by Varun Wadekar's avatar Varun Wadekar
Browse files

Tegra: enable 'ENABLE_ASSERTIONS' for all builds



This patch changes the platform Makefile to set `ENABLE_ASSERTIONS` to
1 instead of the deprecated option `ASM_ASSERTION`. This also pulls in
C assertions in release mode.
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
parent 03af25bc
......@@ -30,14 +30,13 @@
SOC_DIR := plat/nvidia/tegra/soc/${TARGET_SOC}
# enable ASM_ASSERTION for the build
ASM_ASSERTION := 1
$(eval $(call add_define,ASM_ASSERTION))
# dump the state on crash console
CRASH_REPORTING := 1
$(eval $(call add_define,CRASH_REPORTING))
# enable assert() for release/debug builds
ENABLE_ASSERTIONS := 1
# Disable the PSCI platform compatibility layer
ENABLE_PLAT_COMPAT := 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment