imx: Define common routines to set cpu and board environment variables
Get series with b4
b4 am 1384708667-22489-1-git-send-email-eric.nelson@boundarydevices.comVersions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v2 posting 5/51 patch 0 repliesSuperseded
- v2 posting 4/51 patch 0 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 3/5 | 1 patch | 0 replies | Superseded | |
| v2 posting 2/5 | 1 patch | 0 replies | Superseded | |
| v2 posting 1/5 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | i.MX5x: define cpu_type() to return processor portion of cpu rev.arch/ | +4 | 2 replies | |
| 1/5 | i.MX5x: define cpu_type() to return processor portion of cpu rev. | +0 | 1 reply | |
| 2/5 | imx: Define common routines to set cpu and board environment variablesarch/ | +22 | 0 replies | |
| 3/5 | i.MX6: nitrogen6x/sabrelite: override set_board_name()board/ | +13 | 1 reply | |
| 3/5 | i.MX6: nitrogen6x/sabrelite: override set_board_name() | +0 | 1 reply | |
| 4/5 | i.MX6: nitrogen6x/sabrelite: initialize imx_type and board_name valuesinclude/ | +8 | 0 replies | |
| 5/5 | i.MX6: mx6*sabre*: initialize imx_type and board_name valuesinclude/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
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