[PATCH] bootsource

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 3 02:52:20 EDT 2013


This is a series based on earlier work by Marc. It creates an arch
independent framework for storing/retrieving the bootsource. Changes
to Marcs version are:

- rename (currently i.MX specific) barebox_loc environment variable
  to 'bootsource'
- initialize the bootsource instance to unknown (-1) instead of 0
  which is a valid bootsource instance

Sascha

----------------------------------------------------------------
Marc Kleine-Budde (3):
      bootsource: create arch independent bootsource framework
      bootsource: use initcall to export bootsource location to environment
      bootsource: add support for bootsource instance information

Sascha Hauer (2):
      ARM: i.MX: rename barebox_loc to bootsource
      ARM: i.MX53: Add bootsource instance information

 arch/arm/boards/efika-mx-smartbook/board.c         |  3 +-
 .../boards/efika-mx-smartbook/env/init/bootsource  |  2 +-
 arch/arm/boards/karo-tx53/board.c                  |  3 +-
 arch/arm/boards/pcm038/pcm038.c                    |  3 +-
 arch/arm/mach-imx/boot.c                           | 77 ++++++++-----------
 arch/arm/mach-imx/imx51.c                          |  2 +-
 arch/arm/mach-imx/include/mach/generic.h           | 15 ----
 common/Makefile                                    |  1 +
 common/bootsource.c                                | 86 ++++++++++++++++++++++
 include/bootsource.h                               | 23 ++++++
 10 files changed, 148 insertions(+), 67 deletions(-)
 create mode 100644 common/bootsource.c
 create mode 100644 include/bootsource.h



More information about the barebox mailing list