Patchwork [U-Boot,1/2] fdt: add prototype for fdt_increase_size()

login
register
mail settings
Submitter Timur Tabi
Date May 3, 2011, 6:35 p.m.
Message ID <1304447711-14467-1-git-send-email-timur@freescale.com>
Download mbox | patch
Permalink /patch/93878/
State Accepted
Commit b3606f141e56df972b5caf5e2316d652f0089ee6
Delegated to: Jerry Van Baren
Headers show

Comments

Timur Tabi - May 3, 2011, 6:35 p.m.
Add a prototype for fdt_increase_size() so that anyone can call it.

Signed-off-by: Timur Tabi <timur@freescale.com>
---
 include/fdt_support.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Kumar Gala - July 14, 2011, 1:32 p.m.
On May 3, 2011, at 1:35 PM, Timur Tabi wrote:

> Add a prototype for fdt_increase_size() so that anyone can call it.
> 
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> include/fdt_support.h |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

Jerry,

Any comments on this?

- k
Jerry Van Baren - July 14, 2011, 1:49 p.m.
Hi Kumar, Timur,

On 07/14/2011 09:32 AM, Kumar Gala wrote:
>
> On May 3, 2011, at 1:35 PM, Timur Tabi wrote:
>
>> Add a prototype for fdt_increase_size() so that anyone can call it.
>>
>> Signed-off-by: Timur Tabi<timur@freescale.com>
>> ---
>> include/fdt_support.h |    1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> Jerry,
>
> Any comments on this?
>
> - k

I put it in my todo list on patchworks.

gvb
Jerry Van Baren - July 15, 2011, 2:57 a.m.
On 05/03/2011 02:35 PM, Timur Tabi wrote:
> Add a prototype for fdt_increase_size() so that anyone can call it.
>
> Signed-off-by: Timur Tabi<timur@freescale.com>
> ---
>   include/fdt_support.h |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)

Applied to u-boot-fdt.

Thanks,
gvb

Patch

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);