arm/km: skip FPGA config when already configured
[oweals/u-boot.git] / board / w7o / watchdog.c
index 3fca5d3f353e461911e988ab51604a118f57daad..131399c9e26fcb2a187ce01a85d2ae412126f319 100644 (file)
@@ -32,7 +32,7 @@
 
 void hw_watchdog_reset(void)
 {
-    volatile ushort *hwd = (ushort *)(CFG_W7O_EBC_PB7CR & 0xfff00000);
+    volatile ushort *hwd = (ushort *)(CONFIG_SYS_W7O_EBC_PB7CR & 0xfff00000);
 
     /*
      * Read the LMG's hwd register and toggle the
@@ -45,4 +45,3 @@ void hw_watchdog_reset(void)
 } /* hw_watchdog_reset() */
 
 #endif /* CONFIG_HW_WATCHDOG */
-