diff options
| author | Anup Patel <[email protected]> | 2024-08-08 11:11:10 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-06 09:26:54 +0530 |
| commit | 32577ec3a1eea116145089f9264e7f27582c396c (patch) | |
| tree | 9db64bb07890866932f949da6c2cab0d9eddc591 /include | |
| parent | e67d91cdcc1cba32b08d104821558d8211596e16 (diff) | |
lib: utils: Add simple FDT based MPXY driver framework
The generic platform can have multiple MPXY drivers so add a simple
FDT based MPXY driver framework.
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/mpxy/fdt_mpxy.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sbi_utils/mpxy/fdt_mpxy.h b/include/sbi_utils/mpxy/fdt_mpxy.h new file mode 100644 index 00000000..2ba9d28f --- /dev/null +++ b/include/sbi_utils/mpxy/fdt_mpxy.h @@ -0,0 +1,26 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2024 Ventana Micro Systems Inc. + * + * Authors: + * Anup Patel <[email protected]> + */ + +#ifndef __FDT_MPXY_H__ +#define __FDT_MPXY_H__ + +#include <sbi/sbi_types.h> +#include <sbi_utils/fdt/fdt_driver.h> + +#ifdef CONFIG_FDT_MPXY + +void fdt_mpxy_init(const void *fdt); + +#else + +static inline void fdt_mpxy_init(const void *fdt) { } + +#endif + +#endif |
