mx53loco: Add support to dynamically choose between ftd use or not

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx6qsabre{auto,sd}: Add support to dynamically choose between ftd use or not

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx53loco: Change default environment to cope with OE changes

OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Series-changes: 2
- no changes

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx6qsabrelite: Change default environment to cope with OE changes

OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Series-changes: 2
- add initrd and fdt info back

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: clock: Use 'mxs' prefix for methods

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: SPL: Only run i.MX28 specific power code on i.MX28 boards

This adds #ifdef / #endif around i.MX28 specific power code to avoid
those to be run in other boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: Check if we are using a valid VBUS for power initialization

Series-to: u-boot
Series-version: 3

Series-changes: 4
- rebase against imx/master

Series-changes: 3
- change short-description prefix

Series-changes: 2
- fix when we have vbus OR vdd5v
- improve patch short description
- add comments

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Add POWER and CLKCTRL register definitions

Add register definitions for the i.MX23 power control block and
clock control block. These are essential for the basic bootstrap
of the i.MX23. Also, properly include them in imx-regs.h .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
mx23: Fix POWER register definitions for PWD_CHARGE_4P2

In U-Boot, for mx28, we use POWER_5VCTRL_PWD_CHARGE_4P2_MASK and
POWER_5VCTRL_PWD_CHARGE_4P2_OFFSET so we adopt same schema in mx23 to
avoid diverging code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Add register base addresses

This adds the base addresses of i.MX23 and easy the detection of wrong
order in board setup, in case no SoC has been set, an error is raised
during build.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Add iomux-mx23.h

This has been copied from Linux source at revision 786f02b719f.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Handle iomux-mx23.h including in sys_proto.h

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: power: Add comment about registers with same offsets

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Add support on print_cpuinfo()

Add information to identify i.MX23 chips and its known revisions.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: Add boot mode description

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: SPL: Add boot mode support

This adds the boot mode support for i.MX23 processors.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: SPL: Initialize DDR at 133MHz

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: config: Enable building of u-boot.sb binary

For i.MX23 we need to pass imx23 as elftosb param.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23: config: Enable mxsboot tool for i.MX23 based boards

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
wip: mx23evk: add board

This adds the i.MX23EVK board support. This board has:

 Processor: Freescale i.MX233
 DRAM: 128MiB

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>