summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-01-22 15:43:25 +0800
committerSonic Zhang <sonic.zhang@analog.com>2014-02-07 11:18:06 +0800
commitab784696fc4d73d55d0e0776e8bf748d477a1082 (patch)
tree04f5074e059d07b36d5b8fc7d39247d5768adc2d /arch/blackfin
parentdbf3de2dd26cae37d16b00b348828c883b658cc5 (diff)
downloadu-boot-imx-ab784696fc4d73d55d0e0776e8bf748d477a1082.zip
u-boot-imx-ab784696fc4d73d55d0e0776e8bf748d477a1082.tar.gz
u-boot-imx-ab784696fc4d73d55d0e0776e8bf748d477a1082.tar.bz2
blackfin: The logic of the BF609 macro is opposite.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/cpu/initcode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/cpu/initcode.h b/arch/blackfin/cpu/initcode.h
index 1fec7f3..ab7fa45 100644
--- a/arch/blackfin/cpu/initcode.h
+++ b/arch/blackfin/cpu/initcode.h
@@ -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');
}