u-boot/arch/mips
Stefan Roese ccd063e981 watchdog: Move watchdog_dev to data section (BSS may not be cleared)
This patch moves all instances of static "watchdog_dev" declarations to
the "data" section. This may be needed, as the BSS may not be cleared
in the early U-Boot phase, where watchdog_reset() is already beeing
called. This may result in incorrect pointer access, as the check to
"!watchdog_dev" in watchdog_reset() may not be true and the function
may continue to run.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: "Marek Behún" <marek.behun@nic.cz>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu100)
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
2019-04-08 09:21:39 -04:00
..
cpu linker: Modify linker scripts to be more generic 2019-01-26 22:55:53 -05:00
dts mips: add missing dtb-y to arch/mips/dts/Makefile 2019-03-22 12:15:12 -04:00
include/asm mips: Add SPL header 2018-12-19 15:23:01 +01:00
lib MIPS: cache: remove config option CONFIG_SYS_MIPS_CACHE_MODE 2018-09-22 21:04:10 +02:00
mach-ath79 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-bmips bmips: swapping IO space isn't required 2018-12-10 18:46:45 +01:00
mach-jz47xx MIPS: jz47xx: remove custom u-boot-spl.lds 2019-01-16 13:56:43 +01:00
mach-mscc MSCC: Add board support for Serval SoC family. 2019-01-23 18:28:09 +01:00
mach-mt7620 watchdog: Move watchdog_dev to data section (BSS may not be cleared) 2019-04-08 09:21:39 -04:00
mach-pic32 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
config.mk MIPS: fix linking of standalone programs 2018-11-18 16:02:23 +01:00
Kconfig mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
Makefile mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
Makefile.postlink SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00