diff options
| author | Anup Patel <apatel@ventanamicro.com> | 2025-09-04 10:54:10 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2025-09-16 09:56:31 +0530 |
| commit | cb70dffa0a726b68e9e84c52c07ad174f7ddac86 (patch) | |
| tree | 0a8606b933816cca743d43c0169d3d1ec0500bc1 /include | |
| parent | 85f22b38c8b8c00812b0ea277ac212d82d169b9e (diff) | |
| download | opensbi-cb70dffa0a726b68e9e84c52c07ad174f7ddac86.tar.gz opensbi-cb70dffa0a726b68e9e84c52c07ad174f7ddac86.tar.bz2 opensbi-cb70dffa0a726b68e9e84c52c07ad174f7ddac86.zip | |
lib: utils/ipi: Convert IPI drivers as early drivers
The fdt_ipi_init() is already called from generic_early_init() so
let's convert IPI drivers as early drivers.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Nick Hu <nick.hu@sifive.com>
Link: https://lore.kernel.org/r/20250904052410.546818-4-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/ipi/fdt_ipi.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/sbi_utils/ipi/fdt_ipi.h b/include/sbi_utils/ipi/fdt_ipi.h deleted file mode 100644 index 9b014470..00000000 --- a/include/sbi_utils/ipi/fdt_ipi.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SPDX-License-Identifier: BSD-2-Clause - * - * Copyright (c) 2020 Western Digital Corporation or its affiliates. - * - * Authors: - * Anup Patel <anup.patel@wdc.com> - */ - -#ifndef __FDT_IPI_H__ -#define __FDT_IPI_H__ - -#include <sbi/sbi_types.h> -#include <sbi_utils/fdt/fdt_driver.h> - -#ifdef CONFIG_FDT_IPI - -int fdt_ipi_init(void); - -#else - -static inline int fdt_ipi_init(void) { return 0; } - -#endif - -#endif |
