mx53loco: Change default loadaddr to 0x72000000

This allow use of mainline and Freescale BSP Linux kernel with same
environment.

Series-to: u-boot

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx6qsabrelite: Change default loadaddr to 0x12000000

This allow use of mainline and Freescale BSP Linux kernel with same
environment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx6qsabre_common: Change default loadaddr to 0x12000000

This allow use of mainline and Freescale BSP Linux kernel with same
environment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx28evk: Add support to dynamically choose between ftd use or not

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx53loco: Add support to dynamically choose between ftd use or not

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx6qsabrelite: 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>