public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V3 0/5] imx: Define common routines to set cpu and board environment variables
@ 2013-11-17 17:17 Eric Nelson
  2013-11-17 17:17 ` [U-Boot] [PATCH V3 1/5] i.MX5x: define cpu_type() to return processor portion of cpu rev Eric Nelson
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Eric Nelson @ 2013-11-17 17:17 UTC (permalink / raw)
  To: u-boot

This series adds support for two environment variables that are
useful for use in scripting startup of an O/S in general, and
specifically in computing DTB names.

Patches 1 and 2 implement the feature through arch_misc_init(), but
don't enable it.

Patch 3 overrides board_name for the nitrogen6x board file, which is
used for both Nitrogen6X and SABRE Lite boards.

Patch 4 enables the feature for nitrogen6x

Patch 5 enables the feature for Freescale mx6*sabre* boards

V3 reworks things completely based on feedback from the mailing list.
In particular:

--	the variable names were changes from "cpu" and "board" to
	"imx_type" and "board_name"
--	the arch_misc_init() routine was added
--	SABRE Lite environment was changed to use the feature

Eric Nelson (5):
  i.MX5x: define cpu_type() to return processor portion of cpu rev.
  imx: Define common routines to set cpu and board environment variables
  i.MX6: nitrogen6x/sabrelite: override set_board_name()
  i.MX6: nitrogen6x/sabrelite: initialize imx_type and board_name values
  i.MX6: mx6*sabre*: initialize imx_type and board_name values

 arch/arm/imx-common/cpu.c                 | 24 ++++++++++++++++++++++--
 arch/arm/include/asm/arch-mx5/sys_proto.h |  4 ++++
 board/boundary/nitrogen6x/nitrogen6x.c    | 14 +++++++++++++-
 include/configs/mx6sabre_common.h         |  1 +
 include/configs/nitrogen6x.h              |  9 ++++++++-
 5 files changed, 48 insertions(+), 4 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-11-19  9:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 17:17 [U-Boot] [PATCH V3 0/5] imx: Define common routines to set cpu and board environment variables Eric Nelson
2013-11-17 17:17 ` [U-Boot] [PATCH V3 1/5] i.MX5x: define cpu_type() to return processor portion of cpu rev Eric Nelson
2013-11-17 19:24   ` Marek Vasut
2013-11-18 10:42   ` Stefano Babic
2013-11-19  3:25     ` Eric Nelson
2013-11-19  9:12       ` Stefano Babic
2013-11-17 17:17 ` [U-Boot] [PATCH 2/5] imx: Define common routines to set cpu and board environment variables Eric Nelson
2013-11-17 17:17 ` [U-Boot] [PATCH 3/5] i.MX6: nitrogen6x/sabrelite: override set_board_name() Eric Nelson
2013-11-18 10:57   ` Stefano Babic
2013-11-19  3:40     ` Eric Nelson
2013-11-19  9:02       ` Stefano Babic
2013-11-17 17:17 ` [U-Boot] [PATCH 4/5] i.MX6: nitrogen6x/sabrelite: initialize imx_type and board_name values Eric Nelson
2013-11-17 17:17 ` [U-Boot] [PATCH 5/5] i.MX6: mx6*sabre*: " Eric Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox