From patchwork Wed Jan 23 13:31:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 214946 X-Patchwork-Delegate: monstr@monstr.eu 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 19AA42C007C for ; Thu, 24 Jan 2013 00:32:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A0FE84A126; Wed, 23 Jan 2013 14:31:59 +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 behCjIV8uDXS; Wed, 23 Jan 2013 14:31:59 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AE29C4A130; Wed, 23 Jan 2013 14:31:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5C16C4A11E for ; Wed, 23 Jan 2013 14:31:37 +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 5YA57ctIinJj for ; Wed, 23 Jan 2013 14:31:35 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by theia.denx.de (Postfix) with ESMTPS id 80C114A12D for ; Wed, 23 Jan 2013 14:31:27 +0100 (CET) Received: by mail-wg0-f41.google.com with SMTP id ds1so2532494wgb.4 for ; Wed, 23 Jan 2013 05:31:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=vK11JsGmF/5lwL67ctGTOOKsO5nrCsmd1DLA1p0x1HM=; b=PU9iC6zHdpK4qe/Ms4T2gBvkUDdvrGI+NFz6yHFSAixPHWtfwSrXD0qgQkW6IR6izo JoYgvy6i+B6S60WcFf+2E+1Mtz0oC+2LyH3j2YR0KoKjZp/0LsEIp7vncp9fFe4InOdb OXmmuib/9L/nydIVWAgQBYhQHf/GJbxaysNa/U8gD3bAHB3XOtXMEqd1FvOS8lKVvCN5 8t5wRjZF7t8GQIl/nDcrmGje4Mija50rZSLKF66hh/OZh7Re9OdnfMvdmoF6GsNtstTT o+kziiG3ZmfcblO8jRf3OimiYyvOw6dd0Y5pIaj+nJrE4Dgxd5Po4oK8KFCKb08MowuV pA8g== X-Received: by 10.180.101.99 with SMTP id ff3mr2583047wib.21.1358947887062; Wed, 23 Jan 2013 05:31:27 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPS id i2sm26820458wiw.3.2013.01.23.05.31.24 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 23 Jan 2013 05:31:26 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Wed, 23 Jan 2013 14:31:13 +0100 Message-Id: <1358947873-3731-4-git-send-email-michal.simek@xilinx.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1358947873-3731-1-git-send-email-michal.simek@xilinx.com> References: <1358947873-3731-1-git-send-email-michal.simek@xilinx.com> X-Gm-Message-State: ALoCoQl7Dt1nKocjJMGaMcgG9kpbh4w8vXLmjAXyhp4fmBxxTJxZEuOktz2Oer2c5eJ7TC/3Ikgr Subject: [U-Boot] [PATCH 4/4] microblaze: Remove FSL support from generic board 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 This code was targetting one specific Microblaze platform configuration which is obsolete and fsl bus isn't used in this way. Signed-off-by: Michal Simek --- .../xilinx/microblaze-generic/microblaze-generic.c | 20 -------------------- include/configs/microblaze-generic.h | 4 ---- 2 files changed, 0 insertions(+), 24 deletions(-) diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c index b75e62c..70f94c1 100644 --- a/board/xilinx/microblaze-generic/microblaze-generic.c +++ b/board/xilinx/microblaze-generic/microblaze-generic.c @@ -53,29 +53,9 @@ int gpio_init (void) return 0; } -#ifdef CONFIG_SYS_FSL_2 -void fsl_isr2 (void *arg) { - volatile int num; - *((unsigned int *)(CONFIG_SYS_GPIO_0_ADDR + 0x4)) = - ++(*((unsigned int *)(CONFIG_SYS_GPIO_0_ADDR + 0x4))); - GET (num, 2); - NGET (num, 2); - puts("*"); -} - -int fsl_init2 (void) { - puts("fsl_init2\n"); - install_interrupt_handler (FSL_INTR_2, fsl_isr2, NULL); - return 0; -} -#endif - void board_init(void) { gpio_init(); -#ifdef CONFIG_SYS_FSL_2 - fsl_init2(); -#endif } int board_eth_init(bd_t *bis) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index eed38c1..d172e56 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -120,10 +120,6 @@ # define CONFIG_SYS_TIMER_0_IRQ XILINX_TIMER_IRQ #endif -/* FSL */ -/* #define CONFIG_SYS_FSL_2 */ -/* #define FSL_INTR_2 1 */ - /* * memory layout - Example * CONFIG_SYS_TEXT_BASE = 0x1200_0000; defined in config.mk