mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
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>
This commit is contained in:
1 parent
6b5188ca14
commit
440fa818fb
23 files changed
+103
-105
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user