]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
blackfin: The logic of the BF609 macro is opposite.
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 22 Jan 2014 07:43:25 +0000 (15:43 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Fri, 7 Feb 2014 03:18:06 +0000 (11:18 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/cpu/initcode.h

index 1fec7f3d855254a78b4d04579e03651e597b78da..ab7fa45075b24d27dc4b288d9b979da1d9b5b8f6 100644 (file)
@@ -49,7 +49,7 @@ program_async_controller(ADI_BOOT_DATA *bs)
 
        serial_putc('a');
 
-#ifdef __ADSPBF60x__
+#ifndef __ADSPBF60x__
        /* Program the async banks controller. */
 #ifdef EBIU_AMGCTL
        bfin_write_EBIU_AMBCTL0(CONFIG_EBIU_AMBCTL0_VAL);
@@ -74,7 +74,7 @@ program_async_controller(ADI_BOOT_DATA *bs)
 
        serial_putc('c');
 
-#else   /* __ADSPBF60x__ */
+#else  /* __ADSPBF60x__ */
        /* Program the static memory controller. */
 # ifdef CONFIG_SMC_GCTL_VAL
        bfin_write_SMC_GCTL(CONFIG_SMC_GCTL_VAL);
@@ -116,7 +116,7 @@ program_async_controller(ADI_BOOT_DATA *bs)
        bfin_write_SMC_B3ETIM(CONFIG_SMC_B3ETIM_VAL);
 # endif
 
-#endif
+#endif /* __ADSPBF60x__ */
        serial_putc('d');
 }