Skip to content

RFC switch globalvar to it's own bus

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5globalvar: add it's own buscommon/globalvar.c+13 -00 replies
2/5globalvar: allow to register multiple devicecommon/globalvar.c include/globalvar.h+85 -180 replies
3/5net: switch to global devicenet/net.c+7 -80 replies
4/5dhcp: switch globalvar to it's own devicearch/arm/boards/at91rm9200ek/env/config arch/arm/boards/at91sam9260ek/env/config arch/arm/boards/at91sam9261ek/env/config +11 more+41 -650 replies
5/5bootm: switch globalvar to it's own devicearch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 arch/arm/boards/pcm038/env/boot/nand-ubi commands/bootm.c +3 more+27 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox