Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions kernel/hi3516cv300.kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,13 @@ ifndef DISABLE_ISP
endif

# --- Watchdog module (source driver) ---
$(PREFIX)wdt-objs := wdt/hi3516cv300/hi_wdt.o
ccflags-y += -I$(src)/wdt/hi3516cv300
# --- WDT module (the one driver in wdt/). This generation describes no
# watchdog node in the device tree, so the module registers on load and maps
# the block itself. The copy that used to live in wdt/hi3516cv300/ had no
# module entry point at all: it loaded and did nothing, and the board came up
# with no /dev/watchdog. ---
ccflags-y += -DWDT_BASE=0x12080000 -DWDT_OSAL_HI -DWDT_OSAL_NO_KTHREAD_STOP_FLAG -DWDT_NO_OF
$(PREFIX)wdt-objs := wdt/wdt.o wdt/wdt_init.o
Comment thread
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
obj-m += $(PREFIX)wdt.o

# --- MIPI RX module (source driver) ---
Expand Down
4 changes: 3 additions & 1 deletion kernel/hi3516cv500.kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ obj-m += $(PREFIX)vfmw.o
obj-m += $(PREFIX)jpegd.o

# --- Watchdog module (source driver) ---
$(PREFIX)wdt-objs := wdt/hi3516cv500/hi_wtdg.o $(CV500_INIT_DIR)/wtdg_init.o
# --- WDT module (the one driver in wdt/, anchored at this SoC's map) ---
ccflags-y += -DWDT_BASE=0x12051000 -DWDT_OSAL_HI
$(PREFIX)wdt-objs := wdt/wdt.o wdt/wdt_init.o
obj-m += $(PREFIX)wdt.o

# --- MIPI TX module (source driver) ---
Expand Down
95 changes: 0 additions & 95 deletions kernel/init/hi3516cv500/wtdg_init.c

This file was deleted.

134 changes: 0 additions & 134 deletions kernel/wdt/hi3516cv300/hi_type.h

This file was deleted.

Loading
Loading