From patchwork Tue Nov 5 08:23:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Grinberg X-Patchwork-Id: 288430 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 B74652C0040 for ; Tue, 5 Nov 2013 19:24:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1B9864A227; Tue, 5 Nov 2013 09:24:22 +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 TIub0uDoz51A; Tue, 5 Nov 2013 09:24:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5A62E4A229; Tue, 5 Nov 2013 09:24:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 44A3C4A228 for ; Tue, 5 Nov 2013 09:24:13 +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 x4qhPC9zKGqT for ; Tue, 5 Nov 2013 09:24:08 +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 compulab.co.il (softlayer.compulab.co.il [50.23.254.55]) by theia.denx.de (Postfix) with ESMTPS id E9C384A227 for ; Tue, 5 Nov 2013 09:24:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=zhPgPfJZ1dB2mXQD6/GhOZcRs824C0dq1UA0Cq7ZEc4=; b=EcGaj5WQ5ZMB44LBfic8qdRbhHW3BscdiZ9suiWOzTNeieSfWUCBuZKTT/+9Ayu1LTJ7Pay64NITCf8JRj/8nffBx62sK3QQovhMP1hmnhUSm5qG1Up8aVTm7u4Akyym3Fgcx1YdHsfCTW7VcTxFb1p71xTrxNk1rZU2F4dC0Wo=; Received: from [82.166.188.245] (port=39571 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.80.1) (envelope-from ) id 1Vdbvc-0001sb-8S; Tue, 05 Nov 2013 10:24:00 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 9840864419D; Tue, 5 Nov 2013 10:23:59 +0200 (IST) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EF2nCU724Kjz; Tue, 5 Nov 2013 10:23:59 +0200 (IST) Received: from grinberg-linux (grinberg-pc.compulab.local [10.1.1.13]) by zimbra-mta.compulab.co.il (Postfix) with SMTP id 04B1964419A; Tue, 5 Nov 2013 10:23:59 +0200 (IST) Received: (nullmailer pid 25376 invoked by uid 1000); Tue, 05 Nov 2013 08:23:50 -0000 From: Igor Grinberg To: u-boot@lists.denx.de, Tom Rini Date: Tue, 5 Nov 2013 10:23:40 +0200 Message-Id: <1383639820-25339-1-git-send-email-grinberg@compulab.co.il> X-Mailer: git-send-email 1.8.1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_relayhosts_text_entry: grinberg@compulab.co.il|compulab.co.il Subject: [U-Boot] [PATCH] cm-t35: move the leds code to common place 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 Compulab boards can use the same leds code, so move the leds related code to live under board/compulab/common directory. Signed-off-by: Igor Grinberg Tested-by: Nikita Kiryanov --- Tom, AFAIU the merge window closes on Thursday. Can we please have this patch in for 2014.01? Thanks! Sorry, if anyone gets this message twice... I had a problem with my mailer... board/compulab/cm_t35/Makefile | 2 +- board/compulab/common/Makefile | 1 + board/compulab/{cm_t35 => common}/leds.c | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename board/compulab/{cm_t35 => common}/leds.c (100%) diff --git a/board/compulab/cm_t35/Makefile b/board/compulab/cm_t35/Makefile index 213423e..4b1d591 100644 --- a/board/compulab/cm_t35/Makefile +++ b/board/compulab/cm_t35/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).o -COBJS := cm_t35.o leds.o $(COBJS-y) +COBJS := cm_t35.o $(COBJS-y) SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile index b399c8f..312d955 100644 --- a/board/compulab/common/Makefile +++ b/board/compulab/common/Makefile @@ -16,6 +16,7 @@ LIB = $(obj)lib$(VENDOR).o COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o COBJS-$(CONFIG_LCD) += omap3_display.o +COBJS-$(CONFIG_STATUS_LED) += leds.o COBJS := $(COBJS-y) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) diff --git a/board/compulab/cm_t35/leds.c b/board/compulab/common/leds.c similarity index 100% rename from board/compulab/cm_t35/leds.c rename to board/compulab/common/leds.c