mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-16 03:41:24 +00:00
top: Rename "plat" to "platform" everywhere
This patch renames "plat" to "platform" everywhere for better readablility. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
parent
6f02b6938f
commit
089f70a179
33 changed files with 92 additions and 92 deletions
80
Makefile
80
Makefile
|
@ -57,47 +57,47 @@ else
|
|||
endif
|
||||
|
||||
# Setup path of directories
|
||||
export plat_subdir=plat/$(PLAT)
|
||||
export plat_dir=$(CURDIR)/$(plat_subdir)
|
||||
export plat_common_dir=$(CURDIR)/plat/common
|
||||
export platform_subdir=platform/$(PLATFORM)
|
||||
export platform_dir=$(CURDIR)/$(platform_subdir)
|
||||
export platform_common_dir=$(CURDIR)/platform/common
|
||||
export include_dir=$(CURDIR)/include
|
||||
export lib_dir=$(CURDIR)/lib
|
||||
export firmware_dir=$(CURDIR)/firmware
|
||||
|
||||
# Setup list of objects.mk files
|
||||
ifdef PLAT
|
||||
plat-object-mks=$(shell if [ -d $(plat_dir) ]; then find $(plat_dir) -iname "objects.mk" | sort -r; fi)
|
||||
plat-common-object-mks=$(shell if [ -d $(plat_common_dir) ]; then find $(plat_common_dir) -iname "objects.mk" | sort -r; fi)
|
||||
ifdef PLATFORM
|
||||
platform-object-mks=$(shell if [ -d $(platform_dir) ]; then find $(platform_dir) -iname "objects.mk" | sort -r; fi)
|
||||
platform-common-object-mks=$(shell if [ -d $(platform_common_dir) ]; then find $(platform_common_dir) -iname "objects.mk" | sort -r; fi)
|
||||
endif
|
||||
lib-object-mks=$(shell if [ -d $(lib_dir) ]; then find $(lib_dir) -iname "objects.mk" | sort -r; fi)
|
||||
firmware-object-mks=$(shell if [ -d $(firmware_dir) ]; then find $(firmware_dir) -iname "objects.mk" | sort -r; fi)
|
||||
|
||||
# Include platform specifig config.mk
|
||||
ifdef PLAT
|
||||
include $(plat_dir)/config.mk
|
||||
ifdef PLATFORM
|
||||
include $(platform_dir)/config.mk
|
||||
endif
|
||||
|
||||
# Include all object.mk files
|
||||
ifdef PLAT
|
||||
include $(plat-object-mks)
|
||||
include $(plat-common-object-mks)
|
||||
ifdef PLATFORM
|
||||
include $(platform-object-mks)
|
||||
include $(platform-common-object-mks)
|
||||
endif
|
||||
include $(lib-object-mks)
|
||||
include $(firmware-object-mks)
|
||||
|
||||
# Setup list of objects
|
||||
lib-objs-path-y=$(foreach obj,$(lib-objs-y),$(build_dir)/lib/$(obj))
|
||||
ifdef PLAT
|
||||
plat-objs-path-y=$(foreach obj,$(plat-objs-y),$(build_dir)/$(plat_subdir)/$(obj))
|
||||
plat-common-objs-path-y=$(foreach obj,$(plat-common-objs-y),$(build_dir)/plat/common/$(obj))
|
||||
firmware-bins-path-y=$(foreach bin,$(firmware-bins-y),$(build_dir)/$(plat_subdir)/firmware/$(bin))
|
||||
ifdef PLATFORM
|
||||
platform-objs-path-y=$(foreach obj,$(platform-objs-y),$(build_dir)/$(platform_subdir)/$(obj))
|
||||
platform-common-objs-path-y=$(foreach obj,$(platform-common-objs-y),$(build_dir)/platform/common/$(obj))
|
||||
firmware-bins-path-y=$(foreach bin,$(firmware-bins-y),$(build_dir)/$(platform_subdir)/firmware/$(bin))
|
||||
endif
|
||||
firmware-elfs-path-y=$(firmware-bins-path-y:.bin=.elf)
|
||||
firmware-objs-path-y=$(firmware-bins-path-y:.bin=.o)
|
||||
|
||||
# Setup list of deps files for objects
|
||||
deps-y=$(plat-objs-path-y:.o=.dep)
|
||||
deps-y+=$(plat-common-objs-path-y:.o=.dep)
|
||||
deps-y=$(platform-objs-path-y:.o=.dep)
|
||||
deps-y+=$(platform-common-objs-path-y:.o=.dep)
|
||||
deps-y+=$(lib-objs-path-y:.o=.dep)
|
||||
deps-y+=$(firmware-objs-path-y:.o=.dep)
|
||||
|
||||
|
@ -105,17 +105,17 @@ deps-y+=$(firmware-objs-path-y:.o=.dep)
|
|||
cpp=$(CROSS_COMPILE)cpp
|
||||
cppflags+=-DOPENSBI_MAJOR=$(MAJOR)
|
||||
cppflags+=-DOPENSBI_MINOR=$(MINOR)
|
||||
cppflags+=-I$(plat_dir)/include
|
||||
cppflags+=-I$(plat_common_dir)/include
|
||||
cppflags+=-I$(platform_dir)/include
|
||||
cppflags+=-I$(platform_common_dir)/include
|
||||
cppflags+=-I$(include_dir)
|
||||
cppflags+=$(plat-cppflags-y)
|
||||
cppflags+=$(platform-cppflags-y)
|
||||
cppflags+=$(firmware-cppflags-y)
|
||||
cc=$(CROSS_COMPILE)gcc
|
||||
cflags=-g -Wall -Werror -nostdlib -fno-strict-aliasing -O2
|
||||
cflags+=-fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
cflags+=-mno-save-restore -mstrict-align
|
||||
cflags+=$(cppflags)
|
||||
cflags+=$(plat-cflags-y)
|
||||
cflags+=$(platform-cflags-y)
|
||||
cflags+=$(firmware-cflags-y)
|
||||
cflags+=$(EXTRA_CFLAGS)
|
||||
as=$(CROSS_COMPILE)gcc
|
||||
|
@ -123,14 +123,14 @@ asflags=-g -Wall -nostdlib -D__ASSEMBLY__
|
|||
asflags+=-fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
asflags+=-mno-save-restore -mstrict-align
|
||||
asflags+=$(cppflags)
|
||||
asflags+=$(plat-asflags-y)
|
||||
asflags+=$(platform-asflags-y)
|
||||
asflags+=$(firmware-asflags-y)
|
||||
asflags+=$(EXTRA_ASFLAGS)
|
||||
ar=$(CROSS_COMPILE)ar
|
||||
arflags=rcs
|
||||
ld=$(CROSS_COMPILE)gcc
|
||||
ldflags=-g -Wall -nostdlib -Wl,--build-id=none
|
||||
ldflags+=$(plat-ldflags-y)
|
||||
ldflags+=$(platform-ldflags-y)
|
||||
ldflags+=$(firmware-ldflags-y)
|
||||
merge=$(CROSS_COMPILE)ld
|
||||
mergeflags=-r
|
||||
|
@ -192,8 +192,8 @@ compile_objcopy = $(V)mkdir -p `dirname $(1)`; \
|
|||
$(objcopy) -S -O binary $(2) $(1)
|
||||
|
||||
targets-y = $(build_dir)/lib/libsbi.a
|
||||
ifdef PLAT
|
||||
targets-y += $(build_dir)/$(plat_subdir)/lib/libplatsbi.a
|
||||
ifdef PLATFORM
|
||||
targets-y += $(build_dir)/$(platform_subdir)/lib/libplatsbi.a
|
||||
endif
|
||||
targets-y += $(firmware-bins-path-y)
|
||||
|
||||
|
@ -207,16 +207,16 @@ all: $(targets-y)
|
|||
$(build_dir)/%.bin: $(build_dir)/%.elf
|
||||
$(call compile_objcopy,$@,$<)
|
||||
|
||||
$(build_dir)/%.elf: $(build_dir)/%.o $(build_dir)/%.elf.ld $(build_dir)/$(plat_subdir)/lib/libplatsbi.a
|
||||
$(call compile_ld,$@,$@.ld,$< $(build_dir)/$(plat_subdir)/lib/libplatsbi.a)
|
||||
$(build_dir)/%.elf: $(build_dir)/%.o $(build_dir)/%.elf.ld $(build_dir)/$(platform_subdir)/lib/libplatsbi.a
|
||||
$(call compile_ld,$@,$@.ld,$< $(build_dir)/$(platform_subdir)/lib/libplatsbi.a)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/%.ld: $(src_dir)/%.ldS
|
||||
$(build_dir)/$(platform_subdir)/%.ld: $(src_dir)/%.ldS
|
||||
$(call compile_cpp,$@,$<)
|
||||
|
||||
$(build_dir)/lib/libsbi.a: $(lib-objs-path-y)
|
||||
$(call compile_ar,$@,$^)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/lib/libplatsbi.a: $(lib-objs-path-y) $(plat-common-objs-path-y) $(plat-objs-path-y)
|
||||
$(build_dir)/$(platform_subdir)/lib/libplatsbi.a: $(lib-objs-path-y) $(platform-common-objs-path-y) $(platform-objs-path-y)
|
||||
$(call compile_ar,$@,$^)
|
||||
|
||||
$(build_dir)/%.dep: $(src_dir)/%.c
|
||||
|
@ -231,16 +231,16 @@ $(build_dir)/%.dep: $(src_dir)/%.S
|
|||
$(build_dir)/%.o: $(src_dir)/%.S
|
||||
$(call compile_as,$@,$<)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/%.dep: $(src_dir)/%.c
|
||||
$(build_dir)/$(platform_subdir)/%.dep: $(src_dir)/%.c
|
||||
$(call compile_cc_dep,$@,$<)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/%.o: $(src_dir)/%.c
|
||||
$(build_dir)/$(platform_subdir)/%.o: $(src_dir)/%.c
|
||||
$(call compile_cc,$@,$<)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/%.dep: $(src_dir)/%.S
|
||||
$(build_dir)/$(platform_subdir)/%.dep: $(src_dir)/%.S
|
||||
$(call compile_as_dep,$@,$<)
|
||||
|
||||
$(build_dir)/$(plat_subdir)/%.o: $(src_dir)/%.S
|
||||
$(build_dir)/$(platform_subdir)/%.o: $(src_dir)/%.S
|
||||
$(call compile_as,$@,$<)
|
||||
|
||||
# Dependency files should only be included after default Makefile rule
|
||||
|
@ -250,7 +250,7 @@ all-deps-2 = $(if $(findstring clean,$(MAKECMDGOALS)),,$(all-deps-1))
|
|||
-include $(all-deps-2)
|
||||
|
||||
install_targets-y = install_libsbi
|
||||
ifdef PLAT
|
||||
ifdef PLATFORM
|
||||
install_targets-y += install_libplatsbi
|
||||
install_targets-y += install_firmwares
|
||||
endif
|
||||
|
@ -265,14 +265,14 @@ install_libsbi: $(build_dir)/lib/libsbi.a
|
|||
$(call inst_file,$(install_dir)/lib/libsbi.a,$(build_dir)/lib/libsbi.a)
|
||||
|
||||
.PHONY: install_libplatsbi
|
||||
install_libplatsbi: $(build_dir)/$(plat_subdir)/lib/libplatsbi.a $(build_dir)/lib/libsbi.a
|
||||
$(call inst_header_dir,$(install_dir)/$(plat_subdir)/include,$(include_dir)/sbi)
|
||||
$(call inst_file,$(install_dir)/$(plat_subdir)/lib/libplatsbi.a,$(build_dir)/$(plat_subdir)/lib/libplatsbi.a)
|
||||
install_libplatsbi: $(build_dir)/$(platform_subdir)/lib/libplatsbi.a $(build_dir)/lib/libsbi.a
|
||||
$(call inst_header_dir,$(install_dir)/$(platform_subdir)/include,$(include_dir)/sbi)
|
||||
$(call inst_file,$(install_dir)/$(platform_subdir)/lib/libplatsbi.a,$(build_dir)/$(platform_subdir)/lib/libplatsbi.a)
|
||||
|
||||
.PHONY: install_firmwares
|
||||
install_firmwares: $(build_dir)/$(plat_subdir)/lib/libplatsbi.a $(build_dir)/lib/libsbi.a $(firmware-bins-path-y)
|
||||
$(call inst_file_list,$(install_dir)/$(plat_subdir)/firmware,$(plat_subdir)/firmware,$(firmware-elfs-path-y))
|
||||
$(call inst_file_list,$(install_dir)/$(plat_subdir)/firmware,$(plat_subdir)/firmware,$(firmware-bins-path-y))
|
||||
install_firmwares: $(build_dir)/$(platform_subdir)/lib/libplatsbi.a $(build_dir)/lib/libsbi.a $(firmware-bins-path-y)
|
||||
$(call inst_file_list,$(install_dir)/$(platform_subdir)/firmware,$(platform_subdir)/firmware,$(firmware-elfs-path-y))
|
||||
$(call inst_file_list,$(install_dir)/$(platform_subdir)/firmware,$(platform_subdir)/firmware,$(firmware-bins-path-y))
|
||||
|
||||
# Rule for "make clean"
|
||||
.PHONY: clean
|
||||
|
|
16
README.md
16
README.md
|
@ -32,8 +32,8 @@ For cross-compiling, please ensure that CROSS_COMPILE environment
|
|||
variable is set before starting build system.
|
||||
|
||||
The libplatsbi.a and firmwares are optional and only built when
|
||||
`PLAT=<platform_subdir>` parameter is specified to top-level make.
|
||||
(**NOTE**: `<platform_subdir>` is sub-directory under plat/ directory)
|
||||
`PLATFORM=<platform_subdir>` parameter is specified to top-level make.
|
||||
(**NOTE**: `<platform_subdir>` is sub-directory under platform/ directory)
|
||||
|
||||
To build and install Generic OpenSBI library do the following:
|
||||
|
||||
|
@ -50,17 +50,17 @@ To build and install platform specific OpenSBI library and firmwares
|
|||
do the following:
|
||||
|
||||
1. Build **libsbi, libplatsbi, and firmwares**:
|
||||
`make PLAT=<platform_subdir>`
|
||||
`make PLATFORM=<platform_subdir>`
|
||||
OR
|
||||
`make PLAT=<platform_subdir> O=<build_directory>`
|
||||
`make PLATFORM=<platform_subdir> O=<build_directory>`
|
||||
2. Install **libsbi, headers, libplatsbi, and firmwares**:
|
||||
`make PLAT=<platform_subdir> install`
|
||||
`make PLATFORM=<platform_subdir> install`
|
||||
OR
|
||||
`make PLAT=<platform_subdir> I=<install_directory> install`
|
||||
`make PLATFORM=<platform_subdir> I=<install_directory> install`
|
||||
|
||||
In addition, we can also specify platform specific command-line
|
||||
options to top-level make (such as `PLAT_<xyz>` or `FW_<abc>`)
|
||||
which are described under `docs/plat/<platform_name>.md` OR
|
||||
which are described under `docs/platform/<platform_name>.md` OR
|
||||
`docs/firmware/<firmware_name>.md`.
|
||||
|
||||
Documentation
|
||||
|
@ -71,7 +71,7 @@ manner:
|
|||
|
||||
* `docs/platform_guide.md` - Guidelines for adding new platform support
|
||||
* `docs/library_usage.md` - Guidelines for using static library
|
||||
* `docs/plat/<platform_name>.md` - Documentation for `<platform_name>` platform
|
||||
* `docs/platform/<platform_name>.md` - Documentation for `<platform_name>` platform
|
||||
* `docs/firmware/<firmware_name>.md` - Documentation for firmware `<firmware_name>`
|
||||
|
||||
We also prefer source level documentation, so wherever possible we describe
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-common-objs-$(PLAT_SYS_CLINT) += sys/clint.o
|
||||
platform-common-objs-$(PLATFORM_IRQCHIP_PLIC) += irqchip/plic.o
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-objs-y += platform.o
|
||||
platform-common-objs-y += fdt.o
|
|
@ -7,5 +7,5 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-common-objs-$(PLAT_SERIAL_UART8250) += serial/uart8250.o
|
||||
plat-common-objs-$(PLAT_SERIAL_SIFIVE_UART) += serial/sifive-uart.o
|
||||
platform-common-objs-$(PLATFORM_SERIAL_UART8250) += serial/uart8250.o
|
||||
platform-common-objs-$(PLATFORM_SERIAL_SIFIVE_UART) += serial/sifive-uart.o
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-common-objs-$(PLAT_IRQCHIP_PLIC) += irqchip/plic.o
|
||||
platform-common-objs-$(PLATFORM_SYS_CLINT) += sys/clint.o
|
|
@ -8,18 +8,18 @@
|
|||
#
|
||||
|
||||
# Essential defines required by SBI platform
|
||||
plat-cppflags-y = -DPLAT_NAME="Kendryte K210"
|
||||
plat-cppflags-y+= -DPLAT_HART_COUNT=2
|
||||
plat-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
platform-cppflags-y = -DPLAT_NAME="Kendryte K210"
|
||||
platform-cppflags-y+= -DPLAT_HART_COUNT=2
|
||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
|
||||
# Compiler flags
|
||||
plat-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-ldflags-y =
|
||||
platform-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-ldflags-y =
|
||||
|
||||
# Common drivers to enable
|
||||
PLAT_IRQCHIP_PLIC=y
|
||||
PLAT_SYS_CLINT=y
|
||||
PLATFORM_IRQCHIP_PLIC=y
|
||||
PLATFORM_SYS_CLINT=y
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-objs-y += uarths.o sysctl.o platform.o
|
||||
platform-objs-y += uarths.o sysctl.o platform.o
|
|
@ -8,19 +8,19 @@
|
|||
#
|
||||
|
||||
# Essential defines required by SBI platform
|
||||
plat-cppflags-y = -DPLAT_NAME="SiFive HiFive U540"
|
||||
plat-cppflags-y+= -DPLAT_HART_COUNT=5
|
||||
plat-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
platform-cppflags-y = -DPLAT_NAME="QEMU SiFive Unleashed"
|
||||
platform-cppflags-y+= -DPLAT_HART_COUNT=1
|
||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
|
||||
# Compiler flags
|
||||
plat-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-ldflags-y =
|
||||
platform-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-ldflags-y =
|
||||
|
||||
# Common drivers to enable
|
||||
PLAT_IRQCHIP_PLIC=y
|
||||
PLAT_SERIAL_SIFIVE_UART=y
|
||||
PLAT_SYS_CLINT=y
|
||||
PLATFORM_IRQCHIP_PLIC=y
|
||||
PLATFORM_SERIAL_SIFIVE_UART=y
|
||||
PLATFORM_SYS_CLINT=y
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-objs-y += platform.o
|
||||
platform-objs-y += platform.o
|
|
@ -8,19 +8,19 @@
|
|||
#
|
||||
|
||||
# Essential defines required by SBI platform
|
||||
plat-cppflags-y = -DPLAT_NAME="QEMU SiFive Unleashed"
|
||||
plat-cppflags-y+= -DPLAT_HART_COUNT=1
|
||||
plat-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
platform-cppflags-y = -DPLAT_NAME="QEMU Virt Machine"
|
||||
platform-cppflags-y+= -DPLAT_HART_COUNT=8
|
||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
|
||||
# Compiler flags
|
||||
plat-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-ldflags-y =
|
||||
platform-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-ldflags-y =
|
||||
|
||||
# Common drivers to enable
|
||||
PLAT_IRQCHIP_PLIC=y
|
||||
PLAT_SERIAL_SIFIVE_UART=y
|
||||
PLAT_SYS_CLINT=y
|
||||
PLATFORM_IRQCHIP_PLIC=y
|
||||
PLATFORM_SERIAL_UART8250=y
|
||||
PLATFORM_SYS_CLINT=y
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-common-objs-y += fdt.o
|
||||
platform-objs-y += platform.o
|
|
@ -8,19 +8,19 @@
|
|||
#
|
||||
|
||||
# Essential defines required by SBI platform
|
||||
plat-cppflags-y = -DPLAT_NAME="QEMU Virt Machine"
|
||||
plat-cppflags-y+= -DPLAT_HART_COUNT=8
|
||||
plat-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
platform-cppflags-y = -DPLAT_NAME="SiFive HiFive U540"
|
||||
platform-cppflags-y+= -DPLAT_HART_COUNT=5
|
||||
platform-cppflags-y+= -DPLAT_HART_STACK_SIZE=8192
|
||||
|
||||
# Compiler flags
|
||||
plat-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
plat-ldflags-y =
|
||||
platform-cflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-asflags-y =-mabi=lp64 -march=rv64imafdc -mcmodel=medany
|
||||
platform-ldflags-y =
|
||||
|
||||
# Common drivers to enable
|
||||
PLAT_IRQCHIP_PLIC=y
|
||||
PLAT_SERIAL_UART8250=y
|
||||
PLAT_SYS_CLINT=y
|
||||
PLATFORM_IRQCHIP_PLIC=y
|
||||
PLATFORM_SERIAL_SIFIVE_UART=y
|
||||
PLATFORM_SYS_CLINT=y
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
|
@ -7,4 +7,4 @@
|
|||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
plat-objs-y += platform.o
|
||||
platform-objs-y += platform.o
|
Loading…
Add table
Reference in a new issue