summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/global_data.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-18 11:09:41 -0400
committerTom Rini <trini@konsulko.com>2021-05-18 11:09:41 -0400
commit52993fcb7672885ea827ef3f24927d650bca2e4e (patch)
treec4547bdbf6ee732a28f56e4c845e45f7ae565ac6 /arch/riscv/include/asm/global_data.h
parentfeddbdb55f47b94f9f6695dc19a826953f893f7a (diff)
parent89419279f4fe6bfd68dd518059ef2007295f1cb4 (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
Diffstat (limited to 'arch/riscv/include/asm/global_data.h')
-rw-r--r--arch/riscv/include/asm/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h
index d3a0b1d2215..095484a6358 100644
--- a/arch/riscv/include/asm/global_data.h
+++ b/arch/riscv/include/asm/global_data.h
@@ -18,7 +18,7 @@
struct arch_global_data {
long boot_hart; /* boot hart id */
phys_addr_t firmware_fdt_addr;
-#ifdef CONFIG_SIFIVE_CLINT
+#if CONFIG_IS_ENABLED(SIFIVE_CLINT)
void __iomem *clint; /* clint base address */
#endif
#ifdef CONFIG_ANDES_PLIC