u-boot-brain/drivers
Suniel Mahesh 6912f2a8ae watchdog: omap_wdt: Disable DM watchdog support in SPL
This patch disables DM watchdog support for SPL builds and uses
the legacy omap watchdog driver on TI AM335x chipsets.

The following build error is reported if DM watchdog support was
enabled in SPL:

  CC      spl/drivers/usb/gadget/rndis.o
  LD      spl/drivers/usb/gadget/built-in.o
  LD      spl/drivers/usb/musb-new/built-in.o
  LD      spl/drivers/built-in.o
  LD      spl/u-boot-spl
arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram
arm-linux-ld.bfd: region .sram overflowed by 440 bytes
make[1]: *** [spl/u-boot-spl] Error 1
make: *** [spl/u-boot-spl] Error 2

Adjusted WATCHDOG_RESET macro accordingly. Earlier it was pointing
to hw_watchdog_reset. Since CONFIG_WATCHDOG replaces CONFIG_HW_WATCHDOG,
now WATCHDOG_RESET macro points to watchdog_reset. This watchdog_reset
is not defined anywhere for am33xx/omap2 and needs to be defined. Fixed
this by simply calling hw_watchdog_reset in watchdog_reset.

Built and tested on AM335x device (BeagleboneBlack), compile tested for
all other AM33xx/omap2 based boards.

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
[trini: Fix watchdog.h logic]
Signed-off-by: Tom Rini <trini@konsulko.com>
2019-08-12 13:27:55 -04:00
..
adc adc: stm32: Fix warnings when compiling with W=1 2019-07-12 11:50:55 +02:00
ata ata: fsl_ahci: Add sata DM support for Freescale powerpc socs 2019-05-23 19:53:09 +05:30
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove stray break 2019-08-09 22:24:02 +08:00
block blk: Invalidate block cache when switching hwpart 2019-07-18 11:31:31 -04:00
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
cache dm: cache: add the pl310 cache controller driver 2019-05-05 08:48:50 -04:00
clk clk: renesas: Add R8A77980 V3H clock tables 2019-08-09 23:15:01 +02:00
core dm: device: make power domain calls optional 2019-07-24 12:54:08 -07:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone" 2019-06-11 10:42:48 +02:00
ddr dm: ddr: socfpga: fix gen5 ddr driver to not use bss 2019-07-21 12:45:01 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
dma CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
fastboot fastboot: Remove "bootloader-version" variable 2019-08-08 11:35:02 +02:00
firmware Merge https://gitlab.denx.de/u-boot/custodians/u-boot-socfpga 2019-07-29 09:03:11 -04:00
fpga fpga: altera: cyclon2: Check function pointer before calling 2019-07-30 10:21:15 +02:00
gpio gpio: fixes for gpio-hog support 2019-07-29 09:32:10 -04:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: remove i2c driver-model compatibility layer 2019-07-29 17:58:52 -04:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led led: bcm6858: allow to use this driver on ARCH_963158 2019-04-23 17:57:22 -04:00
mailbox mailbox: introduce stm32-ipcc driver 2019-07-12 11:18:53 +02:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc misc: imx8: add sc_misc_get_temp 2019-07-19 15:16:54 +02:00
mmc mmc: Move tegra loopback disable option to be under tegra 2019-08-09 10:01:34 -07:00
mtd nand: davinci: avoid out of bounds array access 2019-07-31 13:08:07 -04:00
net net: sh_eth: Fix 64bit build warnings 2019-08-09 23:15:01 +02:00
nvme nvme: Fix warning of cast from pointer to integer of different size 2019-05-19 16:17:33 +08:00
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: ensure enumeration of all devices in pci_init 2019-07-12 21:07:58 -04:00
pci_endpoint pci_ep: Fix Coverity warning 2019-08-07 15:31:04 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: Add support for phy-da8xx-usb 2019-08-08 11:35:02 +02:00
pinctrl pinctrl: renesas: Add R8A77980 V3H PFC tables 2019-08-09 23:15:01 +02:00
power Merge branch '2019-07-26-ti-imports' 2019-07-27 19:50:52 -04:00
pwm pwm: imx: add DM_PWM support 2019-07-19 20:14:50 +02:00
qe configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig 2019-05-26 14:40:50 -04:00
ram rockchip: ram: add full feature rk3328 DRAM driver 2019-08-05 21:14:45 +08:00
remoteproc remoteproc: k3_rproc: Rename to ti_k3_arm64_rproc 2019-07-26 21:49:25 -04:00
reset sysreset: add support for socfpga sysreset 2019-07-21 12:45:10 +02:00
rtc rtc, rx8025: add DM support 2019-07-29 09:32:12 -04:00
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial serial: mxc: Add compatibles to NXP's serial driver (for imx21 and imx53) 2019-07-19 20:32:24 +02:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc soc: keystone: Merge into ti specific directory 2019-04-11 20:07:12 -04:00
sound sound: tegra: Add a sound driver 2019-05-24 10:14:10 -07:00
spi x86: ich-spi: Convert driver to spi-mem ops 2019-08-09 22:24:02 +08:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset spl: kconfig: separate sysreset and firmware drivers from misc 2019-07-21 12:47:13 +02:00
tee test/py: avb: fix test_avb_persistent_values fail 2019-05-09 19:52:55 -04:00
thermal thermal: add i.MX8 thermal driver 2019-07-19 15:17:05 +02:00
timer dm: timer: Skip device that does not have a valid ofnode in pre_probe() 2019-07-24 12:54:08 -07:00
tpm tpm: wait for valid status 2019-07-11 14:11:18 -04:00
usb usb: gadget: f_dfu.c: fix memory leak 2019-08-08 11:35:02 +02:00
video mxc_ipuv3_fb.c: enable a backlight on a panel 2019-07-30 12:58:33 +02: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: omap_wdt: Disable DM watchdog support in SPL 2019-08-12 13:27:55 -04:00
Kconfig drivers: pci_ep: Introduce UCLASS_PCI_EP uclass 2019-07-11 10:05:15 -04:00
Makefile spl: kconfig: separate sysreset and firmware drivers from misc 2019-07-21 12:47:13 +02:00