
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(-)