u-boot/arch/mips/mach-mt7620
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.c watchdog: Move watchdog_dev to data section (BSS may not be cleared) 2019-04-08 09:21:39 -04:00
ddr_calibrate.c mips: Add basic MediaTek MT7620/88 support 2018-09-22 21:18:33 +02:00
Kconfig mips: mt76xx: gardena-smart-gateway: Add board_late_init() to set LED def state 2018-11-18 16:02:23 +01:00
lowlevel_init.S mips: mt76xx: lowlevel_init.S: Add missing memory controller reset in DDR init 2018-11-18 16:02:22 +01:00
Makefile mips: Add basic MediaTek MT7620/88 support 2018-09-22 21:18:33 +02:00
mt76xx.h mips: Add basic MediaTek MT7620/88 support 2018-09-22 21:18:33 +02:00