From patchwork Wed Jan 22 07:45:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sonic Zhang X-Patchwork-Id: 313152 X-Patchwork-Delegate: sonic.adi@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EE5892C008F for ; Wed, 22 Jan 2014 18:54:53 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91DA84B6D3; Wed, 22 Jan 2014 08:54:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NxizcsMtELTH; Wed, 22 Jan 2014 08:54:50 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 83CE64B6BD; Wed, 22 Jan 2014 08:54:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1112C4B6BD for ; Wed, 22 Jan 2014 08:54:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SIbsq5ie+5CA for ; Wed, 22 Jan 2014 08:54:24 +0100 (CET) X-Greylist: delayed 474 seconds by postgrey-1.27 at theia; Wed, 22 Jan 2014 08:54:16 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by theia.denx.de (Postfix) with ESMTPS id 756424B6BC for ; Wed, 22 Jan 2014 08:54:16 +0100 (CET) Received: by mail-pd0-f179.google.com with SMTP id q10so42674pdj.24 for ; Tue, 21 Jan 2014 23:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Vt5cNMw0MbMi3OgIf6tmgJyblVMXSofem43IGTrxqFA=; b=hdDb0BicEycOq0hG2Bf1Yd6X3kA5hQ2U/nNHKUKVPbTgZ41GdDM2WqZuuFcjVgMz5e JH6ylP7uj9YXaZcrxW77NTUQ7aGhdYoYprIbWTclNdoOnNqvDF6FFFhbWX6lu/CvKSdK ebhPCMAKjm2LNvyuzB/NEeEzUm2QY+edRYQQJ5wckSiVF2o51DFx8QIWrNMcD0PEoMP3 JzVc3q7TSvSEniaFFpUkuZEnxPvn9hNZWoJDwVSmSOIl/3ZQKfsXol/RM5HZuEQueQu1 DwuDtIH5zPMX+pUatl8vUNiKQAFCkgiXOkWUaOLMWcap1nX3RZGvINRD9UVVjFVzvO9F raxg== X-Received: by 10.66.163.2 with SMTP id ye2mr67616pab.110.1390376779371; Tue, 21 Jan 2014 23:46:19 -0800 (PST) Received: from localhost.localdomain ([114.91.244.100]) by mx.google.com with ESMTPSA id vx10sm42178590pac.17.2014.01.21.23.46.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 23:46:18 -0800 (PST) From: Sonic Zhang To: u-boot@lists.denx.de Date: Wed, 22 Jan 2014 15:45:59 +0800 Message-Id: <1390376759-26819-1-git-send-email-sonic.adi@gmail.com> X-Mailer: git-send-email 1.7.9.5 Cc: Sonic Zhang , adi-u-boot-devel@lists.sourceforge.net Subject: [U-Boot] [PATCH] blackfin: The logic of the BF609 macro is opposite. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/initcode.h | 6 +++--- 1 file 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'); }