u-boot/arch/arm/include/asm/arch-mx6
Fabio Estevam 76c91e668a mx6: Disable Power Down Bit of watchdog
On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted
and it is not able to reach the Linux prompt.

Comparing the watchdog behaviour on a revB versus revC board:

- On a mx6qsabresd revB:

U-Boot > reset
resetting ...

U-Boot 2013.01-10524-g432a3aa-dirty (Feb 07 2013 - 13:34:46)

CPU:   Freescale i.MX6Q rev1.1 at 792 MHz
Reset cause: WDOG
...

- On a mx6qsabresd revC:

U-Boot > reset
resetting ...

U-Boot 2013.01-10524-g432a3aa-dirty (Feb 07 2013 - 13:34:46)

CPU:   Freescale i.MX6Q rev1.1 at 792 MHz
Reset cause: POR

So due to revC POR/watchdog circuitry whenever a watchdog occurs, it causes a POR.

Clearing the PDE - Power Down Enable bit of WMCR registers fixes the problem and
is also safe for all mx6 boards.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Stefano Babic <sbabic@denx.de>
2013-02-12 13:54:34 +01:00
..
clock.h mx5/6: Define default SoC input clock frequencies 2012-10-15 11:54:10 -07:00
crm_regs.h i.MX6: define bitfields for CHSCCDR register 2012-10-15 11:54:09 -07:00
gpio.h MX: Set a common gpio.h for all i.MX 2012-09-01 14:58:27 +02:00
imx-regs.h mx6: Disable Power Down Bit of watchdog 2013-02-12 13:54:34 +01:00
iomux.h MX6: drop binary constants from iomux header 2012-09-17 13:17:06 +02:00
mx6dl_pins.h arch-mx6: add mx6dl_pins.h 2012-11-10 08:15:40 +01:00
mx6x_pins.h i.MX6: set drive strength for parallel RGB pads 2012-10-16 12:35:11 +02:00
mxc_hdmi.h i.MX6: add HDMI transmitter register declarations from kernel WIP. 2012-10-16 12:35:11 +02:00
sys_proto.h imx-common: cpu: add imx_ddr_size 2012-11-10 08:15:40 +01:00