mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'

The DRAM initialization, after SPL has complete, is exactly the same
for all mxs SoCs so we should name it accordinly.

The following boards has been changed:

 * apx4devkit
 * m28evk
 * mx28evk
 * sc_sps_1

Series-to: u-boot
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
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>
MX28: config: Allow different target generation in elftosb call

The elftosb call needs to use a target param specific for i.MX28. This
patch allow for later addition of i.MX233.

Series-changes: 2
- move u-boot.bd to u-boot-imx28.bd
- fix Makefile according

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX28: Move "regs-base.h" include after SoC type configuration

For i.MX233 addition the base registers need to be change so the SoC
definition needs to be known before the header include.

The following boards has been changed:

 * apx4devkit
 * m28evk
 * mx28evk
 * sc_sps_1

Series-to: u-boot

Series-version: 2
Series-changes: 2
- no changes

Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Stefano Babic <sbabic@denx.de>
mxs: SPL: Generalize memory initialization

Use a generic 'dram_vals[]' array that has the full initialization
sequence and rename the initialization method so it doesn't has a
frequency on its name.

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 regs-clkctrl-mx23.h

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>
mx28evk: extend default environment

The environment has been based on mx53loco and m28evk but keeping the
possibility to easy change the default console device as Freescale and
mainline kernels differ on the device name.

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

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
patman: Allow for changelog use in first version of a series

When a patchset had a RFC series, a v1 might have a changelog of
changes done since the RFC. The patch changes the range checked for
changelog and allow it to start for version 1.

Series-to: u-boot

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
patman: Do not Cc addresses included in To list

In case an address is listed in the To list, those will be skipped on
Cc list or user might end with a duplicated message.

This fixes the case when a tag points to same address used as series
destination thus avoiding duplicated sending.

Series-to: u-boot
Series-version: 3
Series-changes: 3
- readd try / except block to handle the valid error

Series-changes: 2
- use if 'to' in self: to remove the try block

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