u-boot-brain/drivers
Marek Behún 7b03e9969c watchdog: armada_37xx: Fix compliance with kernel's driver
The Armada 37xx watchdog driver was recently accepted for mainline
kernel by watchdog subsystem maintainer, but the driver works a little
different than the one in U-Boot. This patch fixes this.

In the previous implementation there was a tiny period of time when the
watchdog was disabled and the system was vulnerables - this was during
pinging, which was done by disabling, setting, and enabling the counter.

Now pinging is done without disabling the watchdog. We use 2 counters:
Counter 1 is the watchdog counter - on expiry, the system is reset.
Counter 0 is used to reset Counter 1 to start counting from the set
timeout again. So Counter 1 is set to be reset on Counter 0 expiry event
event and pinging is done by forcing an immediate expiry event on
Counter 0.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
2019-01-21 11:39:49 +01:00
..
adc dm: adc: add uclass's mask and conversion helpers 2018-11-20 12:35:25 -05:00
ata scsi: ceva: add ls2080a soc support 2018-12-06 14:38:03 -08:00
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Increase cache element size 2019-01-15 15:28:53 -05:00
board drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
clk clk: MediaTek: bind ethsys reset controller 2019-01-14 17:43:18 -05:00
core drivers: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
cpu cpu: Add a RISC-V CPU driver 2018-12-18 09:56:26 +08:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr drivers: ddr: introduce DDR driver for i.MX8M 2019-01-01 14:12:18 +01:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: nand: Add missing dependency on CMD_MTDPARTS 2018-11-13 18:53:10 +05:30
dma dma: add bcm6348-iudma support 2018-12-19 15:23:00 +01:00
fastboot drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
firmware firmware: psci: introduce SPL_ARM_PSCI_FW 2018-12-12 12:14:25 -05:00
fpga arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table 2018-12-20 17:12:25 +01:00
gpio mips: gpio: mscc: Obsoleted gpio-mscc-bitbang-spi.c 2019-01-16 13:56:43 +01:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
input input: i8042: Use remove() instead of exported functions 2018-12-05 06:01:35 -07:00
led dm: led: move default state support in led uclass 2018-08-10 10:27:32 -04:00
mailbox drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc Add TFA boot flow for more boards 2019-01-18 23:11:51 -05:00
mmc Kconfig: Migrate BOUNCE_BUFFER 2019-01-19 09:49:26 -05:00
mtd mtd: nand: raw: allow to disable unneeded ECC layouts 2019-01-16 16:14:45 -05:00
net Add TFA boot flow for more boards 2019-01-18 23:11:51 -05:00
nvme blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci pci: layerscape: Add the dts fixup for EP and RC 2019-01-17 13:17:40 -08:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: omap_usb2: Add support for am437x 2018-12-14 17:59:09 +01:00
pinctrl pinctrl: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
power power: regulator: Allow PWM regulator to be omitted from SPL. 2019-01-02 22:38:09 +01:00
pwm pwm: sunxi: choose best prescaler to improve PWM resolution 2018-10-24 21:57:16 +05:30
qe drivers: qe: add TFABOOT support 2018-12-06 14:37:51 -08:00
ram rockchip: ram: update license for sdram driver 2019-01-02 22:37:10 +01:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset reset: MedaiTek: add reset controller driver for MediaTek SoCs 2019-01-14 17:43:18 -05:00
rtc rtc: m41t62: Convert the RTC driver to support the driver model (DM) 2018-12-03 10:44:10 -05:00
scsi blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
serial Fix recent changes to serial API for driver model 2019-01-15 22:05:34 -05:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound dm: sound: Use the correct number of channels for sound 2018-12-13 16:37:10 -07:00
spi mips: spi: mscc: Add fast bitbang SPI driver 2019-01-16 13:56:43 +01:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset sandbox: sysreset: Update to support power-on reset 2018-12-05 06:01:34 -07:00
tee tee: change return code for REE FS supplicant cmd 2018-12-15 11:49:19 -05:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: Add generic driver for RISC-V privileged architecture defined timer 2018-12-18 09:56:26 +08:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
usb dm: usb: gadget: Fix boot breakage on sunxi platforms 2019-01-10 18:53:03 +01:00
video video: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
virtio virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog watchdog: armada_37xx: Fix compliance with kernel's driver 2019-01-21 11:39:49 +01:00
Kconfig dm: Add Hardware Spinlock class 2018-12-06 23:26:32 -05:00
Makefile Kconfig: rename CONFIG_SPL_USB_GADGET_SUPPORT as CONFIG_SPL_USB_GADGET 2019-01-10 18:52:55 +01:00