]> git.sur5r.net Git - u-boot/blobdiff - arch/m68k/cpu/mcf532x/cpu_init.c
nios2: set default cache configuration in start.S
[u-boot] / arch / m68k / cpu / mcf532x / cpu_init.c
index db7ded4782b5daeb279d517268b739e93b9a0333..8d01f5fcf0d62b7cfbab5b33af87bbf8b9a28a3f 100644 (file)
@@ -208,10 +208,10 @@ void cpu_init_f(void)
        scm2_t *scm2 = (scm2_t *) MMAP_SCM2;
        gpio_t *gpio = (gpio_t *) MMAP_GPIO;
        fbcs_t *fbcs = (fbcs_t *) MMAP_FBCS;
+#ifndef CONFIG_WATCHDOG
        wdog_t *wdog = (wdog_t *) MMAP_WDOG;
 
        /* watchdog is enabled by default - disable the watchdog */
-#ifndef CONFIG_WATCHDOG
        out_be16(&wdog->cr, 0);
 #endif