Skip to content

imx: Define common routines to set cpu and board environment variables

Eric Nelson u-boot 7 versions – New

Get series with b4
b4 am 1384708667-22489-1-git-send-email-eric.nelson@boundarydevices.com

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v2 posting 5/51 patch 0 repliesSuperseded
  3. v2 posting 4/51 patch 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v2 posting 3/51 patch0 repliesSuperseded
v2 posting 2/51 patch0 repliesSuperseded
v2 posting 1/51 patch0 repliesSuperseded
v11 patch0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i.MX5x: define cpu_type() to return processor portion of cpu rev.arch/arm/include/asm/arch-mx5/sys_proto.h+4 -02 replies
1/5i.MX5x: define cpu_type() to return processor portion of cpu rev.+0 -01 reply
2/5imx: Define common routines to set cpu and board environment variablesarch/arm/imx-common/cpu.c+22 -20 replies
3/5i.MX6: nitrogen6x/sabrelite: override set_board_name()board/boundary/nitrogen6x/nitrogen6x.c+13 -11 reply
3/5i.MX6: nitrogen6x/sabrelite: override set_board_name()+0 -01 reply
4/5i.MX6: nitrogen6x/sabrelite: initialize imx_type and board_name valuesinclude/configs/nitrogen6x.h+8 -10 replies
5/5i.MX6: mx6*sabre*: initialize imx_type and board_name valuesinclude/configs/mx6sabre_common.h+1 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [U-Boot] [PATCH V3 0/5] imx: Define common routines to set cpu and board environment variables

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(-)
Signature · 1 line
1.8.1.2