forked from Mirrors/opensbi
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:
@@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -205,7 +205,7 @@ static int da9063_reset_init(void *fdt, int nodeoff,
|
||||
}
|
||||
|
||||
static const struct fdt_match da9063_reset_match[] = {
|
||||
{ .compatible = "dlg,da9063", .data = (void *)TRUE },
|
||||
{ .compatible = "dlg,da9063", .data = (void *)true },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -83,7 +83,7 @@ static struct aclint_mtimer_data mtimer = {
|
||||
.mtimecmp_size = ACLINT_DEFAULT_MTIMECMP_SIZE,
|
||||
.first_hartid = 0,
|
||||
.hart_count = UX600_HART_COUNT,
|
||||
.has_64bit_mmio = TRUE,
|
||||
.has_64bit_mmio = true,
|
||||
};
|
||||
|
||||
static u32 measure_cpu_freq(u32 n)
|
||||
|
@@ -53,7 +53,7 @@ static struct aclint_mtimer_data mtimer = {
|
||||
.mtimecmp_size = ACLINT_DEFAULT_MTIMECMP_SIZE,
|
||||
.first_hartid = 0,
|
||||
.hart_count = PLATFORM_HART_COUNT,
|
||||
.has_64bit_mmio = TRUE,
|
||||
.has_64bit_mmio = true,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user