summaryrefslogtreecommitdiff
path: root/lib/utils/fdt
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2022-12-21 14:38:06 +0300
committerAnup Patel <anup@brainfault.org>2023-01-06 14:56:35 +0300
commit440fa818fbffd0771d75890c4fcda062ceab7ebd (patch)
treeddc51462269d7532149eab1bd60000158c37a535 /lib/utils/fdt
parent6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8 (diff)
downloadopensbi-440fa818fbffd0771d75890c4fcda062ceab7ebd.tar.xz
treewide: Replace TRUE/FALSE with true/false
C language standard uses true/false for the boolean type. Let's switch to that for better language compatibility. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Samuel Holland <samuel@sholland.org> Tested-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'lib/utils/fdt')
-rw-r--r--lib/utils/fdt/fdt_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/fdt/fdt_domain.c b/lib/utils/fdt/fdt_domain.c
index 0568603..35462a2 100644
--- a/lib/utils/fdt/fdt_domain.c
+++ b/lib/utils/fdt/fdt_domain.c
@@ -401,9 +401,9 @@ static int __fdt_parse_domain(void *fdt, int domain_offset, void *opaque)
/* Read "system-reset-allowed" DT property */
if (fdt_get_property(fdt, domain_offset,
"system-reset-allowed", NULL))
- dom->system_reset_allowed = TRUE;
+ dom->system_reset_allowed = true;
else
- dom->system_reset_allowed = FALSE;
+ dom->system_reset_allowed = false;
/* Find /cpus DT node */
cpus_offset = fdt_path_offset(fdt, "/cpus");