Add redundand env support for MTD_ABSENT
Fix writing environment for mtd devices
Fix typo and update mmc write paramters Signed-off-by: Oliver Metz <ome@iequalize.de>
Add bootsys var to default environment Delete old boot command Fix erase env for redundand environment

Signed-off-by: Oliver Metz <ome@iequalize.de>
Home-Box: propagate board revision to linux

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Home-Box: override revision detection for the moment as it is unreliable

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Home-Box: enable internal pull-up on debug uart RX pin

This should avoid reading NUL characters when no debug uart
is connected (and thus might interrupt the autoboot).

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Introduce a config symbol for SoM

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
mx28: DDR2 ram: TQMa28L SoM needs special handling of this register

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Setup revision pads in board_early_init

Signed-off-by: Oliver Metz <ome@iequalize.de>
Define <c> as boot delay string

Signed-off-by: Oliver Metz <ome@iequalize.de>
Home-Box: do not enable pull-ups for hardware revision detection pins

Trying to enable these pull-ups is nonsense as the i.MX28 has no
pull-ups for this pins. There are only "pad keepers" but with
converse meaning: setting these bits _disables_ the keepers.

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Revert "Home-Box: enable internal pull-up on debug uart RX pin"

This reverts commit 84cca164353a493ae5a2aaa9ebb1d1e79208c86b.

Trying to enable a not existing pull-up on the i.MX28 is nonsense.
In fact, setting this bit disables the pad keepers and results
in collecting garbage from the boards own output.

Signed-off-by: Michael Heimpold <mhe@iequalize.de>
Add support for XZ decompression algorithm.

XZ (aka LZMA2) is the new version of lzma compression format.
The following patch add a cut-down version of XZ Embedded library (v20100702)
that supports only single-call API.

In order to enable XZ support, the CONFIG_XZ must be defined by board
configuration file.

For any details, please refer to XZ Embedded homesite
(http://tukaani.org/xz/embedded.html)

Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lib/xz: adopt API to existing decompressing functions

Existing functions like gunzip or lzop_decompress are returning the
size of the decompressed data via the last argument.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Add new 'unxz' command to u-boot command line

New command "unxz srcaddr srcsize dstaddr" to decompress a memory region
using xz decompression algorithm. Use CONFIG_CMD_UNXZ to enable it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>