mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
platform: generic: Move Sifive platform overrides into own directory
Let us move SiFive platform overrides for FU540 and FU740 into a separate directory so better maintainability. Other SoC vendors can also create their own directory under platform/generic. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
@@ -9,9 +9,3 @@
|
||||
|
||||
platform-objs-y += platform.o
|
||||
platform-objs-y += platform_override_modules.o
|
||||
|
||||
carray-platform_override_modules-y += sifive_fu540
|
||||
platform-objs-y += sifive_fu540.o
|
||||
|
||||
carray-platform_override_modules-y += sifive_fu740
|
||||
platform-objs-y += sifive_fu740.o
|
||||
|
9
platform/generic/sifive/objects.mk
Normal file
9
platform/generic/sifive/objects.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
carray-platform_override_modules-y += sifive_fu540
|
||||
platform-objs-y += sifive/fu540.o
|
||||
|
||||
carray-platform_override_modules-y += sifive_fu740
|
||||
platform-objs-y += sifive/fu740.o
|
Reference in New Issue
Block a user