[RFC PATCH 0/5] switch globalvar to it's own bus

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Sep 24 11:27:31 EDT 2012


HI,

	The folowing patch serie switch the globalvar to it's onw bus and set
	of device. This will allow to reduce the time spend to search the
	right parameter especially when we have quite a lot's of globalvar.

	In this patch serie not all of the globalvar are converted but some fo
	them

	The one missingis the linux one

The following changes since commit 6392955f283389fa4fecb0e2d5d1837bcb83f480:

  Merge branch 'for-next/testing-menu' into next (2012-09-20 23:11:42 +0200)

are available in the git repository at:


  git://git.jcrosoft.org/barebox.git delivery/globalvar

for you to fetch changes up to b17dcadf3ca3e8ffaa2cfcff69f7a2efef563e31:

  bootm: switch globalvar to it's own device (2012-09-24 11:13:02 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (5):
      globalvar: add it's own bus
      globalvar: allow to register multiple device
      net: switch to global device
      dhcp: switch globalvar to it's own device
      bootm: switch globalvar to it's own device

 arch/arm/boards/at91rm9200ek/env/config                 |    2 +-
 arch/arm/boards/at91sam9260ek/env/config                |    4 ++--
 arch/arm/boards/at91sam9261ek/env/config                |    4 ++--
 arch/arm/boards/at91sam9263ek/env/config                |    2 +-
 arch/arm/boards/at91sam9m10g45ek/env/config             |    2 +-
 arch/arm/boards/at91sam9x5ek/env/config                 |    2 +-
 arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 |    4 ++--
 arch/arm/boards/freescale-mx53-loco/env/config          |    2 +-
 arch/arm/boards/pcm038/env/boot/nand-ubi                |    4 ++--
 arch/arm/boards/qil-a9260/env/config                    |    2 +-
 arch/arm/boards/tny-a926x/env/config                    |    6 +++---
 arch/arm/boards/usb-a926x/env/config                    |    6 +++---
 commands/bootm.c                                        |   24 +++++++++++++++---------
 common/globalvar.c                                      |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------
 defaultenv-2/base/boot/initrd                           |    6 +++---
 defaultenv-2/base/boot/net                              |    4 ++--
 defaultenv-2/base/data/boot-template                    |    6 +++---
 defaultenv-2/base/network/eth0                          |    2 +-
 defaultenv/bin/boot                                     |   12 ++++++------
 defaultenv/config                                       |    2 +-
 include/globalvar.h                                     |   26 ++++++++++++++++++++++++++
 net/dhcp.c                                              |   58 +++++++++++++++++-----------------------------------------
 net/net.c                                               |   15 +++++++--------
 23 files changed, 171 insertions(+), 110 deletions(-)

Best Regards,
J.



More information about the barebox mailing list