u-boot/drivers
Ruslan Bilovol 87c692cbc1 watchdog: omap_wdt: improve watchdog reset path
Remove busy looping during watchdog reset.
Each polling of W_PEND_WTGR bit ("finish posted
write") after watchdog reset takes 120-140us
on BeagleBone Black board. Current U-Boot code
has watchdog resets in random places and often
there is situation when watchdog is reset
few times in a row in nested functions.
This adds extra delays and slows the whole system.

Instead of polling W_PEND_WTGR bit, we skip
watchdog reset if the bit is set. Anyway, watchdog
is in the middle of reset *right now*, so we can
just return.

This noticeably increases performance of the
system. Below are some measurements on BBB:
 - DFU upload over USB                 15% faster
 - fastboot image upload               3x times faster
 - USB ep0 transfers with 4k packets   20% faster

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Alex Kiernan <alex.kiernan@gmail.com>
2018-03-16 09:42:38 -04:00
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
bios_emulator printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
block SystemACE: Remove 2018-02-13 23:24:22 -05:00
bootcount bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR 2018-02-25 13:41:54 -05:00
clk clk: at91: clk-system: add set/get_rate operations 2018-03-16 07:30:04 -04:00
core libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
cpu dm: cpu: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
crypto libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ddr Revert "drivers/ddr/fsl: Dual-license DDR driver" 2018-02-14 21:34:05 -05:00
demo sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
dfu dfu: tftp: Fix arm64 build warnings 2018-02-21 20:28:15 +01:00
dma Convert CONFIG_APBH_DMA et al to Kconfig 2018-02-08 12:48:11 -05:00
firmware libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
fpga arm: zynq: fpga: Added Kconfig support for CONFIG_FPGA_ZYNQPL 2018-02-28 13:00:25 -05:00
gpio treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
i2c treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
input input: indicate that code page 437 is used 2018-03-05 10:06:05 -05:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mmc Merge git://git.denx.de/u-boot-sunxi 2018-03-14 13:27:14 -04:00
mtd Merge git://git.denx.de/u-boot-spi 2018-03-15 08:27:27 -04:00
net Move CONFIG_PHY_ADDR to Kconfig 2018-03-13 22:36:33 +05:30
nvme Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pinctrl Merge git://git.denx.de/u-boot-sh 2018-03-05 20:24:17 -05:00
power libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pwm rockchip: pwm: convert to use live dt 2018-03-13 18:12:35 +01:00
qe libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ram dm: ram: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
rtc rtc: adding RX8010SJ rtc driver 2018-02-04 12:00:58 +01:00
scsi Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
serial bcm283x_pl011: Flush RX queue after setting baud rate 2018-03-09 12:31:04 -05:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
spi Merge git://git.denx.de/u-boot-spi 2018-03-15 08:27:27 -04:00
spmi spmi: msm: display the PMIC Arb version (debug) 2018-01-15 11:35:37 -05:00
sysreset db410c: replace reset driver with psci 2018-01-15 16:29:03 -05:00
thermal thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
timer timer: stm32: Add timer support for STM32 SoCs family 2018-03-13 21:45:37 -04:00
tpm treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
usb Merge git://git.denx.de/u-boot-sh 2018-03-05 20:24:17 -05:00
video sunxi: video: mark framebuffer as EFI reserved memory 2018-03-09 18:24:49 +01:00
watchdog watchdog: omap_wdt: improve watchdog reset path 2018-03-16 09:42:38 -04:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG 2018-03-05 10:06:05 -05:00