mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
4697abea62
Add support for Watchdog Timer, which is compatible with AST2400 and AST2500 watchdogs. There is no uclass for Watchdog yet, so the driver does not follow the driver model. It also uses fixed clock, so no clock driver is needed. Add support for timer for Aspeed ast2400/ast2500 devices. The driver actually controls several devices, but because all devices share the same Control Register, it is somewhat difficult to completely decouple them. Since only one timer is needed at the moment, this should be OK. The timer uses fixed clock, so does not rely on a clock driver. Add sysreset driver, which uses watchdog timer to do resets and particular watchdog device to use is hardcoded (0) Reviewed-by: Simon Glass <sjg@chromium.org>
12 lines
353 B
Makefile
12 lines
353 B
Makefile
#
|
|
# Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_TIMER) += timer-uclass.o
|
|
obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o
|
|
obj-$(CONFIG_SANDBOX_TIMER) += sandbox_timer.o
|
|
obj-$(CONFIG_X86_TSC_TIMER) += tsc_timer.o
|
|
obj-$(CONFIG_OMAP_TIMER) += omap-timer.o
|
|
obj-$(CONFIG_AST_TIMER) += ast_timer.o
|