summaryrefslogtreecommitdiff
path: root/platform/fpga
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2022-12-21 19:38:06 +0800
committerAnup Patel <[email protected]>2023-01-06 17:26:35 +0530
commit440fa818fbffd0771d75890c4fcda062ceab7ebd (patch)
treeddc51462269d7532149eab1bd60000158c37a535 /platform/fpga
parent6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8 (diff)
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'platform/fpga')
-rw-r--r--platform/fpga/ariane/platform.c2
-rw-r--r--platform/fpga/openpiton/platform.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/fpga/ariane/platform.c b/platform/fpga/ariane/platform.c
index 56a666bb..1e341c20 100644
--- a/platform/fpga/ariane/platform.c
+++ b/platform/fpga/ariane/platform.c
@@ -56,7 +56,7 @@ static struct aclint_mtimer_data mtimer = {
.mtimecmp_size = ACLINT_DEFAULT_MTIMECMP_SIZE,
.first_hartid = 0,
.hart_count = ARIANE_HART_COUNT,
- .has_64bit_mmio = TRUE,
+ .has_64bit_mmio = true,
};
/*
diff --git a/platform/fpga/openpiton/platform.c b/platform/fpga/openpiton/platform.c
index 5ff7d200..57ae6980 100644
--- a/platform/fpga/openpiton/platform.c
+++ b/platform/fpga/openpiton/platform.c
@@ -60,7 +60,7 @@ static struct aclint_mtimer_data mtimer = {
.mtimecmp_size = ACLINT_DEFAULT_MTIMECMP_SIZE,
.first_hartid = 0,
.hart_count = OPENPITON_DEFAULT_HART_COUNT,
- .has_64bit_mmio = TRUE,
+ .has_64bit_mmio = true,
};
/*