summaryrefslogtreecommitdiff
path: root/platform/kendryte
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/kendryte
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/kendryte')
-rw-r--r--platform/kendryte/k210/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c
index ef848c7c..7eb9015b 100644
--- a/platform/kendryte/k210/platform.c
+++ b/platform/kendryte/k210/platform.c
@@ -52,7 +52,7 @@ static struct aclint_mtimer_data mtimer = {
.mtimecmp_size = ACLINT_DEFAULT_MTIMECMP_SIZE,
.first_hartid = 0,
.hart_count = K210_HART_COUNT,
- .has_64bit_mmio = TRUE,
+ .has_64bit_mmio = true,
};
static u32 k210_get_clk_freq(void)