Skip to content

Commit c9dc338

Browse files
fixup! fixup! cpu/riscv_common: model Kconfig
1 parent 2eb0742 commit c9dc338

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

cpu/riscv_common/periph/Kconfig

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,4 @@ config MODULE_PERIPH_PLIC
3232
help
3333
Platform-Level interrupt controller driver.
3434

35-
36-
# TODO: this modules are actually just artifacts from the way periph_init_%
37-
# modules are handled in Makefile. We need to define them to keep the list the
38-
# same for now. We should be able to remove them later on.
39-
config MODULE_PERIPH_INIT_CLIC
40-
bool
41-
default MODULE_PERIPH_CLIC
42-
43-
config MODULE_PERIPH_INIT_CORETIMER
44-
bool
45-
default MODULE_PERIPH_CORETIMER
46-
47-
config MODULE_PERIPH_INIT_PLIC
48-
bool
49-
default MODULE_PERIPH_PLIC
50-
5135
endif # MODULE_RISCV_COMMON_PERIPH

makefiles/features_modules.inc.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ifneq (,$(filter periph_init, $(USEMODULE)))
1515
periph_init% \
1616
periph_common \
1717
periph_rtc_rtt \
18+
periph_clic \
19+
periph_coretimer \
20+
periph_plic
1821
#
1922
PERIPH_MODULES := $(filter-out $(PERIPH_IGNORE_MODULES),\
2023
$(filter periph_%,$(USEMODULE)))

0 commit comments

Comments
 (0)