From patchwork Tue May 3 18:35:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timur Tabi X-Patchwork-Id: 93878 X-Patchwork-Delegate: vanbaren@cideas.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 03C7AB6F1E for ; Wed, 4 May 2011 04:36:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B2B282818F; Tue, 3 May 2011 20:36:47 +0200 (CEST) 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 je6vg1M1CifW; Tue, 3 May 2011 20:36:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A608628180; Tue, 3 May 2011 20:36:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 01C5628180 for ; Tue, 3 May 2011 20:36:44 +0200 (CEST) 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 Q3JelI10cBF7 for ; Tue, 3 May 2011 20:36:43 +0200 (CEST) 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 ch1outboundpool.messaging.microsoft.com (ch1outboundpool.messaging.microsoft.com [216.32.181.186]) by theia.denx.de (Postfix) with ESMTPS id 0418E2817C for ; Tue, 3 May 2011 20:36:41 +0200 (CEST) Received: from mail55-ch1-R.bigfish.com (216.32.181.169) by CH1EHSOBE008.bigfish.com (10.43.70.58) with Microsoft SMTP Server id 14.1.225.8; Tue, 3 May 2011 18:36:38 +0000 Received: from mail55-ch1 (localhost.localdomain [127.0.0.1]) by mail55-ch1-R.bigfish.com (Postfix) with ESMTP id DE45612E870B; Tue, 3 May 2011 18:36:37 +0000 (UTC) X-SpamScore: 10 X-BigFish: VS10(z24c7rzzz1202hzz8275bhz2dh2a8h668h839h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail55-ch1 (localhost.localdomain [127.0.0.1]) by mail55-ch1 (MessageSwitch) id 1304447792528179_1407; Tue, 3 May 2011 18:36:32 +0000 (UTC) Received: from CH1EHSMHS012.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242]) by mail55-ch1.bigfish.com (Postfix) with ESMTP id EB2B014900A3; Tue, 3 May 2011 18:35:20 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS012.bigfish.com (10.43.70.12) with Microsoft SMTP Server (TLS) id 14.1.225.8; Tue, 3 May 2011 18:35:13 +0000 Received: from az33smr02.freescale.net (10.64.34.200) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server id 14.1.270.2; Tue, 3 May 2011 13:35:12 -0500 Received: from efes.am.freescale.net (efes.am.freescale.net [10.82.123.3]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id p43IZCV9012233; Tue, 3 May 2011 13:35:12 -0500 (CDT) From: Timur Tabi To: , , Date: Tue, 3 May 2011 13:35:10 -0500 Message-ID: <1304447711-14467-1-git-send-email-timur@freescale.com> X-Mailer: git-send-email 1.7.3.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [U-Boot] [PATCH 1/2] fdt: add prototype for fdt_increase_size() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add a prototype for fdt_increase_size() so that anyone can call it. Signed-off-by: Timur Tabi --- include/fdt_support.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/fdt_support.h b/include/fdt_support.h index ce6817b..7333c0c 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -79,6 +79,7 @@ void ft_pci_setup(void *blob, bd_t *bd); void set_working_fdt_addr(void *addr); int fdt_resize(void *blob); +int fdt_increase_size(void *fdt, int add_len); int fdt_fixup_nor_flash_size(void *blob);