On Tue, Mar 05, 2013 at 08:32:11AM +0400, Alexander Shiyan wrote:
> > On Tue, Mar 05, 2013 at 12:10:02AM +0400, Alexander Shiyan wrote:
> > > > For making the same binary executable on different SoCs which have
> > > > different DRAM addresses we have to be independent of the compile
> > > > time l
> On Tue, Mar 05, 2013 at 12:10:02AM +0400, Alexander Shiyan wrote:
> > > For making the same binary executable on different SoCs which have
> > > different DRAM addresses we have to be independent of the compile
> > > time link address.
> > >
> > > This patch adds relocatable binary support for t
Hi,
On Mon, Mar 04, 2013 at 11:13:49AM +0100, Sascha Hauer wrote:
> A command can only be one of NAND_*, so use an enumeration instead
> of a bitmask.
>
> Signed-off-by: Sascha Hauer
> ---
> commands/nand.c | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git
Cc: Rob Herring
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
---
Hi,
depends on boot sequence support
Best Regards,
J.
arch/arm/boards/highbank/env/boot/ahci | 21 +
arch/arm/boards/highbank/env/boot/mmc | 21 +
arch/arm/boards/hi
On 09:20 Fri 22 Feb , Sascha Hauer wrote:
> From: Jean-Christophe PLAGNIOL-VILLARD
>
> This allows to boot a sequence of boot entries until one succeeds.
>
> boot sources can be passed in $global.boot.default, which is now treated
> as a list. Also a list of boot entries can be specified as
Hi George,
On Sat, Mar 02, 2013 at 09:47:44AM -0800, George Pontis wrote:
> I'm interested to update my bsp to use the new environment. I am not finding
> any info that describe the structure or how it is intended to be configured
> and used. Can someone provide a pointer to something, or write a
Hi,
On Mon, Mar 04, 2013 at 09:03:09PM +0100, Sascha Hauer wrote:
> For making the same binary executable on different SoCs which have
> different DRAM addresses we have to be independent of the compile
> time link address.
>
> This patch adds relocatable binary support for the ARM architecture.
ping
On 12:35 Sat 16 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> ---
> fs/devfs.c | 70
> ++
> include/driver.h |1 +
> 2 files changed, 71 insertions(+)
>
> diff --git a/fs
Hi,
On Mon, Mar 04, 2013 at 09:03:04PM +0100, Sascha Hauer wrote:
> When we have multi cpu support compiled in we need the cpu architecture
> early so that we can pick the correct cacheflush function. Make it available
> as static inline function and add a comment above it that this function
> nor
Sascha Hauer wrote:
> [...]
> +static int do_imx_nand_bbm(int argc, char *argv[])
> +{
> + int opt, ret;
> + struct cdev *cdev;
> + struct mtd_info *mtd;
> + int yes = 0;
> + void *bbt;
> +
> + while ((opt = getopt(argc, argv, "y")) > 0) {
> + switch (opt) {
> +
Sascha Hauer wrote:
> [...]
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -1688,6 +1688,23 @@ static int mtd_set_erasebad(struct device_d *dev,
> struct param_d *param, return 0;
> }
>
> +static const char *mtd_get_bbt_type(struct device_d *dev, struct param_d
*p)
On Tue, Mar 05, 2013 at 12:10:02AM +0400, Alexander Shiyan wrote:
> > For making the same binary executable on different SoCs which have
> > different DRAM addresses we have to be independent of the compile
> > time link address.
> >
> > This patch adds relocatable binary support for the ARM archi
> For making the same binary executable on different SoCs which have
> different DRAM addresses we have to be independent of the compile
> time link address.
>
> This patch adds relocatable binary support for the ARM architecture.
> With this two new functions are available. relocate_to_current_ad
Since recently with MMU_EARLY support it may happen that setup_c
runs with data caches enabled, so we have to make sure the caches
are flushed before we jump to the new binary.
Signed-off-by: Sascha Hauer
---
arch/arm/cpu/cache.c | 33 +
arch/arm/cpu/setup
Signed-off-by: Sascha Hauer
---
arch/arm/boards/friendlyarm-tiny210/lowlevel.c | 3 ++-
arch/arm/mach-imx/external-nand-boot.c | 27 +++---
drivers/mtd/nand/nand_s3c24xx.c| 2 +-
3 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/arch/ar
For making the same binary executable on different SoCs which have
different DRAM addresses we have to be independent of the compile
time link address.
This patch adds relocatable binary support for the ARM architecture.
With this two new functions are available. relocate_to_current_adr
will fixup
With relocatable binaries the linker is not able to supply absolute
addresses. These only get available when the relocation function is
being run. Since for early initialization we need some variables
before relocation, we supply them relatively to some known address
in the binary. This means that
With relocatable binaries the vector addresses cannot be supplied by
the linker. This adds support for fixing them up during runtime.
Signed-off-by: Sascha Hauer
---
arch/arm/cpu/exceptions.S | 55 +-
arch/arm/cpu/mmu.c | 2 ++
arch/a
When we have multi cpu support compiled in we need the cpu architecture
early so that we can pick the correct cacheflush function. Make it available
as static inline function and add a comment above it that this function
normally should not be used.
Signed-off-by: Sascha Hauer
---
arch/arm/cpu/c
The following adds relocatable binary support for ARM. This can
be useful when a suitable memory location for the barebox binary
is not known at compile time, for example when compiling for multiple
SoCs.
In most cases enabling this feature will only result in the visible
effect that the binary ge
Two patches for OMAP3. One calls the internal ROM to invalidate
the L2 cache and removes the previously used omap3_invalidate_dcache
function. I don't know exactly what'S going on here, but it makes
the beagle board much more stable. In earlier days this was not
needed, maybe because we didn't enab
Code taken from U-Boot. This makes the beagle board much more
reliable.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/beagle/lowlevel.c | 2 -
arch/arm/boards/omap343xdsp/lowlevel.c | 2 -
arch/arm/mach-omap/Makefile | 4 +-
arch/arm/mach-omap/auxc
When the board is booted from NAND we have to setup the iomux to
make the SD card work. Unfortunately this still is not enough :(
The SD card still will only work when booting from it.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/beagle/lowlevel.c | 11 +++
1 file changed, 11 insertio
On 3 March 2013 03:25, Lucas Stach wrote:
> Am Freitag, den 01.03.2013, 14:17 +0100 schrieb Jean-Christophe
> PLAGNIOL-VILLARD:
>> On 10:22 Fri 01 Mar , Lucas Stach wrote:
>> > The address map is specific to the Tegra20 SoC. Move it to a
>> > file with an appropriate name. While at it clarify
On Mon, Mar 04, 2013 at 08:28:35PM +0100, Sascha Hauer wrote:
> On Mon, Mar 04, 2013 at 08:25:49PM +0100, Alexander Aring wrote:
> > On Mon, Mar 04, 2013 at 08:16:17PM +0100, Sascha Hauer wrote:
> > > On Mon, Mar 04, 2013 at 08:05:29PM +0100, Jean-Christophe
> > > PLAGNIOL-VILLARD wrote:
> > > > O
On Mon, Mar 04, 2013 at 08:25:49PM +0100, Alexander Aring wrote:
> On Mon, Mar 04, 2013 at 08:16:17PM +0100, Sascha Hauer wrote:
> > On Mon, Mar 04, 2013 at 08:05:29PM +0100, Jean-Christophe PLAGNIOL-VILLARD
> > wrote:
> > > On 17:00 Mon 04 Mar , Sascha Hauer wrote:
> > > > Without it fields o
On Mon, Mar 04, 2013 at 08:16:17PM +0100, Sascha Hauer wrote:
> On Mon, Mar 04, 2013 at 08:05:29PM +0100, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 17:00 Mon 04 Mar , Sascha Hauer wrote:
> > > Without it fields of ehci_data may be unitialized and the driver
> > > crashes.
> > >
> > > S
On Mon, Mar 04, 2013 at 08:05:29PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> On 17:00 Mon 04 Mar , Sascha Hauer wrote:
> > Without it fields of ehci_data may be unitialized and the driver
> > crashes.
> >
> > Signed-off-by: Sascha Hauer
> > ---
> > drivers/usb/host/ehci-hcd.c |2
On 4 March 2013 21:09, Lucas Stach wrote:
> Am Sonntag, den 03.03.2013, 11:07 +0400 schrieb Antony Pavlov:
>> On 3 March 2013 03:13, Lucas Stach wrote:
>> > Am Freitag, den 01.03.2013, 18:23 +0100 schrieb Sascha Hauer:
>> >> On Fri, Mar 01, 2013 at 10:22:52AM +0100, Lucas Stach wrote:
>> >> > Rep
On 17:00 Mon 04 Mar , Sascha Hauer wrote:
> Without it fields of ehci_data may be unitialized and the driver
> crashes.
>
> Signed-off-by: Sascha Hauer
> ---
> drivers/usb/host/ehci-hcd.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c
Am Sonntag, den 03.03.2013, 11:07 +0400 schrieb Antony Pavlov:
> On 3 March 2013 03:13, Lucas Stach wrote:
> > Am Freitag, den 01.03.2013, 18:23 +0100 schrieb Sascha Hauer:
> >> On Fri, Mar 01, 2013 at 10:22:52AM +0100, Lucas Stach wrote:
> >> > Replace the ad-hoc clocksource implementation with a
Without it fields of ehci_data may be unitialized and the driver
crashes.
Signed-off-by: Sascha Hauer
---
drivers/usb/host/ehci-hcd.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 0c789e4..7c389aa 100644
---
Hi Sascha,
On Mon, Mar 04, 2013 at 10:53:16AM +0100, Sascha Hauer wrote:
> Add a helper to set the initrd properties in the unflattened tree.
>
> Signed-off-by: Sascha Hauer
> ---
> drivers/of/base.c | 39 +++
> include/of.h |3 +++
> 2 files chang
While erasing bad blocks is a potentially dangerous operation
it is sometimes needed during development or when some foreign
code has touched the flash.
This patch adds a device parameter 'erasebad' to allow erasing
bad blocks. Since this is not wanted during production this is
behind a Kconfig op
To sync with the kernel.
Signed-off-by: Sascha Hauer
---
drivers/mtd/nand/atmel_nand.c |2 +-
drivers/mtd/nand/nand_bbt.c |4 ++--
drivers/mtd/nand/nand_imx.c |2 +-
drivers/mtd/nand/nand_s3c24xx.c |2 +-
drivers/mtd/nand/nand_write.c |2 +-
include/linux/mtd/bbm.
With 2k NAND flashes the data layout in memory is not what is
written on the flash device. This leads to the result that the
factory provided bad block markers are not recognized correctly.
To preserve the factory bad block information the i.MX NAND driver
will not scan for the bad blocks itself w
The information which kind of bbt (if any) is used is hidden somewhere
in the NAND layer. Expose it to a device parameter to make it detectable
and visible during runtime.
Signed-off-by: Sascha Hauer
---
drivers/mtd/nand/nand_base.c | 19 +++
1 file changed, 19 insertions(+)
d
This allows us to have some NAND specific stuff during registration,
like for example adding NAND specific device parameters.
Signed-off-by: Sascha Hauer
---
drivers/mtd/nand/atmel_nand.c |2 +-
drivers/mtd/nand/nand_base.c | 11 +++
drivers/mtd/nand/nand_imx.c |
Allo subcommands need at least one nonopt arg, so check for
it right after parsing the options and drop the check in the
MARKBAD command.
Signed-off-by: Sascha Hauer
---
commands/nand.c | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/comman
This file is present in current kernels. In order to get closer
to current mtd support introduce it for barebox aswell.
Signed-off-by: Sascha Hauer
---
include/linux/mtd/bbm.h | 86 ++
include/linux/mtd/nand.h | 77 +++-
A command can only be one of NAND_*, so use an enumeration instead
of a bitmask.
Signed-off-by: Sascha Hauer
---
commands/nand.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/commands/nand.c b/commands/nand.c
index d00845f..79f6735 100644
--- a/commands/nand.
This series contains some NAND related updates.
First an option is introduced to allow erasing bad blocks. While
this is a dangerous operation it is needed during development or
when some foreign flash driver has touched the NAND. The option
is hidden behind a Kconfig option and must be enabled ex
Signed-off-by: Sascha Hauer
---
commands/nand.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/commands/nand.c b/commands/nand.c
index f000142..d00845f 100644
--- a/commands/nand.c
+++ b/commands/nand.c
@@ -36,7 +36,8 @@
static int do_nand(int argc, char *argv[
Signed-off-by: Sascha Hauer
---
drivers/mtd/nand/nand_imx.c |7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index d056c7c..22bdb74 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -1192,13 +1192,6
Signed-off-by: Sascha Hauer
---
drivers/of/Makefile |2 +-
drivers/of/base.c | 372 ---
drivers/of/dtb.c| 401 +++
3 files changed, 402 insertions(+), 373 deletions(-)
create mode 100644 drive
Signed-off-by: Sascha Hauer
---
common/memory.c | 25 ++---
1 file changed, 6 insertions(+), 19 deletions(-)
diff --git a/common/memory.c b/common/memory.c
index 1d2e3a3..61cca0d 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -164,19 +164,6 @@ int release_sdram_regio
Signed-off-by: Sascha Hauer
---
common/oftree.c |8 ++-
drivers/of/base.c | 180 -
include/of.h |6 +-
3 files changed, 162 insertions(+), 32 deletions(-)
diff --git a/common/oftree.c b/common/oftree.c
index 82e5ddd..555aa0b 100
Signed-off-by: Sascha Hauer
---
arch/arm/boards/at91sam9x5ek/hw_version.c | 31 +++--
arch/arm/boards/highbank/init.c | 33 +-
arch/ppc/mach-mpc5xxx/cpu.c | 26 +++
common/memory.c | 48 ++--
com
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 160 +
include/of.h |2 +-
2 files changed, 127 insertions(+), 35 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 4dbe11e..8bb80e6 100644
--- a/drivers/of/base.
Signed-off-by: Sascha Hauer
---
drivers/of/dtb.c | 65 ++
include/of.h | 10 +
2 files changed, 75 insertions(+)
diff --git a/drivers/of/dtb.c b/drivers/of/dtb.c
index 3867128..856b591 100644
--- a/drivers/of/dtb.c
+++ b/drivers
In order to be able to handle multiple devicetrees, do not assume
the tree to be unflattened is the barebox internal one. Instead,
just return a pointer to it and assign the barebox internal root_node
external to the unflatten function.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/highbank/in
This makes it possible to modify the tree in the handlers.
This is necessary because the initrd addresses are only
known inside the handlers, but not to the generic bootm
code.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c|8 ++--
arch/ppc/Kconfig|1 +
arch/ppc/lib
With this every devicetree is first converted to the barebox internal
format before it's converted back to dtb again.
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c | 10 +-
commands/bootm.c |9 -
common/oftree.c | 19 +--
include/of.h
OFDEVICE decides whether or not we compile in support for probing
devices from the devicetree. Let the user decide this explicitly.
This makes the oftree, of_node and of_property commands independent
of devicetree device support since being able to manipulate
devicetrees has nothing to do with prob
Signed-off-by: Sascha Hauer
---
drivers/of/base.c |6 +++---
include/of.h |2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index ada3fc1..d22031f 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -96,7 +96,7 @@ static
Now that we are completely independent of libfdt remove the unused
code.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/at91sam9m10ihd/hw_version.c |1 -
arch/arm/boards/at91sam9x5ek/hw_version.c |1 -
arch/arm/boards/highbank/init.c |3 +-
arch/arm/boards/sama5d3xek/h
Signed-off-by: Sascha Hauer
---
arch/arm/lib/armlinux.c |2 --
arch/arm/lib/bootm.c| 11 +++-
common/oftree.c | 66 ---
3 files changed, 10 insertions(+), 69 deletions(-)
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armli
Add a helper to set the initrd properties in the unflattened tree.
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 39 +++
include/of.h |3 +++
2 files changed, 42 insertions(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 721db29..
The counterpart to of_read_number: Write a 32bit or 64bit
number to a devicetree.
Signed-off-by: Sascha Hauer
---
include/of.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/of.h b/include/of.h
index 63c99b2..6154490 100644
--- a/include/of.h
+++ b/include/of.h
@@ -96
Signed-off-by: Sascha Hauer
---
drivers/of/base.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 9f9d9a0..5891138 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -677,8 +677,10 @@ struct property *of_new_property(
Without compiled in devicetree support we used to copy the
concatenated devicetree directly behind the zImage. This is
unnecessary, even if we do not have devicetree support we can
copy the devicetree whereever we like and pass the kernel a
pointer to it. This makes the code a bit easier.
While at
Signed-off-by: Sascha Hauer
---
include/of.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/include/of.h b/include/of.h
index eeea016..85adc80 100644
--- a/include/of.h
+++ b/include/of.h
@@ -72,6 +72,9 @@ int of_match(struct device_d *dev, struct driver_d *drv);
int of_add_initrd(str
Whether or not the user wishes devicetree probe support can
now be decided indepentently of the oftree command, so retire
the CMD_OFTREE_PROBE option and use OFDEVICE in the code instead.
Signed-off-by: Sascha Hauer
---
commands/Kconfig |7 ---
commands/oftree.c |2 +-
2 files chang
Signed-off-by: Sascha Hauer
---
commands/of_node.c |3 +++
commands/of_property.c |3 +++
2 files changed, 6 insertions(+)
diff --git a/commands/of_node.c b/commands/of_node.c
index 2f6ecae..171ea2c 100644
--- a/commands/of_node.c
+++ b/commands/of_node.c
@@ -54,6 +54,9 @@ static int
Signed-off-by: Sascha Hauer
---
commands/oftree.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/commands/oftree.c b/commands/oftree.c
index 83ffe12..612d01a 100644
--- a/commands/oftree.c
+++ b/commands/oftree.c
@@ -156,7 +156,14 @@ static int do_oftree(int
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 25 +
include/of.h | 11 +++
2 files changed, 36 insertions(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index b9db261..9f9d9a0 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -350,6 +
Signed-off-by: Sascha Hauer
---
drivers/of/Kconfig |4
lib/Kconfig|4
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 95f10d0..5e53d25 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -1,2 +1,6 @@
+c
This makes of_find_node_by_path usable with multiple trees.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/highbank/init.c |2 +-
commands/of_node.c |2 +-
commands/of_property.c | 10 --
commands/oftree.c | 10 +-
drivers/of/base.
Now that we use the unflattened tree in bootm we can use of_print_nodes
instead of printing the flattened tree.
Signed-off-by: Sascha Hauer
---
commands/bootm.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/commands/bootm.c b/commands/bootm.c
index 38233e7..65a75e2
the of_property command crashes when an empty property value
was given. This is because xrealloc is called with a length
argument of 0. Fix this.
Signed-off-by: Sascha Hauer
---
commands/of_property.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/commands/of_pr
Using OFDEVICE is a basic decision, so move it to the top
of the driver menu.
Signed-off-by: Sascha Hauer
---
drivers/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/Kconfig b/drivers/Kconfig
index 16ca5b9..b213849 100644
--- a/drivers/Kconfig
+++ b/drivers
Signed-off-by: Sascha Hauer
---
include/libfdt_env.h |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index e83aa96..6486187 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -3,13 +3,12 @@
#include
#inc
Signed-off-by: Sascha Hauer
---
commands/of_node.c | 27 ++-
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/commands/of_node.c b/commands/of_node.c
index a370e26..bf9799c 100644
--- a/commands/of_node.c
+++ b/commands/of_node.c
@@ -39,6 +39,7 @@ static i
Signed-off-by: Sascha Hauer
---
include/of.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/include/of.h b/include/of.h
index 3305f03..d780dcf 100644
--- a/include/of.h
+++ b/include/of.h
@@ -121,6 +121,9 @@ int of_get_named_gpio(struct device_node *np,
struct device_node *of_find_nod
Add functions to create a new device node and to create/set
a new property based on the nodepath.
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 79 +
include/of.h |3 ++
2 files changed, 82 insertions(+)
diff --git a/drivers/o
of_find_child is a useful function. Export it and rename it to
of_find_child_by_name.
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 16 +++-
include/of.h |2 ++
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
inde
The allnodes list makes it hard to handle multiple devicetrees. Having
a list to iterate over all nodes of a tree is still good to have though.
This patch uses the list_head of the root node as the head of the list.
This way the root node is no longer part of the list, but when iterating
over a tre
In the beginning we only had libfdt to handle devicetrees. With
devicetree probing support we gained two parallel universes for
handling devicetrees. This series cleans this up by switching to
the internal devicetree completely and removing libfdt.
The dtb format is now only used while flattening/
of_find_node_by_path iterates over the allnodes list. Depending on
where the node we look for is, this can be significantly slower than
using the tree structure to look for a node, so iterate over the tree
instead.
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 37
Signed-off-by: Sascha Hauer
---
arch/arm/lib/bootm.c |8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index dc29004..cf192cf 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -181,13 +181,7 @@ static int do_boo
Signed-off-by: Sascha Hauer
---
drivers/of/base.c |5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 86dca6a..01d4e4f 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -932,10 +932,8 @@ int of_unflatten_dtb(struct fdt_hea
By doing so of_new_node does not depend on the global root_node
anymore.
Signed-off-by: Sascha Hauer
---
drivers/of/base.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index fd9b8e1..d134f1e 100644
--- a/drivers/of
Hi All,
We have a march release. It's one of the bigger releases (257 non merge
patches)
Have fun!
Sascha
Alexander Aring (5):
remap_range: make function 'remap_range' global
arm-mmu: move PAGE_ALIGN macro to common.h
On Fri, Feb 22, 2013 at 01:44:14PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Applied, thanks
Sascha
> ---
> arch/arm/boards/freescale-mx6-sabresd/Makefile |7 +++
> arch/arm/boards/highbank/Makefile |3 +--
> arch
On Tue, Feb 26, 2013 at 05:55:41PM +0100, Maxime Ripard wrote:
> get_ram_size cannot be used when running from RAM at the moment, even
> though it backs up the memory cells it modifies, since it can also
> modify the get_ram_size function itself.
>
> Avoid testing the memory area where barebox is
85 matches
Mail list logo